*, *::after, *::before {
    box-sizing: border-box;
}



@font-face {
    font-family: 'Montserrat-VariableFont_wght';
    src: url('fonts/Montserrat-VariableFont_wght.ttf') format('ttf');
    

}

body {
    transition: 0.5s ease-in-out;
    margin:0;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size:1rem;
    line-height: 1.6;
}

main{
    margin-top:120px; 
}

nav a {
    text-decoration: none;
    color: #010b12;
}

nav{
    width: 100vw;
    height: 120px;
    background-color: #fafbfc;
    transition: 0.5s ease-in-out;
    position: fixed;
    z-index:1000;
    top:0;
    box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.08);
    -webkit-box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.08);
    box-sizing:border-box
    
}

.logo {
    width: 70px;
    position: absolute;
    top:10px;
    left:30px;
}




#accueil {
    width: 200px;
    display: block;
}

nav ul {  
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 30px;
    right: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    gap:3rem;
    
}


.menu li {
    list-style-type: none;
}


.menu a {
    display: flex;
    padding-top: 25px;
}

.lien {
    transition: 0.5s ease-in-out;
}

ul .lien:hover {
    border: solid 1px #010b12;
    transition: 0.5s ease;
    padding: 10px;
}

footer{

    display:flex;
    justify-content: space-around;
    align-items:flex-start;
    gap:3rem;
    margin-top:50px;
    padding-right:40px;
    padding-left:40px;
    height:fit-content;
    -moz-height:fit-content;
    
}

.footerPartGauche{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    margin-top:30px;

}

.footerPartDroite{
    display:flex;
    column-gap:10rem; 
}

.titreFooter{
    font-family:'Montserrat', sans-serif;
    position:relative;
    top:42px;

}

.plan{
    height:300px;
    display:flex;
    flex-direction:column;
    justify-content: center;
    gap:0.5rem;
}

.savPlus{
    height:300px;
    display:flex;
    flex-direction:column;
    justify-content: center;
    gap:0.5rem
}

.footerDescription{
    max-width:600px;
    z-index:100;
    position:relative;
    top:0px;

}
.footerContainer1{
    display:flex;
    margin-bottom:10px;
}

.footerDynasty8{
    width:70px;
    position:relative;
    top:20px;
}

.lienFooter{
    text-decoration: none;
    font-weight:400;
    color:#010b12;
}

.lienFooter:hover{
    font-weight:600;
    transition: 0.5s ease;
}





body.main{
    background-color: #fafbfc;
    color: #010b12;
}






.mode.main {
    background-color: #010b12;
    color: #fafbfc;
}




.fondVert.main{
    background-color:#116b2a ;
    

}




.ecritureNoire.main{
    color:#000000;
}

.backgroundFiche.main{
    background-color: rgba(1, 1, 1, 0.20);
}


.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important; 
    border: 0 !important;
}


.skip-link {
    background-color: #fff;
    border: solid 3px #000;
    color: #000;
    padding: 0.4em 0.5em;
    text-decoration: none;
}

.skip-link:not(:focus):not(:active) {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-link:focus {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 999;
}


@media(max-width:1220px){

    .sTitreFooter{
        font-size:1rem;
    }
}


@media(max-width:1170px){

    .footerPartDroite{
        gap:5rem;
    }
}


@media(max-width:1024px) {  

    h1{
        font-size: 1.4rem !important; 

    }

    .titreSite{                          
        padding-top: 15px;
        position:relative;
        left:-30px;
    }

    main{ 
        margin-top:80px;
    }

    nav{
        height:80px;
    }                      

    nav ul li a {
        font-size: 0.6rem;

    }

    nav ul {
        top:0px;
    }

    .logo {
        width:45px;
        top:10px;

    }

    .moon{
        width:30px;
    }



    .mode{
        position:relative;
        top:10px;
    }

    .footerPartDroite{
        gap:3rem;
    }

    .footerDescription{
        font-size: 0.8rem;
        max-width:500px;
    }

    .lienFooter{
        font-size:0.8rem;
    }

    .footerDynasty8{
        top:10px;
        width:50px;
    }

    .footerContainer1{
        margin-top:40px;
    }

    .titreFooter{
        top:30px;
    }


}

@media(max-width:880px){

    h1{
        font-size: 1rem !important;
    }

    .titreSite{
        top:12px;
        left:-35px;
    }

    .menu{
       top:8px;
    }

    nav ul li a {
        font-size: 0.5rem;

    }


    .logo {
        width: 40px;
        top:15px;
        
    }

    .footerPartDroite{
        gap:3rem;
    }

    .footerDescription{
        max-width:400px;
        font-size: 0.6rem;
        margin:0;
    }

    .footerContainer1{
        margin-bottom:10px;
    }

    .sTitreFooter{
        font-size:0.8rem;
    }

    .lienFooter{
        font-size:0.6rem;
    }

    .plan{
        gap:0.3rem;
    }

    .savPlus{
        gap:0.3rem;
    }

}

@media(max-width:760px){
    .footerDescription{
        max-width:300px;
    }
}
@media(max-width:680px){
    .menu{
        right:20px;
        gap:1rem;
        
    }


    .menuPrincipal{
        display:none; 
    }

    .titreSite{
        left:-60px;
    }

    .logo{
        left:10px;
    }

}

@media (max-width:660px){
 footer{
    flex-direction:column;
    gap:0;
 }

 .footerDescription{
    max-width:500px;
 }

 .footerPartDroite{
    align-items:flex-start;
    margin-top:30px;
 }

 .savPlus{
    justify-content: flex-start;
 }

 .plan{
    justify-content:flex-start;

 }


 
 
}
@media(max-width:360px){
    .footerDescription{
        width:70vw;
    }

    .footerPartGauche{
        width:70vw;
    }

    .footerContainer1{
        width:70vw;
    }
}