@import url('https://fonts.googleapis.com/css2?family=Cardo&family=Lobster&display=swap');
:root{
    --primary-color:#1D3557;
    --secondary-color:#457B9D;
    --accent1-color:#A8DADC;
    --accent2-color:#F1FAEE;
}
*{
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
main h2 ,main h3{
    color:var(--primary-color);
}

header{
    background-color: var(--primary-color);
    height: 70px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 4px black;
    z-index: 10;
    color:white;
    padding: 0px;
}
header h1{
    color: white;
    font-size: 1.5rem;
    position: relative;
    font-family: Cardo;
    margin-left: 10px;
}
main h2 ,main h3{
    color:#4887e0;
}
nav a{
    color: white;
    text-decoration: none;
    font-weight: bolder;
    font-family: Arial, Helvetica, sans-serif;
    padding: 15px;
    
}
nav a:hover{
    background-color: #2c7ffc;
    box-shadow: 0px 0px 1px black;
    border-radius: 1rem;
}
.head-option{
    margin-right: 20px;
}
.head-option a{
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    text-decoration: none;
    font-weight: bolder;
    color: white;
}
#inscri{
    padding: 9px;
    margin-left: 5px;
    border-radius: 0.5rem;
    background-color: white;
    color: #006aff;
}
#inscri:hover{
    opacity: 0.5;
}
.head-option a:hover{
    color: #afa7c7;
}
.head-option span{
    color: white;
    font-weight: bolder;
}
aside{
    min-height: 200px;
    padding-top:40px;
    padding-bottom: 40px;
    background-color: #cbe1ff;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-content: space-around;
   

}
aside figure{
    margin-left: 20px;
    margin-right: 20px;
}
aside figcaption{
    font-weight: bolder;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
}
aside a{
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    text-decoration: none;
    font-weight: bolder;
    color: #73737c;
}
aside form{
    margin-top: 15px;
    display: flex;
    flex-direction: row;

}
aside input{
    padding: 10px;
    border: none;
    box-shadow: 0 0 2px black;
    margin-right:10px;
}
aside button{
    padding: 8px;
    background-color: #006aff;
    color: white;
    font-weight: bolder;
    border-radius: 0.2rem;
    box-shadow: 0 0 2px black;
    border:none;
}
aside button:hover{
    opacity: 0.5;
}
aside a:hover{
color:rgb(120, 122, 255);
}
aside ul{
    list-style-type: none;
}
aside li{
    margin-bottom: 10px;
}
footer {
    background-color: #2c2c30;
    color: #fff;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    text-indent: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.2rem;
    font-size: small;
    padding: 20px 0;
}

.social{
    color: black;
    font-size: 1.3rem;
    margin-right: 20px;
}
.social a{
    color: #F1FAEE;
}

main h1{
    text-align: center;
}

#chat {
 position: fixed;
 bottom: 10%;
 right: 5%;
 text-decoration: none;
 z-index: 500;
}
#chat i{
    font-size:40px;
    color: #0087f5;
}
#chat span{
    color: black;
    visibility: hidden;
    border-radius: 1rem;
    border:none;
    font-size: 100%;
    padding: 5px;
    box-shadow: 0 0 1px black;
}
 #chat span:hover{
    visibility: visible;
}



@media screen and (max-width:900px){

  
          nav a{
          
            padding: 5px;
            
        }
       
  }
  

@media screen and (max-width:800px){

  
    nav {
    
      display: none;
  }
  .menu-btn {

      display: block;
      position: relative;

    
      }
      
}


@media screen and (max-width:700px){

    aside{
        
      grid-template-columns: 1fr;
      justify-content: center;
      justify-items: center;
    }
    aside figure{
        margin-bottom: 10px;
    }
    main h1 {
        font-size: 1.2rem;
    }
    main h2 {
        font-size: 1.2rem;
    }
    footer{
     flex-direction: column;
    }
    footer p{
        margin-bottom: 20px;
    }

}
@media screen and (max-width:425px){

header h1{
    font-size: 1rem;

}

.head-option a{
    font-size: 70%;
    text-decoration: none;
    font-weight: bold;
    color: white;
}
#inscri{
    padding: 5px;
    margin-left: 5px;
}

}
 @media screen and (max-width:380px){
    footer{

        font-size: 0.6rem;
    }
    .social{
       
        font-size: 1.1rem;
        
 }
} 
@media screen and (max-width:360px){

    header h1{
        font-size: 0.9rem;
    
    }
    .head-option{
        font-size: 90%; 
    }
    .head-option a{
        font-size: 60%;
        text-decoration: none;
        font-weight: bold;
        color: white;
    }
    #inscri{
        padding: 5px;
        margin-left: 5px;
    }
    .menu-btn .btn-line {
         width: 20px;
         height: 2px;
    }

    
    }