.contact {
  margin: 100px 296px;

  h1 {
    font-family: ClashDisplay-Semibold;
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
  }

  span {
    color: #F36214;
  }

  p {
    font-family: ClashDisplay-Regular;
    font-weight: 400;
    font-size: 21px;
    line-height: 100%;
    letter-spacing: 1px;
    color: #945833;
    margin: 0 0 50px 0;
  }

  .contact-flex {
    display: flex;
    flex-direction: row;
  }

  .mailform {
    border-radius: 51px;
    border: 1px solid #F36214;
    background: #1B120E;
    padding: 40px;
    margin-right: 30px;

    h1 {
      margin-bottom: 45px;
    }

    .box,
    .flex-box {
      width: 100%;

      h3 {
        font-family: ClashDisplay-Regular;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 1px;
        color: #fff;
        margin: 0 0 5px 0;
      }

      input {
        background-color: #150D0A;
        color: #945833;
        border-radius: 73px;
        height: 42px;
        padding: 2px 20px;
        outline: 0;
        border: 0;
        font-size: 18px;
        margin-bottom: 17px;
        width: calc(100% - 40px);

        &::placeholder {
          color: #945833;
        }
      }

      textarea {
        background-color: #150D0A;
        color: #945833;
        border-radius: 23px;
        height: 190px;
        padding: 10px 20px;
        outline: 0;
        border: 0;
        font-size: 16px;
        margin-bottom: 17px;
        width: calc(100% - 40px);
        font-family: ClashDisplay-Regular;
        font-weight: 400;
        line-height: 100%;
        letter-spacing: 1px;

        &::placeholder {
          color: #945833;
        }
      }
    }

    .flex {
      display: flex;
      align-items: center;
      width: 100%;

      .flex-box:nth-child(1) {
        margin-right: 20px;
      }
    }
  }

  .checkbox {
    display: flex;
    align-items: stretch;

    .neon-checkbox {
      --primary: #b66330;
      --primary-dark: #663c22;
      --primary-light: #d36c2c;
      --size: 20px;
      margin-right: 10px;
    }

    p {
      font-family: ClashDisplay-Regular;
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      letter-spacing: 1px;
      color: #fff;
      width: 100%;
      margin: 0;
    }
  }

  .button {
    margin-top: 25px;
    border-radius: 43px;
    padding: 12px 24px;
    gap: 4px;
    background: #F36214;
    transition: 0.2s ease-in-out;
    cursor: pointer;

    &:hover {
      background: #be5820;
    }

    p {
      margin: 0;
      color: #fff;
      font-family: ClashDisplay-Semibold;
      font-weight: 600;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 1px;
      text-align: center;
    }
  }

  .discord {
    background: linear-gradient(194.44deg, #FF5900 0%, #963B0B 100%);
    border: 1px solid #FFC088;
    border-radius: 24px;
    padding: 35px 10px;

    .logo {
      margin-bottom: 35px;
      width: 100%;
      text-align: center;
    }

    .graphic {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: flex-end;

      img {
        display: block;
        height: auto;
      }

      .button {
        position: absolute;
        width: 60%;
        bottom: 10px;
        border-radius: 43px;
        padding: 12px 24px;
        gap: 4px;
        background-color: #ffffff;
        cursor: pointer;
        z-index: 1;
        transition: 0.2s ease-in-out;

        &:hover {
          background-color: #b6b6b6;
        }

        p {
          font-family: ClashDisplay-Semibold;
          font-weight: 600;
          font-size: 16px;
          line-height: 100%;
          letter-spacing: 0;
          text-align: center;
          color: #F36214;
        }
      }
    }
  }

  /* === responsiveness === */

  @media screen and (max-width: 768px) {
    margin: 50px 20px;

    h1 {
      font-size: 28px;
      text-align: center;
    }

    p {
      font-size: 14px;
      text-align: center;
      margin-bottom: 30px;
    }

    .contact-flex {
      flex-direction: column;
    }

    .mailform {
      margin-right: 0;
      padding: 30px 20px;
      border-radius: 30px;

      .flex {
        flex-direction: column;

        .flex-box:nth-child(1) {
          margin-right: 0;
          margin-bottom: 20px;
        }
      }

      .box input,
      .flex-box input,
      .box textarea {
        width: 100%;
      }
    }

    .discord {
      margin-top: 30px;
      padding: 25px 10px;
      border-radius: 20px;

      .button {
        width: 100%;
        position: static;
        margin-top: 20px;
      }
    }
  }

  @media screen and (min-width: 769px) and (max-width: 1024px) {
    margin: 80px 60px;

    h1 {
      font-size: 32px;
    }

    p {
      font-size: 15px;
      margin-bottom: 40px;
    }

    .contact-flex {
      flex-direction: row;
    }

    .mailform {
      margin-right: 20px;
      padding: 35px 30px;
      border-radius: 40px;

      .flex {
        flex-direction: row;

        .flex-box:nth-child(1) {
          margin-right: 15px;
        }
      }

      .box input,
      .flex-box input,
      .box textarea {
        width: calc(100% - 40px);
      }
    }

    .discord {
      padding: 30px 15px;
      border-radius: 24px;

      .button {
        width: 70%;
        position: absolute;
        bottom: 10px;
      }
    }
  }

  @media screen and (min-width: 2500px) {
    margin: 120px 400px;

    h1 {
      font-size: 40px;
    }

    p {
      font-size: 18px;
      margin-bottom: 60px;
    }

    .mailform {
      padding: 50px;
      border-radius: 60px;
      margin-right: 50px;

      .flex-box:nth-child(1) {
        margin-right: 30px;
      }

      .box input,
      .flex-box input,
      .box textarea {
        width: calc(100% - 40px);
        font-size: 20px;
      }
    }

    .discord {
      padding: 40px 30px;
      border-radius: 30px;

      .button {
        width: 60%;
        bottom: 10px;
      }
    }
  }
}

@media screen and (max-width: 400px) {
  .contact {
    margin: 40px 12px;

    h1 {
      font-size: 24px;
    }

    p {
      font-size: 13px;
      margin-bottom: 25px;
    }

    .mailform {
      padding: 25px 15px;
      border-radius: 24px;

      .flex {
        flex-direction: column;

        .flex-box:nth-child(1) {
          margin-right: 0;
          margin-bottom: 15px;
        }
      }

      .box input,
      .flex-box input,
      .box textarea {
        width: 100%;
        font-size: 15px;
        padding: 8px 16px;
      }
    }

    .checkbox {
      align-items: flex-start;

      p {
        font-size: 11px;
      }
    }

    .button {
      width: 100%;
      padding: 10px 16px;

      p {
        font-size: 15px;
      }
    }

    .discord {
      margin-top: 25px;
      padding: 20px 10px;
      border-radius: 18px;

      .button {
        width: 100%;
        position: static;
        margin-top: 15px;

        p {
          font-size: 15px;
        }
      }
    }
  }
}

@media screen and (min-width: 401px) and (max-width: 440px) {
  .contact {
    margin: 45px 16px;

    h1 {
      font-size: 26px;
    }

    p {
      font-size: 13.5px;
      margin-bottom: 28px;
    }

    .mailform {
      padding: 28px 18px;
      border-radius: 28px;

      .flex {
        flex-direction: column;

        .flex-box:nth-child(1) {
          margin-right: 0;
          margin-bottom: 18px;
        }
      }

      .box input,
      .flex-box input,
      .box textarea {
        width: 100%;
        font-size: 16px;
        padding: 9px 18px;
      }
    }

    .checkbox p {
      font-size: 11.5px;
    }

    .button {
      width: 100%;
      padding: 11px 18px;

      p {
        font-size: 15.5px;
      }
    }

    .discord {
      margin-top: 28px;
      padding: 23px 12px;
      border-radius: 20px;

      .button {
        width: 100%;
        position: static;
        margin-top: 18px;

        p {
          font-size: 15.5px;
        }
      }
    }
  }
}
  