.page {
  h1 {
    background-color: var(--bk);
    color: var(--l);
    padding: 0.5rem;
    border-radius: 5px;
    margin: 0.5rem 0;
  }

  .subheading {
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
  }

  .box {
    padding: 1rem 0;
    a {
      display: block;
      width: 100%;
      height: 100px;
      border-radius: 5px;
      background-color: var(--r);
      color: var(--l);
      font-weight: 700;
      display: flex;
      justify-content: center;
      align-items: center;

      p {
        font-size: 150%;
      }
    }
  }

  .contact {
    h2 {
      padding-bottom: 1rem;
    }

    .input_box {
      display: flex;
      position: relative;
      margin-bottom: 1rem;
      width: 100%;
      height: 3rem;

      input {
        width: 80%;
        height: 100%;
        border: 2px solid var(--d);
        border-radius: 5px 0 0 5px;
        padding: 0 5px;
      }

      #btn {
        width: 20%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--d);
        color: var(--l);
        border-radius: 0 5px 5px 0;
      }
    }

    .success_popup {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 5px;
      color: white;

      opacity: 0;
      pointer-events: none;
      transform: translateY(-100%);
      transition: all 0.3s ease;
    }

    /* visible state */
    .success_popup.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: all;
    }

    /* variants */
    .success_popup.success {
      background: #0c7510; /* green */
    }

    .success_popup.error {
      background: #b00020; /* red */
    }

    .success_popup.show {
      opacity: 1;
      pointer-events: all;
    }
  }
}
