*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #500101;
}
.container{
    width:800px;
    border:13px solid rgb(255, 255, 255);
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0px 3px 10px 0 rgb(0, 0, 0);
}
.images{
    width:100%;
    display: flex;
    position: relative;
    overflow: hidden;
    transition: 1s
}
.images img{
    width: 100%;
}

.images img.active{
    position: absolute;
    top: 0;
    left: 0;
}
.buttons{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
}
.buttons button{
    padding:5px 18px;
    color:White;
    border:none;
    background-color: rgb(112, 2, 2);
    font-size: 20px;
    font-family: cursive;
    border-radius: 10px;
}
.buttons button:hover{
    cursor: pointer;;
}

@media screen and (max-width:840px){
    .container{
        width:640px;
    }
}

@media screen and (max-width:640px){
    .container{
        width:440px;
    }
}

@media screen and (max-width:440px){
    .container{
        width:300px;
    }
}

@media screen and (max-width:300px){
    .container{
        width:100%;
    }
    .buttons button{
        padding:2px 5px;
        font-size: 16px;
    }
}