/* mark correct button in page-menu white on pageload */
header a[href="./contact.html"] {
  background: white;
}

main {
  & #intro {
    height: fit-content;

    & figure {
      height: 40vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      & img {
        margin: auto;
        border-radius: 2%;
      }
    }

    & #intro-text {
      height: 40vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;

      & h1 {
        max-width: 90vw;
        font-size: 3rem;
        line-height: 3.3rem;
      }

      & h2 {
        color: #7f7f7f;
      }
    }
  }

  & #contact-links {
    height: 23vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding-block: 5%;

    & a {
      color: inherit;
      font-size: 2vh;
    }
  }

  & #social-links {
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;

    & #social-wrapper {
      width: 40vh;
      display: flex;
      justify-content: space-between;

      & img {
        padding: 3vh;
      }
    }
  }

  & #contact-form {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;

    & form {
      width: 40vw;
      font-size: 1.5vh;

      & fieldset {
        border-radius: 2%;
        padding: 5%;
        display: flex;
        flex-direction: column;
        margin-bottom: 3vh;

        & imput {
          border: 1px inset lightgrey;
          border-radius: 2%;
        }

        & textarea {
          height: 20vh;
          border-radius: 2%;
        }
      }

      & #button-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;

        & button {
          border-radius: 2%;
          padding: 10px 80px;
          border: lightgrey solid 1px;
        }
      }
    }
  }
}
