
html, body {
  margin: 0;
      max-width: 100%;
  height: 100%;
}

.container-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;

}
.container-flex:hover > .section {
  filter: brightness(22%);
}
.container-flex:hover > .section:hover {
  filter: brightness(100%);
}
.container-flex .section {
  flex-grow: 1;
  position: relative;
  height: 100%;
  transition: all 0.4s;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  flex: 1;
}
.container-flex .section .cont_title {
  position: relative;
  margin: auto;
  width: 100%;
  height: auto;
  text-align: center;
  margin-top: 37vh;
  /*.letter-container-flex{
    position: relative;
    width: 2vw;
    height: 100px;
    position: relative;
    margin: auto;
    .lettering{
    transition: all 0.3s;
    color: white;
    
    span{
      height: 10vw;
      font-family: 'Economica', sans-serif;
      font-size: 1.6vw;
      text-shadow: 1px 2px 5px rgba(0,0,0,0.5);
      position: absolute;
      width: 15px;
      left: 0;
      top: 0;
      transform-origin: bottom center;
    }
    @include rotated-text(11);
    }
  }*/
}
.container-flex .section .cont_title h1 {
  text-transform: uppercase;
  color: white;
  font-family: 'Economica', sans-serif;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  font-size: 1.6vw;
  margin: 0;
  transition: font-size 0.3s;
  vertical-align: middle;
}
.container-flex .section .cont_title h3 {
  text-transform: uppercase;
  font-family: 'Economica', sans-serif;
  font-size: 1.3vw;
  transition: all 0.3s;
  color: white;
  letter-spacing: 3px;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
}
.container-flex .section .cont_desc {
  position: relative;
  display: block;
  text-align: center;
  width: 12vw;
  height: auto;
  margin: auto;
  opacity: 0;
  transition: opacity 0.8s, transform 0.7s, padding-top 0.9s;
  padding-top: 6vh;
  transform: scale(1);
}
.container-flex .section .cont_desc p {
  margin: 0;
  font-family: 'Economica', sans-serif;
  color: white;
  font-size: 16px;
}
.container-flex .section:hover {
  flex-grow: 1.8;
  transition: flex 0.2s;
}
.container-flex .section:hover > .cont_title h1 {
  font-size: 3.0vw;
  transition: font-size 0.4s;
}
.container-flex .section:hover > .cont_title h3 {
  font-size: 1.6vw;
  transition: all 0.4s;
}
.container-flex .section:hover > .cont_desc {
  opacity: 1;
  padding-top: 2vh;
  transform: scale(1.5);
  transition: opacity 0.7s, padding-top 0.5s, transform 0.1s;
  transition-delay: 0s, 0.1s, 0s;
}
.container-flex .section:nth-child(1) {
  background: url("https://images.pexels.com/photos/271816/pexels-photo-271816.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb") center;
background-size: cover;
}
.container-flex .section:nth-child(2) {
  background: url("https://images.pexels.com/photos/116675/pexels-photo-116675.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb") center;
    background-size: cover;
}
.container-flex .section:nth-child(3) {
  background: url("https://images.pexels.com/photos/416405/pexels-photo-416405.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb") center;
    background-size: cover;
}
.container-flex .section:nth-child(4) {
  background: url("https://images.pexels.com/photos/296278/pexels-photo-296278.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb") center;
    background-size: cover;
}
.container-flex .section:nth-child(5) {
  background: url("https://images.pexels.com/photos/443383/pexels-photo-443383.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb") center;
    background-size: cover;
}
