* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all .5s ease;
    overflow: hidden;
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.642);
}
.container {
    width: 75%;
    position: relative;
}
.container .images {
    /* position: relative; */
    width: 100%;
    height: 470px;
    display: flex;
    transition: all .5s ease;
    border-radius: 10px;
}

.container img {
    width: 100%;
    height: 100%;
}

.btns button {
    position: absolute;
    font-size: 3rem;
    transform: translateY(-50%);
    padding: 1rem .81rem;

    background-color: rgba(255, 255, 255, 0.267);
    color: white;
    cursor: pointer
}

.btns .preview {
    left: -3.7rem;
    /* left: 0; */
    top: 50%;
}

.btns .next {
    right: -3.7rem;

    top: 50%;
}