#first h1{
    font-size:  50px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #ffffff;
    font-weight: bolder;
    text-shadow: 2px 2px black;
}
.search{
    margin: 0 auto;
    width:65%;
    max-width: 680px;
    background-color: white;
    padding: 6px;
    margin-top:20px;
    outline: 7px solid #b4c1ff;
    box-shadow: 0px 0px 3px black;
    border-radius: 1rem;
  
    }   
    .search form{
        display: flex;
        flex-direction: row;
    }
    .search input{
      
        width: 100%;
        height: 35px;
        font-size: 1rem;
        border:none; 
    
    }
    .search input:focus{
        outline:none;
    }
    .keyword{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 80%;
        overflow-y: hidden;
        overflow-x: auto;
        margin: 0 auto;
        margin-top:50px;
    }
    .keyword::-webkit-scrollbar{
        height: 0px;
    }
    .keyword a{
     text-decoration: none;
     color: #707070;
     margin-left: 20px;
     margin-bottom: 15px;
     margin-right: 20px;
    }
    

    .search button{
        border:none;
        background-color: white;
        margin-right: 10px;
    }
    .search button i{
     font-size: 25px;
     color: #707070;
    }
.contents{

  width: 90%;
  margin: 0 auto;
  margin-top:50px;
  box-shadow: 0px 0px 1px black;
  border: none;
  border-radius: 0.1rem;
}
.contenair{
    background-color: white;
    height: 275px;
    padding: 30px;
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    overflow-y: hidden;
    overflow-x: auto;
    margin-bottom: 20px;
    display: flex;
}
.contenair::-webkit-scrollbar {
    height:0px;
  }
#bordered{
    width: 95%;
    padding: 15px;
    margin: 0 auto;
    margin-top:20px;
    box-shadow: 0 0 1px black;
}
.contenair figure{
    position: relative;
    text-align: center;
    display: flex;
    margin-right: 20px;
    width: 175px;
    min-width: 175px;
    height: 250px;
    margin-bottom: 20px;
    align-items: center;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 0 1px black;
    
}

.contenair figure img{
     width: 100%;
     height: 150px;
}
.contenair figure figcaption{
font-size: medium;
font-weight: bolder;
}
.contenair figure label{
    font-size: small;
}
.button-cours{
position: absolute;
bottom: 3px;
left: 2px;
}
.view{
    border: none;
    background-color: #fff;
    color: #4190ff;
    margin-right: 20px;
}
h2{
    text-align: center;
    margin-bottom: 20px;
}
.register{
    background-color: #4190ff;
    padding: 7px;
    border:none;
    box-shadow: 0px 0px 3px black;
    color: white;
    font-weight: bolder;
}
.register:hover{
    background-color: #1D3557;
    box-shadow: 0px 0px 5px black;
}
.overview{
    margin-top: 40px;
    margin-bottom: 40px;
}
.overview h2{
font-size: 40px;
}
.purpose{
    display: flex;
    flex-direction: row;
    justify-content: space-around;

}
.purpose figure{
    width: 25%;
}
.purpose figcaption{
    text-align: center;
    font-weight: bolder;
    font-size:1.5rem;
    color: #006aff;
    margin-bottom: 10px;
    margin-top: 10px;
}
.purpose p{
    text-align: justify;
    font-size: large;
    line-height: 1.5;
    color: #707070;
}
.purpose img{
   width: 100%;
}
#commence ul{
    margin-top:10px;
    margin-bottom: 20px;
}
#commence li{
    margin-bottom: 15px;
    font-size: 25px;
}
#first{
    background-image: url(../images/background4.png);
    background-repeat: no-repeat;
    background-size:cover;
    padding-top:50px ;
    padding-bottom: 20px;
    min-height: 500px;
}
#first ul{
margin-top: 100px;
 list-style-type: none;
 display: flex;
 flex-direction: row;
 color: white;
 justify-content: space-around;
 font-weight: bolder;
 font-size: 30px;
 text-shadow: 1px 1px white;
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#commence button{
    width: 30%;
    min-width: 250px;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 2px black;
    font-size:2vw;
    background-color:white;
    border: none;
    color: rgb(2, 84, 177);
    border-radius: 0.5rem;
    font-weight: bolder;

}
#commence button:hover{
    opacity: 0.5;
}
#commence{
    min-height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    background-color: #1D3557;
    }
#commence h2{
    color: white;
    margin-top: 30px;
    font-size: 40px;
}




@media screen and (max-width:750px){
    .contenair{
    flex-wrap:nowrap;
    flex-direction: row;
    justify-content: inherit;
    align-items: inherit;
    min-height: inherit;
    height: 250px;
    width: 80%;
 
}
.contents{
    width: 90%;
}
  .purpose{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } 
  .purpose figure{
    width: 60%;
    margin-bottom: 30px;
}

.search{
    width:90%;
    }   
   
}
@media screen and (max-width:700px){
    #first h1{
        font-size: 35px;
    }

    #first ul{
        flex-direction: column;
        align-items: center;
        
    }
    #first li{
        margin-bottom: 50px;
    }
    #commence button{
     font-size: medium;
    }
}
@media screen and (max-width:450px){
    #first h1{
        font-size: 25px;
    }
    #commence h2{
        font-size: 30px;
    }
    #commence li{
        font-size: 20px;
    }

    .purpose figure{
        width: 80%;
        margin-bottom: 30px;
    }
    .contents{

      padding: 0px;
       
      }
       .contenair{
        padding-left: 2px;
       }
      #bordered{
        width: 90%;
        padding: 0px;
      }
   
}
