section#header {
  height: 100vh;
  margin-top: -70px;
}

section#header .main {
  max-width: 100%;
  height: 100%;
}

#headerContent {
  position: relative;
  height: 100%;
  width: 100%;
  background-image: url(../images/header/img1.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 5s;

  animation-name: animate;
  animation-direction: alternate-reverse;
  animation-play-state: running;
  animation-timing-function: ease-in-out;
  animation-duration: 30s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}

@keyframes animate {
  0% {
    background-image: url(../images/header/img2.jpeg);
  }
  20% {
    background-image: url(../images/header/img3.jpeg);
  }
  40% {
    background-image: url(../images/header/img4.jpeg);
  }
  60% {
    background-image: url(../images/header/img5.jpeg);
  }
  80% {
    background-image: url(../images/header/img6.jpeg);
  }
  100% {
    background-image: url(../images/header/img1.jpeg);
  }
}

#headerLayer {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#headerLayerText {
  color: #fff;
}

#headerLayerText p {
  font-size: clamp(2em, 3.5vw, 3.3em);
  text-align: center;
  font-family: Cairo;
}

#headerLayerText p:nth-child(2) {
  font-size: clamp(1.2em, 2.5vw, 1.5em);
}

#header span {
  color: var(--paraColor);
}
