

#home-one{
  position: relative;
  height:90vh;
  width: 100vw;
}
#intro-video{
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  position:absolute;
  top:0;
  left: 0;
  z-index: -2;
  pointer-events: none;
}
#video-cover{
    min-width: 100%;
    min-height: 100%;
    position:absolute;
    top:0;
    z-index: -1;
    background-color: black;
    opacity: 0.75;
}
#text-superposition-cover{    
  position: absolute;
  width: 100%;
  height: 100%;
  padding-left: 10vw;
  padding-right: 40vw;
  top: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  color: #fff7ed;
  justify-content: center;
}
#presta-title{
  height: 40vh;
}
#presta-content{
  width: 100%;
  margin-bottom: 20vh;
}
#presta-one{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
#presta-two{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
/* Style the front side (fallback if image is missing) */
.flip-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff7ed;
  border: 4px solid var(--text-color);
  border-radius: 1rem;
  background-color: #062139;
  text-transform: uppercase;
}
.flip-card-front > i {
  font-size: x-large;
  margin-bottom: 15px;
}

/* Style the back side */
.flip-card-back {
  background-color: #fff7ed;
  border: 7px solid var(--text-color);
  border-radius: 1rem;
  color: #062139;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flip-card-back > span{
  font-size: 1rem;
}
.flip-card-back > p{
  font-size: 0.7rem;
}
.card-button{
  padding: 5px;
  cursor: pointer;
  background-color: #062139;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border: none;
  color: #fff7ed;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  margin: 4px 2px;
  cursor: pointer;
  margin: 0 20%;
}
.card-button:hover{
  background-color: #0b3a63;
}
#home-three{
  
  background-color: #062139;
  padding: 150px 0;
}

#workflow-title{
  color:#fff7ed;
}
#workflow-content{
  
  position: relative;
  margin-top: 20vh;
  margin-bottom: 20vh;
}
#workflow-info{
  position: absolute;
  top:0;
  z-index: 0;
  color: #fff7ed;
  width: 100vw;
}
.workflow-text{
  margin-left: 20vw;
  margin-bottom: 50px;
  width: 25vw;
}
.workflow-text > span{
  margin-bottom: 1.2rem;
  font-size: x-large;
}
.workflow-part{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100vw;
  margin-bottom: 50px;
  align-items: center;
}
.workflow-textb{
  width: 25vw;
  display: flex;
  flex-direction: column;
}
.workflow-textb > span{
  margin-bottom: 0.8rem;
  font-size: x-large;
  font-weight: bold;
}
.workflow-line{
  width: 25vw;
  /*border-bottom: 2px solid white;*/
  height: 2px;
}
.workflow-text-reverse{
  margin-left: 60vw;
  margin-bottom: 50px;
  width: 25vw;
}
.workflow-text-reverse > span{
  margin-bottom: 1.2rem;
  font-size: x-large;
}
#home-four{
  padding: 150px 0;
  height: unset;
}
#advent-title{
  color: var(--text-color);
}
#advent-content{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 10vh 10vw;
}
.advent-card{
  display: flex;
  flex-direction: row;
  width: 33%;
}
.advent-card-bis{
  display: flex;
  flex-direction: row;
  width: 45%;
}
.advent-icon{
  font-size: xx-large;
  margin-right: 5px;
}
.advent-card-content{
  display: flex;
  flex-direction: column;
  padding: 0 5%;
  padding-top: 10px;
}
.advent-card-content > span{
  font-weight: bold;
  text-transform: uppercase;
}
#advent-content-two{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 10vw;
}

@media only screen and (max-width: 640px){

    .section{
        padding: 0 5vw;
    }
    #text-superposition-cover{
        padding: 0 5vw;
        text-align: center;
    }
    #text-superposition-cover > h1{
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    #text-superposition-cover > p{
        font-size: 0.9rem;
    }

    .workflow-text{
      margin-left:20vw;
      margin-right:10vw;
      width: unset;
    }
    .workflow-textb{
      margin-left:20vw;
      margin-right:10vw;
      width: 80%;
    }

    .workflow-text-reverse{
      margin-left:20vw;
      margin-right:10vw;
      width: unset;
    }

    .advent-card{
      width: unset;
    }
    .advent-card-bis{
      width: unset;
    }
    .workflow-line{
      display: none;
    }
}