@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300&display=swap');

html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}

#first {
  background: url('../img/pexels-cameron-casey-1702491.jpg') no-repeat 50% 50%;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#first a {
  color: white;
}

#first h1 {
  text-transform: uppercase;
  letter-spacing: 5%;
  word-spacing: 5px;
  color: #fff;
  font-size: calc(2vw + 2vh);
  padding: .4em 1em;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 2px 2px 15px black;
  transition: 0.5s;
}

#first h1:hover {
  background: rgba(0, 0, 0, 0.5);
}

#first .rev-block span {
  opacity: 0;
  animation: appear-text 0.0001s linear forwards;
  animation-delay: 1.4s;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#first .rev-block:after {
  content: '';
  top: 0;
  left: 0;
  position: absolute;
  width: 0%;
  height: 100%;
  background: white;
  animation: rev-block 1.5s cubic-bezier(0.2, 1, 0.2, 1) forwards;
  animation-delay: 1s;
}

@keyframes rev-block {
  0% {
    left: 0;
    width: 0%;
  }

  50% {
    left: 0;
    width: 100%;
  }

  100% {
    left: 100%;
    width: 0%;
  }
}

@keyframes appear-text {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#first .onemore {
  top: 70%;
  left: 60%;
}

#first .onemore span {
  animation-delay: 2s;
}

#first .onemore.rev-block:after {
  animation-delay: 1.4s;
  background: white;
}

#second {
  height: 100vh;
  margin-top: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  font-family: 'Merriweather', serif;
}

#second .header {
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: calc(1.5vw + 1.5vh);
}

#second .text {
  text-align: center;
  width: 50%;
  max-width: 760px;
}

#second .text p {
  margin: 2%;
  font-size: calc(1vw + 1vh);
}

#second img {
  width: 40%;
  max-width: 250px;
}

#third {
  background-image: url("../img/pexels-kaique-rocha-775201.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  font-family: "Nunito", sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5%;
  height: 100vh;
}

#third .container {
  min-width: 80vw;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: rgba(0, 0, 0, 0.4);
}

#third .vr {
  height: 70vh;
  min-height: 100%;
  width: 1%;
  border-right: 1.2px solid rgba(178, 170, 171, 0.8);
}

#third .vr::selection {
  color: none;
  background-color: none;
}

#third .flex_content {
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  font-size: calc(1vw + 1vh);
  width: fit-content;
}

#third .flex_content h2 {
  font-size: calc(1.25vw + 1.25vh);
  padding-bottom: 5%;
  font-weight: 600;
}

#third .flex_content h4 {
  padding-bottom: 5%;
  font-size: calc(1vw + 1vh);
  font-weight: 400;
  margin: 0;
}

#third .flex_content span {
  font-weight: 200;
}

#third .flex_content hr {
  width: 90%;
  border-style: inset;
  border-width: 1px;
}

#third .flex_content ul {
  list-style-type: none;
  padding-inline-start: 0px;
  width: 100%;
}

#third .flex_content ul li {
  font-weight: 200;
  height: fit-content;
  padding-bottom: 15%;
}

#third a {
  font-size: calc(1vw + 1vh);
  color: white;
  text-shadow: 3px 3px 6px #ffffff47;
}

@media screen and (max-width: 700px) {

  #second .header {
    font-size: calc(2vw + 2vh);
  }
  
  #second .text p {
    font-size: calc(1.5vw + 1.5vh);
  }

  #third {
    overflow-y: hidden;
  }

  #third .container {
    min-height: 90vh;
    flex-direction: column;
    justify-content: center;
  }

  #third .flex_content {
    height: 35vh;
  }

  #third .vr {
    border-right: none;
    border-bottom: 1.2px solid rgba(178, 170, 171, 0.8);
    height: 5vh;
    margin-bottom: 5%;
    width: 80%;
  }
}

@media screen and (max-width:550px) {

  #second .header {
    font-size: calc(2vw + 2vh);
  }
  
  #second .text p {
    font-size: calc(1.5vw + 1.5vh);
  }

  #third #flex1{
    height: 50vh;
  }

  #third #flex2{
    height: 30vh;
  }
  #third .flex_content {
    font-size: calc(1.5vw + 1.5vh);
  }
  
  #third .flex_content h2 {
    padding-bottom: 1%;
    margin: 0;
    font-size: calc(2.25vw + 2.25vh);
  }
  
  #third .flex_content h4 {
    font-size: calc(1.5vw + 1.5vh);
  }
  #third a {
    font-size: calc(1.5vw + 1.5vh);
  }
  
  #third .flex_content ul {
    margin: 0;
  }
  
  #third .flex_content ul li{
    padding: 1%;
  }
  #third .vr {
    border-right: none;
    border-bottom: 1.2px solid rgba(178, 170, 171, 0.8);
    height: 1vh;
    width: 80%;
  }
}