
/* 
    Created on : 10 avr. 2020, 19:03:47
    Author     : alice
*/

/* Jules Grandvillemin - 17/10/2020 */

/* 
GLOBAL (TITLE)
*/
.heading-site {
    text-align: center;
    font-family: 'Montserrat', sans-serif;  
    color:#0a2842;

}


/* 
HEADER 
*/
.header { 
  width: 100%;
  margin-left:0;
  margin-right: 0;
  height: 70px;
  line-height: 70px;
  background-color: #FFFFFF;
    position: fixed;
    top: 0;
    z-index: 999;
}

.header .header-menu {
    color: #0a2842;
    font-family: 'Montserrat', sans-serif;
    float: right;
    margin-right: 30px
}

.header .header-menu a {
    margin-right: 15px;
    color: #0a2842;
}

.header .header-menu a:hover {
    color: #db9830;
}

.header .header-image {
    margin-left: 30px;
    height: 60px;
}


/* 
boite lexique actu
*/

.conteneur-flexible{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    background-color: grey; /*Blanc*/
    width: 20%;
    height: 400px;
    border: 2px solid grey;
    box-sizing: border-box;
    margin: 20px 0px;
}

.colonne{
    flex-direction: column; /*Axe principal = axe vertical*/
}

.element-flexible{
    flex: 1 1 50px;
    width: 90%;
    height: 40%;
    background-color: white; /*Vert*/
    border: 2px solid white;
    box-sizing: border-box;
    margin: 10px;
}



/* 
    boite card

*/

.card {
  color: white; 
  background-color: #0a2842;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 45%;
  height: 700px;
  display: flex;
  margin: 20px;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: space-between;
  
}


.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.container {
  padding: 2px 16px;
  margin-top: 20px;
}

/* 
    div boite0 
*/





/* 
    col2
*/
#col2 {
  display: flex;
   margin: 20px;
   position: absolute;
    padding: 10px;
    width: 60%;
  
 }
/* 
    col1
*/

#col1{
display: right;
   margin: 20px;
    margin-left: 40%; 
    width: 60%; 
   position: relative;
    padding: 10px;
    width: 50%;

}


/* 
    boite flex
*/


#row{
    display: flex;
  justify-content:center;
   margin: 20px;
  
}

#single_pic{
    position: relative;
    overflow: hidden;
    
  justify-content: center;
     width: 300px;
  margin: 20px;
   
    
}
#image{
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

#pic_text{
    position: absolute;
    bottom: 0px;
    padding: 10px;
    width: 100%;
    background: rgba(260, 260, 260, 0.70);
    color:#0a2842;
    text-align: center;
    font-family: 'Montserrat', sans-serif;  
    color:#0a2842;
    -webkit-transform: translateY(10%);
    -moz-transform:  translateY(10%);
    -ms-transform:  translateY(10%);
    -o-transform: translateY(10%);
    transform: translateY(10%);
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

#pic_text p {
    text-align: justify;
    
}

#single_pic:hover #pic_text{
     -webkit-transform: translateY(0);
    -moz-transform:  translateY(0);
    -ms-transform:  translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    background: white;
}
#single_pic:hover #image{
    -webkit-transform: scale(1.15);
    -moz-transform:  scale(1.15);
    -ms-transform:  scale(1.15);
    -o-transform: scale(1.15);
    transform:scale(1.15);
    
}





/*
BANNER
*/
.banner {
    margin-top: -20px;
}

.banner .banner-image {
    position: relative;
}

.banner .banner-content {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 30%;
}

.banner .banner-content h1,
.banner .banner-content h2,
.banner .banner-content h3 {
    color:#FFFFFF;
    background-color:#181a0d60;

}


/*
CSS DES DEUX PARTIES (LISTE UE / ÉTUDIANT(E)S)
*/

.svg-wrapper {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin-left:36.5%;
    margin-top:5%;
    width: 320px;  
  }

  .shape {
    stroke-dasharray: 140 540;
    stroke-dashoffset: -474;
    stroke-width: 8px;
    fill: transparent;
    stroke: #db9830;
    border-bottom: 5px solid black;
    transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s;
  }
  .text {
    text-align: center;
    font-family: 'Roboto Condensed';
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 3px;
    top: -48px;
    position: relative;
  }
  .svg-wrapper:hover .shape {
    stroke-width: 2px;
    stroke-dashoffset: 0;
    stroke-dasharray: 760;
  }

  .svg-wrapper_1 {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin-left:36.5%;
    margin-top:0%;
    width: 320px;  
  }

  .svg-wrapper_1 .shape {
    stroke-dasharray: 140 540;
    stroke-dashoffset: -474;
    stroke-width: 8px;
    fill: transparent;
    stroke: #db9830;
    border-bottom: 5px solid black;
    transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s;
  }
  .svg-wrapper_1 .text {
    text-align: center;
    font-family: 'Roboto Condensed';
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 4px;
    top: -48px;
    position: relative;
  }
  .svg-wrapper_1:hover .shape {
    stroke-width: 2px;
    stroke-dashoffset: 0;
    stroke-dasharray: 760;
  }


/*
SÉPARATION DES DEUX PARTIES
*/
.hr_1{
    margin-top: -30px;
    margin-left: 20%; 
    width: 60%; 
}



/*
FAQ
*/

*, ::before, ::after{
  box-sizing: border-box;
  margin-top: 0;
  padding: 0;


}




h1{
  text-align: center;
  padding: 35px 0;
  font-size: 40px;


}

.container-faq{
  width: 70%;
  max-width: 900px;
  min-width: 700px;
  height: auto;
  margin: 10px auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;


}

.question{
  width:  100%;
  height: auto;
  margin:5px;
}

.visible-pannel{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f1f1;
  border-radius: 10px;
  position: relative;
  z-index: 100;



}

.visible-pannel h2 {
  margin-left: 10px;
  padding: 15px 5px;
  font-size:25px;
}

.visible-pannel img{
  margin-right: 10px;
  width: 25px;
  cursor: pointer;;
}
.toggle-pannel{
  padding: 0px 15px;
  height: 0px;
  opacity: 0;

}

.toggle-pannel h4 {
  font-size: 18px;
  padding-bottom: 10px;
}
.toggle-pannel p{
  line-height: 1.5;
}

/*
FAQ
*/



/*
FOOTER
*/

.footer-informations {
    text-align : center;
}

/*
RESPONSIVE : faire disparaitre certains éléments de mon site lorsque la page est inférieure à 900px pour le rendre plus lisible
*/

@media screen and (max-width: 900px) {
    #open_modal,
    #header-menu,  
    #title_is_1,
    #title_is_2,
    #subtitle {
        display: none;
    }
}