body {
  background-image: url("../imgs/background.webp");
  background-repeat: repeat;
  background-size: 400px;
  background-position: top left;
  background-color: var(--d);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -2;
  top: 0;
  left: 0;
}

main {
  width: 100%;
  height: 20vh;
  background-color: var(--d);
  display: flex;
  align-items: center;
  padding: 1rem 1rem 1rem 3rem;
  color: var(--l);
  border-bottom: 5px solid var(--r);

  .heading {
    font-size: 150%;
    color: var(--g);
    font-weight: 700;
  }
}

.hud {
  width: 100vw;
  height: 80vh;
  display: flex;
  overflow: hidden;

  nav {
    width: 0vw;
    height: 80vh;
    background-color: var(--r);
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 99;

    a {
      color: var(--l);
      font-size: 120%;
      width: 100%;
      padding: 0.5rem;
      text-align: left;
      display: block;
      text-transform: capitalize;
      transition: all 0.1s ease-out;
    }

    a:hover {
      background-color: var(--d);
      color: var(--g);
      translate: 10px -10px;
      scale: 1.1;
    }
  }

  .view {
    width: 100vw;
    height: 80vh;

    padding-top: 1rem;
    overflow-y: scroll;
    position: relative;

    button {
      width: 40px;
      height: 40px;
      background-color: var(--g);
      padding: 10px;
      position: sticky;
      z-index: 9999;
      top: 0;
      left: 0;
    }

    .title {
      text-transform: capitalize;
      text-align: center;
      color: var(--l);
      text-decoration: underline gold;
      padding: 1rem;
      font-size: 300%;
    }

    .block {
      padding: 1rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;

      #target {
        display: none;
      }
    }
  }
}

footer {
  width: 100%;
  height: fit-content;
  padding: 1rem 0;
  background-color: var(--r);
  color: var(--l);

  .box {
    .social-links {
      display: flex;
      justify-content: center;
      padding-bottom: 1rem;
      gap: 1rem;

      a {
        width: 2rem;
        height: 2rem;

        img {
          width: 100%;
          height: 100%;
        }
      }
    }

    .quick-links {
      display: flex;
      justify-content: center;
      gap: 1rem;
      padding: 1rem 0;

      a {
        color: var(--l);
        text-decoration: none;
        font-size: 80%;
        padding: 0.5rem 1rem;
        border-radius: 10px;
        background-color: var(--l);
      }
    }

    .copy {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 1rem;

      p {
        color: var(--l);
        font-size: 80%;
        font-weight: 600;
        text-transform: capitalize;
        font-size: 120%;
      }
    }
  }
}

/* mobile */
/* @media (min-width: 320px) {
 
} */

/* landscape mobile */
/* @media (min-width: 568px) {

} */

/* tablet */
@media (min-width: 768px) {
  main {
    h1 {
      font-size: 300%;
    }
  }

  .hud {
    nav {
      width: 20vw;
    }

    .view {
      button {
        display: none;
      }
    }
  }
}

/* desktop */
/* @media (min-width: 1024px) {
 
} */
