body,
html {
  margin: 0;
}
body {
  background: linear-gradient(135deg, #fcf1cc 0%, #5f8368 65%, #2c372f 100%);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: #fff;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main-content {
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  padding-right: 17px;
  box-sizing: content-box;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  z-index: 2;
  position: relative;

  .header {
    position: fixed;
    z-index: 1;
    height: 0px;
  }

  .footer {
    height: 30vh;
    display: grid;

    > div {
      padding: 10px;
    }

    .contact {
      display: block;
      margin: 0 auto;
      .logo-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 130px;
        height: 22px;
      }

      .social {
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: 50% 50%;
        i {
          justify-self: center;
        }
      }

      .email {
        margin-top: 1.5rem;
      }

      a {
        display: block;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        margin-bottom: 5px;
        color: #e9fff1;
      }
    }
  }
}

.section {
  height: 100vh;
  width: 100%;
  display: flex;
  scroll-snap-align: center;
}

.section > .first {
  display: grid;
  width: 100%;

  .logo-image {
    height: 25vh;
    display: grid;
    align-content: center;
    justify-content: center;
    img {
      width: 330px;
      height: 57px;
      margin-right: -15px;
    }
  }

  .text-area {
    height: 50vh;
    display: grid;
    padding-left: 30px;
    margin-left: 30px;
    border-left: 3px #e9fff1 solid;

    p {
      margin: 0px;
      align-self: center;
    }
  }

  p {
    font-size: 32px;
  }

  .arrow-down-wrapper {
    height: 25vh;
    display: grid;
    justify-content: center;
    padding-top: 10%;
  }
}

.second {
  background: white;
  opacity: 10%;
}

h1 {
  font-size: 120px;
  position: absolute;
  top: 15%;
}

div .material-symbols-outlined {
  height: max-content;
  font-size: 64px;
  color: #e9fff1;
  text-decoration: none;
  animation: pulse 18s ease forwards infinite;
}

/* tablet breakpoint */
@media (min-width: 768px) {
  .header {
    order: -2;
  }

  .section > .first {
    display: grid;
    grid-template-columns: 5% 45% 45% 5%;
    align-items: center;

    .logo-image {
      img {
        width: 90%;
        height: auto;
      }
    }

    .text-area {
      padding-left: 30%;
      margin: 0;
    }
  }
}

/* desktop breakpoint */
@media (min-width: 1080px) {
}

.fade-text {
  opacity: 0;
}

.one {
  animation: fadeInOut 2s ease 1.5s forwards;
}

.two {
  animation: fadeInOut 2s ease forwards;
}

.three {
  animation: fadeInOut 2s ease 3s forwards;
}

.gabriel {
  font-family: "Gabriel", sans-serif;
  color: #e9fff1;
}

.gabriel-bold {
  font-family: "GabrielBold", sans-serif;
  color: #e9fff1;
}

.gabriel-italic {
  font-family: "GabrielItalic", sans-serif;
  color: #e9fff1;
}

.gabriel-bold-italic {
  font-family: "GabrielBoldItalic", sans-serif;
  color: #e9fff1;
}

.denton {
  font-family: "Denton", sans-serif;
  color: #e9fff1;
}

@font-face {
  font-family: "Gabriel";
  src: url("assets/fonts/Gabriel Sans Normal.otf") format("opentype");
}

@font-face {
  font-family: "GabrielBold";
  src: url("assets/fonts/Gabriel-Sans-Bold.otf") format("opentype");
}

@font-face {
  font-family: "GabrielItalic";
  src: url("assets/fonts/Gabriel Sans Normal Italic.otf") format("opentype");
}

@font-face {
  font-family: "GabrielBoldItalic";
  src: url("assets/fonts/Gabriel Sans Bold Italic.otf") format("opentype");
}

@font-face {
  font-family: "Denton";
  src: url("assets/fonts/DentonTest-Regular.otf") format("opentype");
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
