*, html, body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

  }

body{
    padding: 0;
    margin: 0;
    border: 0;
    background-color: #f9f9f9;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;

}
header{
    display: flex;
    height: auto;
    width: 100%;
}
.header_class{
    height: 180px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.header_class img{
    margin-top: 20px;
    width: 80px;
}
.header_class h1{
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-bottom: 5px;
}
.header_class h2{
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 0px;
    color: #9c9c9c;
}
.button_cycle{
    margin-top: 40px;
    width: 50%;
    height: 80px;
    border-radius: 50px;
    
    border: 5px solid #77b542;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

 }
 .button_cycle a{
    text-decoration: none;
    color: #777777;
    font-size: 22px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    

 }
 .contenaire_buttton_cycle{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
 }
 #here{
    color: #fff;
    background-color: #77b542;
    border-radius: 50px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 0;
    

 }
 .text1{
    margin-top: 30px;
    font-size: 27px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    margin-bottom: 0;
 }
 .text2{
    margin-top: 0px;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    margin-bottom: 0;
 }
 .contenaire_text1{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }
 .contenaire_des_bouttons_sp{
    margin-top: 30px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
 }
 .f_2_buttons{
    width: 40%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
 }
 .button_specialites{
    width: 170px;
    height: 170px;
    background-color: #fff;
    border: 2px solid #2c89a0;
    border-radius: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;

 }
 .button_specialites h1{
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
 }
.button_specialites img{
    width: 50px;
    height: 50px;
    margin-top: 30px;
}
#first_sp{
    color: #4093a8;
    border: 3px solid #4093a8;
}
#second_sp{
     color: #c87137;
    border: 3px solid #c87137;
}
#third_sp{
    color: #d4aa00;
    border: 3px solid #d4aa00;
}
#forth_sp{
    color: #19d61d;
    border: 3px solid #19d61d;
}

.first_speciality_AI{
    margin-top: 30px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.speciality_header{
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: #ececec;
}
.speciality_header h1{
    border-right: 2px solid #4093a8;
    margin-left: 50px;
    font-size: 70px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #4093a8;
    
}
.sp_title{
    margin-left: 150px;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
}
.sp_title h1{
    border: 0px;
    width: 100%;
    font-size: 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #4093a8;
}
.sp_title img{
    width: 50px;
}
.video{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
iframe{
    margin-top: 50px;
    margin-bottom: 50px;
}
.contenaire_skills{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.contenaire_skills h1{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
}
.skills_container{
    margin-top: 30px;
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.skill{
    height: 100%;
    width: 22%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.skill img{
        width: 60px;
}
.skill h1{
    margin-top: 30px;
    text-align: center;
    color: #5f5f5f;
}
.contenair_jobs{
    width: 100%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    background-color: #e7e7e7;
    padding-top: 30px;
    padding-bottom: 30px;
    
}
.jobs{
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 50px;
    
}
.jobs h1{
    margin: 0px;
    margin-bottom: 10px;
    color: #216778;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.button_years{
    margin-top: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #ececec;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.years_text{
    width: 40%;
}
.y_butons{
    width: 60%;
}
.years_text h1{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 22px;
    margin-left: 50px;
}

.y_butons button{
    width: 25%;
    background-color:#ececec ;
    border-radius: 20px;
    height: 60px;
    cursor: pointer;
    font-size: 20px;
}
.y_butons button:hover{
    color: #77b542;
    border: 1px solid #77b542;
}
.y_butons button:active{
    color: #77b542;
    border: 1px solid #77b542;
}
.hourly{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 23px;
}
.container_tables{
    width: 100%;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.container_tables h1{
    font-size: 21px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #77b542;
}
.volume_horaire{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    width: 100%;

}
.volume_horaire th{
    background-color: #77b542;
    color: #fff;

}
.volume_horaire tr{
   height: 50px;

    
}
.volume_horaire tr:nth-child(even){
    background-color: #f2f2f2;
}
.volume_horaire td{
    text-align: center;
 }
 .volume_horaire tr:hover{
    background-color: #e2e2e2;
 }
 .UE{
    width: 30%;
 }
 .Cours, .td, .tp, .Homework, .vhs {
    width: 10%;
 }
 .first_y_1st_semstr{
    width: 90%;
    height: auto;
    display: block;
 }
 .first_y_2nd_semstr{
    width: 90%;
    height: auto;
    display: none;
 }
 .second_y_2nd_semstr{
    width: 90%;
    height: auto;
    display: none;

 }
 .second_y_1st_semstr{
    width: 90%;
    height: auto;
    display: none;

 }
 .third_y_1st_semstr{
    width: 90%;
    height: auto;
    display: none;
    
 }
 .third_y_2nd_semstr{
    width: 90%;
    height: auto;
    display: none;
 }
 #semstr_select{
    width: 50%;
    height: 80px;
    border-radius: 20px;
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
 }
.table_resp{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text_detailled_prog{
    font-size: 18px;
    margin-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #4d4d4d;
    text-align: center;
}
.text_detailled_prog2{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #a3a3a3;
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 0;
}
.detailled_programs{
    width: 100%;
    height: auto;
    background-color: #e4e3e3;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    
   
}
.detailled_programs a {
    text-decoration: none;
    text-emphasis: none;
    color: rgb(83, 81, 81);

}
.eng{
    width: 180%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 2px solid #979797;
}
.eng h1{
    font-size: 20px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: rgb(83, 81, 81);
    margin-bottom: 10px;
}
.eng img{
    margin-top: 10px;
    width: 50px;
    margin-bottom: 20px;
}
#h1_ic_design {
    border-right: solid;
}
#sp_header_IC h1{
    color: #c87137;
    border-right: 2px solid #c87137;
}
#sp_header_RE h1{
    color: #d4aa00;
    border-right: 2px solid #d4aa00;
}
#h1_RE_design{
    color: #d4aa00;
}
#sp_header_EE h1{
    color: #46d61d;
    border-right:2px solid #46d61d;
}
.button_specialites h2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 60px;
    font-weight: bold;
}
.sp_title h2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #2c89a0;
}
#hrs{
    margin-top: 15px;
    font-size: 20px;
}
.header_principal{
    margin: 0;
    
}
 @media only screen and (max-width: 992px) {
    .button_cycle {
        width: 80%;
    }
    .skill img{
        width: 50px;
    }
    .skill h1{
        font-size: 18px;
    }
    .jobs h1{
        font-size: 18px;
    }
}
@media only screen and (max-width: 875px) {
    .contenaire_des_bouttons_sp{
        display: flex;
        flex-direction: column;
    }
    .f_2_buttons{
        width: 60%;
        margin-bottom: 20px;
    }
    .jobs h1{
        font-size: 16px;
    }
    .button_years {
        display: flex;
        flex-direction: column;
    }
    #semstr_select{
        width: 100%;
        text-align: center;

    }
}
@media screen and (max-width: 640px)
{
    body, html{
        width: 100vw;
        overflow-x: hidden;
        padding: 0.8em 0;
    }
}
@media only screen and (max-width: 650px) {
    .button_cycle {
        width: 95%;
    }
    .contenaire_skills h1{
        font-size: 16px;

    }
    .skill h1{
        font-size: 16px;
    }
    .skills_container{
        display: flex;
        flex-wrap: wrap;
    }
    .jobs h1{
        font-size: 14px;

    }
    .years_text h1{
        font-size: 15px;
    }
    #semstr_select{
        height: 60px;
        font-size: 16px;
        border: 2px solid #77b542;
        background-color: #77b542;
        color: #fff;
        font-weight: bold;

    }
    .button_cycle a{
        font-size: 18px;
    }
    .container_tables{
        width: 100%;
    }
    

}
@media only screen and (max-width: 582px) {
    .sp_title h1{
        font-size: 16px;
        margin-left: 20px;
    }
    .sp_title{
        margin-left: 12px;
    }
    iframe{
        width: 90%;
        height: 200px;
    }
    .contenaire_skills h1{
        font-size: 14px;
    }
    .f_2_buttons{
        width: 90%;
        
    }
    .table_resp{
        overflow-x: scroll;
    }
    .first_y_1st_semstr{
        width: 100%;
        height: auto;
        display: block;
        overflow-x: scroll;
     }
     .first_y_2nd_semstr{
        width: 100%;
        height: auto;
        display: none;
        overflow-x: scroll;
     }
     .second_y_2nd_semstr{
        width: 100%;
        height: auto;
        display: none;
        overflow-x: scroll;
    
     }
     .second_y_1st_semstr{
        width: 100%;
        height: auto;
        display: none;
        overflow-x: scroll;
    
     }
     .third_y_1st_semstr{
        width: 100%;
        height: auto;
        display: none;
        overflow-x: scroll;
        
     }
     .third_y_2nd_semstr{
        width: 100%;
        height: auto;
        display: none;
        overflow-x: scroll;
     }
}

@media only screen and (max-width: 499px) {
   
     .volume_horaire{
         width: 100%;
     }
     table{
         width: 100%;
     }
}
@media only screen and (max-width: 450px) {
    body{
        width: 100%;
    }
    .button_cycle{
        border: 2px solid #77b542;
    }
    .button_cycle a{
        font-size: 12px;
    }
    .header_class h2{
        font-size: 13px;
    }
    .header_class h1{
        font-size: 14px;
    }
    .skill h1{
        font-size: 11px;
    }
    .contenair_jobs{
        display: flex;
        flex-direction: column;
    }
    .jobs{
        width: 90%;
    }
    .hourly{
        font-size: 15px;
    }
    .years_text h1{
        font-size: 12px;
        margin-left: 0;
        margin-bottom: 20px;

    }
    .years_text{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        
    }
    tr{
        font-size: 12px;
    }
}
@media only screen and (max-width: 380px) {
    .header_class h2{
        text-align: center;
    }
    #here{
        padding-right: 20px;
        padding-left: 20px;
    }
    .contenaire_text1 h1{
        font-size: 17px;

    }
    .contenaire_text1 h2{
        font-size: 13px;
        
    }
    .button_specialites{
        height: 140px;
        width: 140px;
    }
    .button_specialites h1{
        font-size: 11px;
    }
    .sp_title h1{
        font-size: 12px;
    }
    .speciality_header h1{
        margin-left: 10px;
    }
    .contenaire_skills h1{
        text-align: center;
    }
    .jobs h1{
        font-size: 12px;
    }
}
@media only screen and (max-width: 318px) {
    .button_specialites{
        height: 120px;
        width: 120px;
    }
    .button_specialites h1{
        font-size: 10px;
        text-align: center;
    }
}
