@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #e7e7e7;
    background: linear-gradient(90deg, rgb(242, 242, 242) 21%, rgb(255, 255, 255) 92%);
    overflow-x: hidden;
    height: 10000px;
}



header {
    position: fixed;

    height: 10vw;
    min-height: 80px;
    max-height: 120px;

    width: 100vw;

    background-color: #f3f3f3;
    border-bottom: solid 1px #0000007a;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-left: 2vw;
    padding-right: 2vw;

    font-family: 'Noto Sans KR', sans-serif;
}

.decalageDuHaut {
    height: 10vw;
    min-height: 80px;
    max-height: 120px;

    width: 100vw;
}

.nomEtLogoDuSite {
    height: calc(2vw + 15px);
    font-size: calc(2vw + 15px);
    text-decoration: underline 1px;

    display: flex;
    justify-content: center;
    align-items: center;

    /* background-color: red; */
    font-weight: bold;
}



.rechercherUnAticle {
    height: 40px;
    width: 35vw;
    border: solid 1px black;
    border-radius: 25px;

    display: flex;
    align-items: center;
}

.inptPourRechererUnArticle {
    height: 28px;
    width: calc(100% - 30px);
    padding-left: 10px;
    border-radius: 15px 0px 0px 15px;

    border: none;
    background-color: transparent;
}

.inptPourRechererUnArticle:focus {
    outline: none;
}

.boutonRechercheIcone {
    height: 20px;
    width: 20px;
}

.boutonRechercheIcone:hover {
    cursor: pointer;
}






.pourquoiChoisirCeSite {
    height: 40vw;
    background-image: url(./imageUniquePourSite/imageDeCadeau.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    overflow: hidden;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: self-start;
    animation: changementImagePourExplications 30s infinite steps(1);
    transition: 0s;
    /* Modification de la transition à 0s */
    border-bottom: solid 1px #00000069;
    font-family: 'Geologica', sans-serif;
    font-size: calc(4.3vw);
    font-weight: 200;
}

@keyframes changementImagePourExplications {
    0% {
        background-image: url(./imageUniquePourSite/maison.jpg);
        background-color: #dbdbdb;
        color: black;
    }

    25% {
        background-image: url(./imageUniquePourSite/sport.jpg);
        background-color: #ff4800;
        color: black;
    }

    50% {
        background-image: url(./imageUniquePourSite/jardin.jpg);
        background-color: #4a9638;
        color: white;
    }

    75% {
        background-image: url(./imageUniquePourSite/technologie.jpg);
        background-color: #dbdbdb;
        color: black;
    }

    100% {
        background-image: url(./imageUniquePourSite/maison.jpg);
        background-color: #dbdbdb;
        color: black;
    }
}


.textFixe {
    height: 100%;
    width: 55vw;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: right;

    /* background-color: blue; */
    padding-right: 5vw;
    overflow: hidden;
}

.cadre {
    height: 5.5vw;
    width: 45vw;
    overflow: hidden;
    margin-top: 20vw;
    font-weight: 500;
}

.differentesSectionsMontrees {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;

    overflow: hidden;
    height: 19.9vw;
    width: 45vw;

    animation: turn 30s infinite;
}

@keyframes turn {
    0% {
        margin-top: 0.7vw;
    }

    12.5% {
        margin-top: 0.7vw;
    }



    25% {
        margin-top: -4.8vw;
    }

    37.5% {
        margin-top: -4.8vw;
    }

    50% {
        margin-top: -10.1vw;
    }

    62.5% {
        margin-top: -10.1vw;
    }

    75% {
        margin-top: -15.6vw;
    }

    87.5% {
        margin-top: -15.6vw;
    }

    100% {
        margin-top: 0.7vw;
    }
}





.filtresPourResultats {
    width: 100vw;
    height: 10vw;
    max-height: 100px;
    background-color: red;

    display: flex;
    justify-content: center;
    align-items: center;
}


/*scrollbar*/
.differentesCategories::-webkit-scrollbar {
    height: 7px;
    /* Largeur de la barre de défilement */
}

.differentesCategories::-webkit-scrollbar-thumb {
    background-color: #a8a8a8;
}

.differentesCategories::-webkit-scrollbar-track {
    background-color: #d1d1d1;
}

.differentesCategories::-webkit-scrollbar-button {
    display: none;
}

/*scrollbar*/


.differentesCategories {
    height: 100%;
    width: 75%;
    background-color: #ffffff76;
    overflow-x: scroll;
    overflow-y: hidden;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
    box-shadow: 0 0 0 0 black;
}

.sectionArticle {
    width: 20vw;
    max-width: 20vw;
    min-width: 20vw;
    height: 100%;

    background-color: #f7f7f7;
    border-right: solid 1px rgb(138, 138, 138);
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 2.4vw;
    font-weight: normal;
    font-family: 'Noto Sans KR', sans-serif;

    cursor: pointer;
}

.scetionActive {
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgb(212, 212, 212) 100%);
    font-weight: bold;
    text-decoration: underline 3px;
}






.partieFiltre {
    height: 100%;
    width: 25%;
    background-color: rgb(189, 189, 189);
    border-left: 2px solid black;
}

/**********************************************************************************/

@media screen and (max-width: 500px) {

    header {
        height: 100px;
        max-height: 100px;

        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: flex-start;
    }

    .decalageDuHaut {
        height: 100px;
        max-height: 100px;
    }

    .rechercherUnAticle {
        height: 30px;
    }

}

@media screen and (min-width: 600px) {

    .pourquoiChoisirCeSite {
        height: 26vw;
        max-height: 26vw;
    }

    .cadre {
        margin-top: 13.3vw;
    }
}