/*to do list 
-go to top when open a project
-change the font of the text


*/

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans',sans-serif;

}
.backBar{
  position: relative;
  display: flex;
  width: 100%;
  height: 60px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;

}
.back{
  width: 90%;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.backBarA{
  font-size: 2em;
}
.backBarA:hover{
  color: orange;
}

.fixBar{
  background-color: #000;
}


/*
#ProjetsShow
*/

body{
  background-color: #4C5B61;
}



/*
#ProjetsList
*/
.projetsLisExpanded{
  background-color: #C5C5C5;
  }
.projetsList{
width: 100%;
display: grid;
place-items: center;
margin: 100px 0;

}
.projetsRow{
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  height: 100%;
}
.projetsColumn{
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
  z-index: 1;
}
.projetsCard {
position: relative;
border: 1px solid rgb(66, 64, 64);
width: 100%;
height: auto;
min-height: 200px;
padding: 2em 1.5em;
display: grid;
background: #909497;
border-radius: 5px;
box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
transition: 0.5s;
}

.projetIcon-wrapper {
z-index: 1;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: grid;
place-items: center;
cursor: pointer;
font-size: 40px;
color: #B5BEC6;
transition: all 0.5s;
}
.projetIcon-wrapper:hover{
  z-index: 4;
 
  background-color: #4b4b4b81;

}
.projetIcon-wrapper:hover .iconLines{
  transform: scale(1.5);
  color: #4b4b4b;
}
.iconLines{
  transition: all 0.5s;
}
.projetName{
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
z-index: 3;
font-size: 20px;
font-weight: 600;
color: orange;
margin: 1em 0;
transition-duration: 0.4s;
}
.serviceDescription{
z-index: 0;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
color: #F8F7FF;
font-family: 'Roboto', sans-serif;
font-size: 20px;
}


.projetExpanded{
width: 100%;
height: auto;
display: none;
justify-content: center;
align-items: center;
}
.exitIconProjets{
position: absolute;
height: fit-content;
top:9%;
right: 9%;
cursor: pointer;
justify-items: center;
align-items: center;
font-size: 100%;
font-size: 1.5em;

}

.projetInfo{
display: flex;
width: 80%;
height: auto;
flex-direction: column;
justify-items: center;
align-items: center;
justify-content: space-between;
}
.projetTitleDiv{
display: flex;
align-items: center;
height: auto;
margin: 3em 0;
font-family: 'Montserrat', sans-serif;
}
.projetTitle{
font-size: 3em;
}
.projetIMG{
width: 90%;
height: auto;
}
.projetDescriptionDiv {
height: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.projetDescrptionTitle{
font-size: 1.75em;
margin-top: 2em;
font-family: 'Roboto', sans-serif;
}
.projetDescription{
font-size: 1.25em;
margin: 1.25em 4em;
font-family: 'Roboto Slab', serif;
}
.projetDate{
font-size: 1.5em;
margin-bottom: 2em;
font-family: 'Roboto Slab', serif;
font-weight: 800;
}
#workDone1{
background-image: url('projetsFG/Andrei_C_projets1FGroung.png');  
background-size: cover;
background-position: center;
}
#workDone2{
  background-image: url('projetsFG/Andrei_C_projets2FGroung.png');  
  background-size: cover;
  background-position: center;
  }
#workDone3{
background-image: url('projetsFG/Andrei_C_projets3FGroung.png');  
background-size: cover;
background-position: center;
}
#workDone4{
  background-image: url('projetsFG/Andrei_C_projets4FGroung.png');  
  background-size: cover;
  background-position: center;
  }
#workDone5{
background-image: url('projetsFG/Andrei_C_projets5FGroung.png');  
background-size: cover;
background-position: center;
}
.divVideoProjets{
  width: 100%;
  display: flex;
  place-content: center;
  align-items: center;
}
.videoProjetsV{
  width: auto;
  height: 950px;
}
.videoProjetsH{
  width: 100%;
}
.fullscreen video{
  transform: scale(2);
}
.architecteCredit{
  
}






/*responsive design*/
@media screen and (min-width: 768px) {
.projetsList {
  padding: 0 2em;
}
.projetsColumn {
  flex: 0 50%;
  max-width: 50%;
}
}
@media screen and (min-width: 992px) {
  .projetsList {
    padding: 1em 3em;
  }
  .projetsColumn {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}


@media(max-width: 992px){
.projetDescription{
  margin-inline: 0;
}
}
@media(max-width: 650px){
  .videoProjetsV{
    height: 500px;
  }
}
@media(max-width: 576px){
.projetDescription{
  font-size: 1em;
}
}