* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
}

/*accueil*/
.main {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100dvw;
    height: 100dvh;
    min-height: calc(100dvh - 400px);
}

.accueil {
    margin: 0 auto;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    gap: 20px;
    cursor: default;
    z-index: 5;
}

.imgBack {
    z-index: 0;
    position: relative;
    width: 100%;
    height: 95%;
    overflow: hidden;
}

.imgBack::before {
    content: "";
    z-index: -1;
    opacity: 0.02;
    background: url('../ressources/logo2.png') center/cover no-repeat;
    top: 2dvh;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 65dvw 85dvh;
}

.imgBack h1 {
    font-family: 'game_of_squids', sans-serif;
}

.reseaux-sociaux ul {
    display: flex;
    flex-direction: row;
    margin-top: 5vh;
}

.reseaux-sociaux ul li i {
    padding: 2em;
    color: var(--color-orC);
    font-size: max(15px, 2.5vw);
}

.accueil .left {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 88px);
    padding: 1rem;
    position: relative;
}

.accueil .left h1 {
    font-size: max(5vw, 30px);
    color: var(--color-orF);
}

.accueil .left h2 {
    font-size: max(3vw, 20px);
    color: var(--color-orF);
}

/*desc*/
.desc {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: center;
    margin-bottom: 40dvh;
    border: var(--color-orF) solid;
    border-radius: 5px;
    margin-top: 30dvh;
    padding: 20px;
}

.desc_div {
    width: 80%;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.desc h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-orF);
}

.desc-div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 3vh;
}

.desc-div p {
    font-size: 20px;
    color: var(--color-orC);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.8px;
}

/* Galerie */
.galerie {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 98%;
    align-items: center;
    justify-content: center;
    user-select: none;
    border: var(--color-orF) solid;
    border-radius: 5px;
    padding: 10px;
}

.galerie h2 {
    margin-bottom: 5vh;
    font-size: 40px;
    font-weight: 800;
    color: var(--color-orF);
}

.galerie-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}

.galerie a {
    font-size: 20px;
    font-weight: 400;
    margin-top: 1em;
    color: var(--color-orC);
}

.galerie a:hover {
    color: var(--color-orF);
}

.img-galerie {
    width: 450px;
    height: 450px;
    object-fit: cover;
}

.div-filter {
    margin-bottom: 3em;
    position: relative;
    display: flex;
    justify-content: center;
}

.div-filter:after {
    content: '▼';
    position: absolute;
    width: 37px;
    color: var(--texte-color);
    font-weight: bold;
    font-size: 16px;
    right: -9.25px;
    bottom: 8.5px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    pointer-events: none;
    z-index: 2;
}

.div-filter:before {
    content: '';
    right: 2px;
    top: 2px;
    width: 37px;
    height: 34px;
    background: #242424;
    position: absolute;
    pointer-events: none;
    display: block;
    z-index: 1;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

.div-filter select {
    position: relative;
    width: 250px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #111;
    color: #999;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 10px 9px;
    margin: 0;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    cursor: pointer;
    height: 38px;
}

/*Modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    display: flex;
}

.close {
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
}

.avertisment_span {
    color: red;
    font-size: 20px;
    position: relative;
    top: 15px;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Media Query*/
@media screen and (max-width: 750px) {
    .nav__menu::-webkit-scrollbar {
        width: 0.5rem;
    }

    .nav__menu::-webkit-scrollbar-thumb {
        background-color: hsl(220, 12%, 70%);
    }

    .reseaux-sociaux ul li i {
        font-size: 25px;
    }

    .accueil .left h1 {
        font-size: 40px;
    }

    .accueil .left h2 {
        font-size: 25px;
    }

    .desc-div p {
        font-size: 16px;
        font-weight: 300;
    }

    .img-galerie {
        width: 290px;
        height: 290px;
        object-fit: cover;
    }

    .imgBack::before {
        background: url('../ressources/logo2.png') center/cover no-repeat;
        top: 0dvh;
        background-size: 75dvw 40dvh;
        height: 80%;
    }

    .avertisment_span {
        font-size: 15px;
        top: 20px;
        left: -10px;
    }

    .close {
        font-size: 40px;
    }

    .modal-content {
        max-width: 99%;
    }
}