


*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}


html{
    box-sizing: border-box;
    
}

body {
    
    background-color:rgba(210, 198, 176, 0.285) ;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    grid-template-rows: auto auto auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.header {
    position: sticky;
    width: 100%;
    display: grid;
    grid-template-columns: 39% 22% 39%;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 0 25px;
    transition: 0.3%;
    top: 0; overflow: hidden;
    z-index: 7;
    flex-grow: 1;
}

.denomination {
    display: flex;
    justify-content: end;
    font-size: 15px;
    
}

.denomination a log {
    display: block;
    width: 1%;   
}
.logos{
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation{
    display: flex;
    justify-content: start;

}

.menu {
    display: flex;
    justify-content:start;
    flex-direction: row;
    align-items:center;
    z-index: 1;
    transition: 0.5%;  
}

.menu li {
    list-style-type: none;
}

.menu li a {
    color: #0f0d0d;
    text-decoration: none;
    display: block;
    padding: 25px 25px;
    font-size: 18px;
    line-height: 1;
    transition: 0.3%;
}

.menu li a:hover {
    box-shadow: 0 -5px 0px #0938d3 inset,
    500px 0 0 rgba(28, 24, 211, 0.03) inset;
    padding: 25px 15px 35px 15px;
}

li{
    float: left;    
}

h2{
    color: rgb(8, 3, 3);text-align: center;padding: 5px 5px;
    text-decoration: none;
    display: block;
}
li a{
    color: white;text-align: center;padding: 14px 16px;
    text-decoration: none;
    display: block;
}
    

.hamburger {
    position: relative;
    width: 30px;
    height: 4px;
    background: #0c0606;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    transition: 0.3%;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    height: 4px;
    right: 0;
    background: #130f0f;
    border-radius: 10px;
    transition: 0.3%;
}

.hamburger::before {
    top: -8px;
    width: 30px;
}

.hamburger::after {
    top: 8px;
    width: 30px;
}

.toggle-menu {
    position: absolute;
    width: 30px;
    height: 100%;
    z-index: 3;
    cursor: pointer;
    opacity: 0;

}

.hamburger,
.toggle-menu {
    display: none;
}

.navigation input:checked ~ .hamburger {
    background: transparent;
}

.navigation input:checked ~ .hamburger::before {
    top: 0;
    transform: rotate(-45deg);
    width: 20px;
}

.navigation input:checked ~ .hamburger:after {
    top: 0;
    transform: rotate(45deg);
    width: 20px;
}

.navigation input:checked~ .menu {
    right: 0;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0);
}

.denomination-mob-tablette{
    display: none;
}



@media screen and (max-width: 962px){
    .hamburger,
    .toggle-menu{
        display: block;
        
    }

    .navigation{
        justify-content: end;
    }

    .logos{
        justify-content: center;
        align-items: center;
        
    }

    .header {
        width: 100%;
        grid-template-columns: 38% 16% 46%;
    
    .denomination-mob-tablette{
        display: flex;
        justify-content:start;
        font-size: 15px;
    
    }

    .denomination{
        display: none;
    }

    }

    .logos{
        width: 150%;
    }
    .menu {
        justify-content: start;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        right: -300px;
        background: rgb(241, 250, 250);
        width: 200px;
        height: 50%;
        padding-top: 25px;
    }
    .menu li {
        width: 100%;
    }
    .menu li a {
        padding: 10px;
        font-size: 20px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1)
        inset;
    }
    .container{
        display: flex;
	    flex-direction: row;
        align-items: center;
    }


}



    /* Pour écrans de 22 pouces (1920px et plus) */
@media screen and (min-width: 1920px) {
    /* Si la taille de base sur laptop est 16px, 150% de 16px est 24px.
    C'est l'ajustement le plus crucial pour simuler votre "zoom". 
    */
    body {
        font-size: 24px; /* Augmente la taille de base des 'rem' de 150% */
    }

    /* Ajuster la taille des textes spécifiques si nécessaire */
    .denomination {
        font-size: 22.5px; /* S'assure que le texte "Connexion/Inscription" grandit */
    }

    /* S'assurer que le logo s'adapte bien à l'espace. 
    Assurez-vous que l'image du logo n'a pas de largeur fixe en px.
    Si votre logo est dans une balise <img>, ajoutez ceci :
    */
    .logos img { 
        max-width: 100%; /* S'assurer qu'il ne dépasse pas son conteneur */
        height: auto;
        /* Si l'image est trop petite, forcez une largeur minimale ou une taille spécifique */
        width: 150px; /* Exemple, à ajuster */
    }

    .menu li a { 
        font-size: 27px;
        
    }
    
    
}
