*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;

}

body {
  font-family: "Roboto", Arial, sans-serif;
  background: #f4f4f4;
}

h1 {
    font-family: "Parisienne";
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px;
    color:#fafafa;
    text-shadow: 0 5px 10px rgba(0,0,0,.2);
    font-size: 50px;  
    font-weight: 900;
}

h2 {
    font-family: "Parisienne";
    text-align: center;
    padding-top: 20px;
    padding-bottom: 35px;
    color: #333;
    text-shadow: 0 5px 10px rgba(0,0,0,.2);
    font-size: 50px;  
}

h4 {
    text-decoration: underline;
}

strong {
    text-decoration: none;
    font-weight: normal;
}

.police-geipi {
    font-family: "Roboto", Arial, sans-serif;
    font-style: italic;
}

.text-nowrap {
    white-space: nowrap;
}

.box-center-option {
    justify-items: center;
}

.italique {
    font-style: italic ;
}

.gras {
    font-weight: bold;
}


/******---------------------NAVBAR--------------------******/


/***---------Barre globale----------***/
nav {
    position: fixed;   
    width: 100%;
    display: flex;
    padding: 15px 25px; 
    background: #fafafa;
    box-shadow: inset 0px -1px 0px #c5c5c6;
    z-index: 1000;
}

    /*---------Hamburger caché----------*/
.hamburger {
    display: none;
}


 /**---------Box barre----------**/
.barre {
    width: 70%;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 0 20px 0 20px;
}

    /*---------Logo----------*/
.nav-icon img {
    width: 40px;
    margin-left: 20px;
    margin-right: 20px;
    /*   transform: rotate(-17deg) translateX(5px);  */
}

.nav-icon img:hover {
    opacity: 0.5;
}

    /*---------Liens----------*/
.navlinks-container {
    margin-left: 50px;
}

.navlinks-container a {
    margin: 0 30px;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: #333;
    position: relative;
    padding: 10px;
    border-radius: 5px;
}

.navlinks-container a:hover {
    background: linear-gradient(0deg, rgba(34,150,242,1) 0%, rgba(86,151,232,1) 50%, rgba(32,114,230,1) 100%);
    color:#fafafa;
}


    /*---------Retour haut----------*/

.retour-haut {
    border-left: #333 solid 1px;
    margin-left: auto;
}

.retour-haut img {
    width: 35px;
    margin-left: 10px;
}

.retour-haut img:hover {
    opacity: 0.5;
}


    /*---------Share social network (non utilisé pour le moment)----------*/
/*------------------
.social-network {
    border-left: #333 solid 1px;
    margin-left: auto;
}

.social-network img {
    width: 25px;
    margin-left: 10px;
}

.social-network img:hover {
    opacity: 0.5;
}
-------------------*/




/*************---------------------PAGE PRINCIPALE--------------------*************/

/***-----------Hero section---------------***/

.hero {
    background: linear-gradient(0deg, rgba(34,150,242,1) 0%, rgba(86,151,232,1) 50%, rgba(32,114,230,1) 100%);
    padding: 0 10px 0 10px;
}

.hero .container-hero .gros-logo {
    font-family: "Parisienne";
    text-align: center;
    padding-top: 100px;
    padding-bottom: 15px;
    color:#fafafa;
    text-shadow: 0 5px 10px rgba(0,0,0,.2);
    font-size: 70px;  
    font-weight: 900;
}



/***-----------Sections---------------***/


 /**-----------Containers pour usage global dans les sous-sections---------------**/
.container{
    padding: 30px 60px 30px 60px;
    margin:auto;
    width: 70%
}

.container .titre-container{
    text-align: center;
    padding-top: 80px;
    padding-bottom: 35px;
    color: #333;
    text-shadow: 0 5px 10px rgba(0,0,0,.2);
    font-size: 50px;  
}



 /**-----------Le concept---------------**/

.container .box-concept .box-text {
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border-radius: 25px;
    background: #fafafa;
    text-align: justify;
    line-height: 1.6;
    align-content: center;
    padding: 30px 40px;
}

.consignes {
    font-size: 10px;
    text-align: center;
    font-style: italic;
    padding-top: 0;
    padding-bottom: 10px;
}

.titre-accordeon {
    padding-top: 8px;
}


.titre-accordeon h3 {
    display: inline;
    color: #333;
    font-size: 20px;
    padding: 10px 0;  
}

.titre-accordeon-texte {
    font-family: "Roboto", Arial, sans-serif;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 5px;
    color: #333;
    text-shadow: 0 5px 10px rgba(0,0,0,.2);
    font-size: 20px;  
    font-weight: 600;
    cursor: pointer;
}

.container .box-concept .box-text .btn2 {
    display: inline-block;
    background: linear-gradient(0deg, rgba(34,150,242,1) 0%, rgba(86,151,232,1) 50%, rgba(32,114,230,1) 100%);
    color: #fafafa;
    font-size: 17px;
    border-radius: 5px;
    padding: 0px 10px;
    text-decoration: none;
}

.container .box-concept .box-text .btn2:hover {
    letter-spacing: 1px;
}

.lien-liste {
    color:blue;
}

.lien-liste:visited {
    color:blue;
}

 /**-----------Les corrigés---------------**/

.container .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 15px;
    /*margin: auto;*/
    /* justify-content: space-evenly;*/
}

    /*-----------Contenu des boites---------------*/

.container .box-container .box {
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border-radius: 15px;
    background: #fafafa;
    text-align: center;
    justify-items: center;
    padding: 30px 20px;
    max-width: 400px;
    /* min-width: 280px; */
}

.container .box-container .box h3 {
    color: #333;
    font-size: 22px;
    padding: 10px 0;
}

.container .box-container .box p {
    color: #333;
    font-size: 15px;
    padding: 5px 0;
    line-height: 1.8;
    height: 60px;
}

.container .box-container .box .date {
    color: #333;
    font-size: 15px;
    padding: 5px 0;
    line-height: 1.8;
    height: 40px;
}

.container .box-container .box .btn,
.container .box-concept .box-text .btn {
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
    background: linear-gradient(0deg, rgba(34,150,242,1) 0%, rgba(86,151,232,1) 50%, rgba(32,114,230,1) 100%);
    color: #fafafa;
    font-size: 17px;
    border-radius: 5px;
    padding: 8px 20px;
    text-decoration: none;
}

.width-fixed {
    min-width: 240px;
}

.container .box-container .box .btn:hover {
    letter-spacing: 1px;
}



    /*-----------Boites fixes---------------*/






/******---------------------FOOTER--------------------******/

footer {
    width: 100%;
    display: flex;
    padding: 25px 25px; 
    margin-top: 100px;
    background: #fafafa; 
    box-shadow: 1px  #c5c5c6;
    border-top: rgb(51, 51, 51, .2) solid 1px;
}

.boite-footer {
    width: 70%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content:space-around;
    flex-wrap: wrap;
    gap: 80px;
}


 /**-----------Boites générales du footer---------------**/

.boite-footer .boite {
    justify-items: center;
}

.boite-footer .boite p{
    color:black;
    font-size: 16px;
    padding: 5px 0;
    height: 40px;
}

.boite-footer .boite .icone-sn{
    display: flex;
    gap: 20px;
    justify-items: center;
    align-items: center;
}

    /*-----------Bouton de contact---------------*/

.boite-footer .boite .icone-sn .btn {
    margin-top: 10px;
    display: inline-block;
    background: #333;
    color: #fafafa;
    font-size: 17px;
    border-radius: 5px;
    padding: 8px 25px;
    text-decoration: none;
}

.boite-footer .boite .icone-sn .btn:hover{
    opacity: 0.5;
}


    /*-----------Icones des réseaux sociaux---------------*/

.lien-icone {
    margin-left: 0;
    text-decoration: none;
}
  
.lien-icone:hover {
    opacity: 0.5;
}


    /*-----------Copyright icon8.com---------------*/

.boite-footer .copyright-icons a {
    text-decoration: none;
    color:black;
}



/*************************************************************************************************/


/*************---------------------MEDIA QUERIES--------------------*************/

/****-------------Ajustement écrans moyens (tablettes)------------****/

@media (max-width: 1500px) {
    
    h1 {
        font-size: 50px;
    }
 
       
    h2 {
        font-size: 32px;
    }


 /**-------------modification navbar------------**/

    .barre {
        width: 90%;
        padding: 0;
    }

    .nav-icon {
        display: flex;
        align-items: center;
        text-decoration: none;
        margin-right: 15px;
    }

    .navlinks-container {
        margin-left: 20px;
    }

    .navlinks-container a {
        margin: 0 10px;
        font-size: 16px;

    }

    /*-------------Retour vers le haut------------*/
    
    .retour-haut img {
        width: 30px;
        margin-left: 10px;
    }




 /**-------------modification main------------**/

    .container{
        padding: 30px 20px 30px 20px;
        width: 90%;
    }
 

    .container .box-container .box .btn:hover,
    .container .box-concept .box-text .btn2:hover {
        letter-spacing: normal;
        opacity : 0.8;
    }



 /**-------------modification footer------------**/
    footer {
        margin-top: 60px;
        padding: 0 25px 10px 0; 
    }

    .boite-footer {
        width: 90%;
        /*  justify-content: space-between;  */
        padding: 40px;
    }


}

/****-------------Ajustement petits écrans (passage au menu hamburger)------------****/

@media (max-width: 864px) {
    

 /**-------------modification navbar------------**/

    nav {
        padding: 15px 20px;
        position: fixed;
    }

    .nav-icon {
        order: 2;
        margin: 0 auto;
        padding-left: 0;
    }   
    
    .navlinks-container {
        margin-left: 0;
    }

    .container .titre-container{
        padding-bottom: 25px;
        font-size: 36px;  
    }
    

    /*-------------Hamburger------------*/        

    .main-navlinks {
        order: 1;
        width: auto;
      } 

    .hamburger {
        width: 20px;
        height: 20px;
        cursor:pointer;
        border: none;
        display: flex;
        background: #fafafa;
        align-items: center;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #333;
        position: absolute;
        pointer-events: none;
        transition: opacity 0.3s 0.15s ease-out;
    }

    .hamburger span:nth-child(1),
    .hamburger span:nth-child(3) {
        transition: transform 0.3s ease-out;
    }

    .hamburger span:nth-child(1) {
        transform: translateY(7px);
    }

    .hamburger span:nth-child(3) {
        transform: translateY(-7px);
    }

    .hamburger.open span:nth-child(1) {
        transform: translate(0) rotate(135deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: opacity 0s ease-out;
    }

    .hamburger.open span:nth-child(3) {
        transform: translate(0) rotate(-135deg);
    }

    /*-------------Liens------------*/

    .navlinks-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        background: #fafafa;
        top: 100%;
        left: 0;
        height: 100vh;
        padding: 15px 50px 15px 20px;
        border-right: 1px solid #c5c5c6;
        transform: translate(-100%); 
    }

    .open {
        transform: translate(0%);
    }

    .navlinks-container a {
        font-size: 18px;
        margin: 10px 0;
    }


    /*-------------Retour vers le haut------------*/

    .retour-haut {
        order: 3;
        margin-left: 0;
    }





    /*-------------Share icon (non utilisés pour le moment)------------*/
    /*------------------------
    .social-network {
        order: 3;
        margin-left: 0;
      }
    
    .social-network img {
        width: 20px;
        margin-left: 10px;
      }
    -------------------------*/    


 /**-------------modification main------------**/
    
    .container{
        padding: 20px;
    }

 /**-------------modification footer------------**/

    .boite-footer {
        width: 90%;
        /*  justify-content: space-between;  */
        padding: 30px 0;
    }

}





/*****-------------format téléphone------------****/

@media (max-width: 690px) {

    h1 {
        font-size: 40px;
    }

    
 /**-------------modification main------------**/

    .hero .container-hero .gros-logo {
        font-size: 50px;  
    }


    /*-------------Le concept------------*/

    .container .box-concept .box-text {
        text-align: left ;

    }



 /**-------------modification footer------------**/
    .boite-footer {
        flex-direction: row;
        justify-content: center;

    }
}







