.main-box {
    width: 100%;
    height: 100%;
}

body{
    max-height: 100%;
    background: rgb(255, 255, 255);
    overflow-x: hidden;   
    overflow-y: scroll;
    justify-content: center;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#Logo {
    width : 300px;
    position: relative;
    right: 30%;
}



.navbar a {
    font-size: 1rem;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}


#check {
    display: none;
}


.boutton-login {
    display: inline-block;
    padding: 1em 2em; 
    margin: 5% auto;
    font-size: 1.2rem;
    color: white;
    background: rgb(232, 105, 127);
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    width: 50%; 
}


.boutton-login:hover {
    background: rgb(232, 105, 127);
    transform: translateY(-3px);
}


.boutton-login:hover {
    animation: pulse 0.6s ease-in-out;
}

@media (max-width: 1684px) {
    .boutton-login {
        width: 200px;
        font-size: 1rem;
        padding: 0.5em 0.5em; 
    }
}

@media (max-width: 1000px) {
    .boutton-login {
        width: 200px;
        font-size: 1rem;
        padding: 0.5em 0.5em; 
    }
}



.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: rgb(0, 0, 0);
    cursor: pointer;
    display: none;
}


@media (max-width: 1560px) {
    #Logo {
        width : 180px;
        position: relative;
        right: 0%;
}
    }

    .navbar a {
        font-size: 1rem;
        color: rgb(0, 0, 0);
        text-decoration: none;
        font-weight: 500;
        margin-left: 1rem;
    }


@media (max-width: 1145px) {

    #Logo {
        width : 180px;
    }

    .navbar a {
        font-size: 0.8rem;
        color: rgb(0, 0, 0);
        text-decoration: none;
        font-weight: 500;
        margin-left: 1rem;
    }


}

@media (max-width: 1560px) {
    .icons {
        display: inline-flex;

    }

    #Logo {
        position: relative;
        width : 300px;
        margin-left: 10%;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }


    #check:checked~.icons #close-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        height: 0;
        top: 100%;
        left: 0;
        width: 100%;
        transition: .3s ease;
        overflow: hidden;
    }

    #check:checked~.navbar {
        height: 30rem;
    }

    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
    }

    .header {
        padding: 0.5rem;
    }
}

@media (max-width: 988px) {

    #Logo {
        width : 200px;
    }

}


.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.navbar a, .dropdown {
    font-size: 1.18rem; /* 1 avant */
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    margin: 0 1.5rem; 
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
    border-radius: 5px;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #ffffff;
}

.blancsouris {
    transition: transform 0.3s ease-in-out;
}


.blancsouris:hover{
    color: #ffffff;
    animation: pulse 1s ease-in-out;
    transform: translateY(-3px);
}


@media (max-width: 1560px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar a, .dropdown {
        margin: 1rem 0; 
    }

    .dropdown-content {
        left: 0;
        transform: translateX(0);
        min-width: 100%;
    }
}



/* Image de la barre de navigation */ 


.image-header {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative; 
    overflow: hidden;
}


#photo_acceuil {
    width: 100%;
    display: flex;
    height: 100%;
}

.titre_acc_1 {
    width: 50%;
    z-index: 3;
    margin-bottom: 5%;
    margin-right: 6%;
}


#titre_acceuil {
    text-align: center;
    font-size: 1.7rem;
}


.blanc_arondi {
    background: #ffffff;
    padding: 100%;
    width: 100%;
    border-radius: 300% / 100%;
    overflow: hidden;
    position: absolute;
    top: 75%;
    z-index: 2;
}

.gris_arondi {
    position: absolute;
    height: 100%;
    width: 35%;
    right: 0%;
    border-radius: 50% / 300%;
    overflow: hidden;
}


@media (max-width: 1320px) {
    #titre_acceuil {
        text-align: center;
        font-size: 1rem;
        color: black;
    }
}
@media (max-width: 930px) {
    #titre_acceuil {
        text-align: center;
        font-size: 1rem;
        color: black;
    }
    .titre_acc_1 {
        margin-left: 5%;
    }
}
@media (max-width: 580px) {
    #titre_acceuil {
        text-align: center;
        font-size: 0.8rem;
        color: black;
    }
}

/* footer */ 

#Footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around; 
    align-items: center;
    padding: 20px 40px; 
    position: relative;
    margin-top: 50px;
}

#Footer-info,
#Footer-logo,
#Footer-resaux {
    flex: 1;
}

#Footer-info-interieur .mail:hover{
    color: white;
}

#Footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#Footer-info-interieur p {
    margin-bottom: 10px;
    color: #000;
}

#Footer-logo {
    display: flex;
    justify-content: center;
}

#Footer-logo-info {
    width: 130px; 
}

#Footer-resaux {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#Footer-resaux-info p {
    margin-bottom: 10px;
    text-align: right;
    color: #000;
}

#Footer-resaux-icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

#instagram, #facebook {
    width: 60px;
    height: 60px;
}


@media (max-width: 1000px) {
    #Footer {
        flex-direction: column;
        align-items: center;
    }

    #Footer-info, 
    #Footer-logo, 
    #Footer-resaux {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    #Footer-info {
        align-items: center;
    }

    #Footer-resaux {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #Footer-resaux-info {
        display: flex;
        flex-direction: column;
        align-items: center; 
    }

    #Footer-resaux-icons {
        display: flex;
        justify-content: center;  
        align-items: center;      
        gap: 10px;
        margin-bottom: 10px;
    }

    #Footer-logo-info {
        width: 100px; 
    }

    #instagram {
        width: 50px;
        height: 50px;
    }

    #facebook {
        width: 60px;
        height: 60px;
    }
}
#mentionsLegalesPage{
    margin: 5%;
}
#mentionsLegalesPage h2{
    margin-top:3%;
    margin-bottom:3%;
    text-indent: 20px;

}
#mentionsLegalesPage p{
    text-indent: 20px;
}
#mentionsLegalesFooter:hover{
    color: white;
    text-decoration: underline;
}





