* {
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Roboto", sans-serif;

}

h2 {
    color: #B29A9F;
}

.logo img {
    width: 60px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-right: 2rem;
    padding-left: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    transition: all .3s;
    background-color: #fff;
    z-index: 99;
}

header.small {
    padding-top: 0;
    padding-bottom: 0;
}

header.small .logo img {
    width: 40px;
}

header.small ul {
    margin: 0;
}

#burger {
    display: none;
}

nav ul {
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 1rem;
    margin-right: 1rem;
}

nav ul li a {
    color: #333;
    text-decoration: none;
}

.hero {
    background-color: #F5F5F5;
    display: flex;
    padding-right: 2rem;
    padding-left: 2rem;
    margin-top: 4.5rem;
    min-height: 90vh;
}

.hero_gauche,
.hero_droite {
    width: 50%;

}





.hero_droite {
    text-align: end;
    border-right: .5rem dotted #B29A9F;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-right: 2rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* line-height: 500%; */
}

.hero_droite p {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #B29A9F;
}

.hero_droite h1 {
    margin: 0;
    padding: 0;
    line-height: 120%;
    font-weight: 300;
}

.hero_droite h2 {
    padding: auto;
    margin: 0;
}


.hero_gauche {
    display: flex;
    margin-left: 2rem;
}

.hero_photo {
    width: 50px;
    margin-left: .5rem;
    margin-right: .5rem;
    background-position: center;
}

.hero_photo_1 {
    max-height: 85vh;
    background-image: url(../img/img7.potfolio.jpg);
    margin-top: 90px;
    animation: photo1 2s ease-in-out infinite alternate;
}

@keyframes photo1 {
    from {
        margin-top: 0;
        max-height: 85vh;
    }

    to {
        margin-top: 90px;
        max-height: 60vh;
    }
}


.hero_photo_2 {
    max-height: 50vh;
    background-image: url(../img/img2.portfolio.jpg);
    margin-top: 20px;
    animation: photo2 2s ease-in-out infinite alternate;

}

@keyframes photo2 {
    from {
        margin-top: 90px;
        max-height: 50vh;
    }

    to {
        margin-top: 0px;
        max-height: 60vh;
    }
}




.hero_photo_3 {
    max-height: 30vh;
    background-image: url(../img/img3.portfolio.jpg);
    margin-top: 200px;
    animation: photo3 2s ease-in-out infinite alternate;
}

@keyframes photo3 {
    from {
        margin-top: 200px;
        max-height: 30vh;
    }

    to {
        margin-top: 0px;
        max-height: 80vh;
    }
}


.hero_photo_4 {
    max-height: 60vh;
    background-image: url(../img/img4.portfolio.jpg);
    margin-top: 60px;
    animation: photo4 2.5s ease-in-out infinite alternate;

}

@keyframes photo4 {
    from {
        margin-top: 60px;
        max-height: 60vh;
    }

    to {
        margin-top: 100px;
        max-height: 85vh;
    }
}

.hero_photo_5 {
    max-height: 75vh;
    background-image: url(../img/img1.portfolio.jpg);
    margin-top: 150px;
    animation: photo5 4s ease-in-out infinite alternate;

}

@keyframes photo5 {
    from {
        margin-top: 150px;
        max-height: 75vh;
    }

    to {
        margin-top: 20px;
        max-height: 55vh;
    }
}


.hero_photo_6 {
    max-height: 75vh;
    background-image: url(../img/img18.portfolio.jpg);
    margin-top: 220px;
    animation: photo6 2.5s ease-in-out infinite alternate;
}




@keyframes photo6 {
    from {
        margin-top: 220px;
        max-height: 75vh;
    }

    to {
        margin-top: 330px;
        max-height: 30vh;
    }
}

.title1 {
    color: #B29A9F;
    text-align: center;
    padding: 1rem;
    margin: 1rem 1rem 1rem;

}

.a-propos {
    text-decoration: dotted;
    margin: 1rem;
    line-height: 200%;
    font-weight: 350;
    text-align: start;
    margin: auto;
    background-color: #F5F5F5;

}


.btnn {
    margin: 0 auto;
    padding: 0.5rem 1rem;
    background-color: #b48a8a;
    border-radius: 10px;
    color: #030303;
    font-size: 1rem;
    display: block;
    width: fit-content;
}





.AP {
    background-color: #F5F5F5;
    padding: 0;
    margin: 0;
    justify-content: center;
    display: flex;
    margin-left: 2rem;
}

.AP img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    display: block;
    margin-left: 2rem;
    margin-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;

}


.para {
    padding-top: 7rem;
    margin-right: 1rem;


}

.para h1 {
    color: #cfb2b8;
}


.contacter {
    text-align: center;
}

.infos {
    background-color: #030303;
    text-align: center;

}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}


.sale__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sale__card {
    position: relative;
    overflow: hidden;
}

.sale__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: #ffffff;
    text-align: center;
}

.sale__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5rem;

}

.sale__title span {
    font-size: 2.5rem;
}


.sale__btn {
    margin-top: 2rem;
    color: #ffffff;
    background-color: #030712;
}

.sale__card::before {
    height: 100%;
    width: 100%;
    top: -100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.sale__card:hover::before {
    top: 0;
}

.sale__card:hover .sale__btn {
    color: #030712;
    background-color: #ffffff;
}

.AB {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 1rem;
}

.ABC {
    padding-bottom: 0.5rem;
    margin-bottom: 4rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #030712;
}

.section__title::after {
    left: 50%;
    bottom: 0;
    height: 3px;
    width: 75px;
    background-color: #030712;
}

.btn {
    padding: 0.75rem 2rem;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    background-color: #eabac5;
}



img {
    width: 100%;
    display: block;
}



footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.top-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -10px;

    width: 100%;

}

.social-media a {
    margin: 0 10px;

    font-size: 2rem;
    color: #fff;
    transition: transform 0.2s ease;
}

.social-media a:hover {
    transform: translateY(-5px);
}

.DD,
.contact,
.copyright {
    text-align: center;
    flex-basis: 30%;
}

.copyright {
    flex-basis: 100%;
}

.contact p {
    margin: 5px 0;
    color: #fff;
}

.a-propos {
    background-color: #F5F5F5;
}






/* Version mobile*/

@media screen and (max-width:750px) {
    .sale__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:566px) {
    .hero {
        flex-direction: column;
        min-height: 500px;
    }

    .hero_droite {
        width: 100%;
        order: -1;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .AP {
        flex-direction: column-reverse;
    }


    .hero_photo_1 {
        max-height: 300px;
        margin-top: 90px;
        animation: photo1 2s ease-in-out infinite alternate;
    }

    @keyframes photo1 {
        from {
            margin-top: 0;
            max-height: 300px;
        }

        to {
            margin-top: 90px;
            max-height: 400px;
        }
    }


    .hero_photo_2 {
        max-height: 300px;
        margin-top: 20px;
        animation: photo2 2s ease-in-out infinite alternate;

    }

    @keyframes photo2 {
        from {
            margin-top: 90px;
            max-height: 300px;
        }

        to {
            margin-top: 0px;
            max-height: 300px;
        }
    }

    .hero_photo_3 {
        max-height: 300px;
        margin-top: 200px;
        animation: photo3 2s ease-in-out infinite alternate;
    }

    @keyframes photo3 {
        from {
            margin-top: 200px;
            max-height: 300px;
        }

        to {
            margin-top: 0px;
            max-height: 300px;
        }
    }


    .hero_photo_4 {
        max-height: 300px;
        margin-top: 60px;
        animation: photo4 2.5s ease-in-out infinite alternate;

    }

    @keyframes photo4 {
        from {
            margin-top: 60px;
            max-height: 300px;
        }

        to {
            margin-top: 100px;
            max-height: 300px;
        }
    }

    .hero_photo_5 {
        max-height: 300px;
        margin-top: 150px;
        animation: photo5 4s ease-in-out infinite alternate;

    }

    @keyframes photo5 {
        from {
            margin-top: 150px;
            max-height: 300px;
        }

        to {
            margin-top: 20px;
            max-height: 300px;
        }
    }

    .hero_photo_6 {
        max-height: 300px;
        margin-top: 220px;
        animation: photo6 2.5s ease-in-out infinite alternate;
    }

    @keyframes photo6 {
        from {
            margin-top: 220px;
            max-height: 300px;
        }

        to {
            margin-top: 330px;
            max-height: 300px;
        }
    }
}

@media screen and (max-width:525px) {
    .sale__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width:600px) {
    #burger {
        display: block;
    }

    #burger img {
        width: 40px;
        height: 40px;
    }



    .sousMenu {
        display: none;
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        text-align: center;
    }

    .sousMenu.open {
        display: block;
    }

    .sousMenu li {
        display: block;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

@media screen and (max-width:450px) {
    .AP img {
        width: 300px;
        margin-left: 0;
    }
}

@media screen and (max-width:431px) {
    .hero {
        min-height: 400px;
    }

    .hero_photo_1 {
        max-height: 200px;
    }

    @keyframes photo1 {
        from {
            margin-top: 0;
            max-height: 200px;
        }

        to {
            margin-top: 90px;
            max-height: 200px;
        }
    }


    .hero_photo_2 {
        max-height: 200px;

    }

    @keyframes photo2 {
        from {
            margin-top: 30px;
            max-height: 200px;
        }

        to {
            margin-top: 0px;
            max-height: 200px;
        }
    }

    .hero_photo_3 {
        max-height: 200px;
    }

    @keyframes photo3 {
        from {
            margin-top: 200px;
            max-height: 20px;
        }

        to {
            margin-top: 0px;
            max-height: 60px;
        }
    }


    .hero_photo_4 {
        max-height: 200px;
    }

    @keyframes photo4 {
        from {
            margin-top: 0px;
            max-height: 200px;
        }

        to {
            margin-top: 60px;
            max-height: 200px;
        }
    }

    .hero_photo_5 {
        max-height: 200px;

    }

    @keyframes photo5 {
        from {
            margin-top: 50px;
            max-height: 200px;
        }

        to {
            margin-top: 20px;
            max-height: 200px;
        }
    }

    .hero_photo_6 {
        max-height: 200px;
    }

    @keyframes photo6 {
        from {
            margin-top: 20px;
            max-height: 200px;
        }

        to {
            margin-top: 50px;
            max-height: 200px;
        }
    }
}