body {
    background-color: black;
    margin: auto;
    background-color: rgb(245, 232, 217);
}
#logo {
    background:url(.../img) ;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    width: 150px;
    padding-top: 15px;
    padding-left: 5px;

}

.logo-img {
    height: 60px;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 10px;
    filter: drop-shadow(0px 7px 21px #ff0000);

}
.logo-img:hover{
    cursor: pointer;
}

@keyframes rotar{
    from{
        transform: rotate(180deg);
    }
    to{
        transform: rotateY(-180deg)
    }

}
header {
    height: 100vh;
    width: 100%;
}

.slider input:nth-child(1):checked ~ .buttons label:nth-child(1),
.slider input:nth-child(2):checked ~ .buttons label:nth-child(2),
.slider input:nth-child(3):checked ~ .buttons label:nth-child(3)
{
  opacity: 1;
  scroll-margin: 1.2;
  width: 40px;  
}

.content{
    position: relative;
    width: 300vw;
    display: flex;
    transition: 400ms ease-in-out;
}

.firstslide{
    background-image: url(../ima/1.jpg);
    background-repeat: no-repeat;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.secondslide{
    background-image: url(../ima/chausseur-2.jpg);
    background-repeat: no-repeat;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}



.thirdslide{
    background-image: url(../ima/chausseur-3.jpg);
    background-repeat: no-repeat;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

.firstslide{
    background-color: #f5f7b1;
}

.secondslide{
    background-color: rgb(172, 243, 243);
}

.thirdslide{
    background-color: rgb(181, 178, 236);
}

.slider input:nth-child(1):checked ~.content{
    left: 0;
}

.slider input:nth-child(2):checked ~.content{
    left: -100vw;
}

.slider input:nth-child(3):checked ~.content{
    left: -200vw;
}