:root,
html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  color: #fff;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;

  .glow {
    position: fixed;
    width: 100vmax;
    height: 100vmax;
    left: -50vmax;
    top: -50vmax;
    background: radial-gradient(
      50% 50% at 50% 50%,
      #42281a 0%,
      rgba(15, 11, 10, 0) 70%
    );
    z-index: -1;
    pointer-events: none;
  }

  .navbar {
    margin-top: 5vh;
    display: flex;
    width: min(485px, 90%);
    height: 63px;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    background: #f36214;
    border-radius: 93px;
    padding: 0 20px;

    p {
      height: 20px;
      font-family: "Poppins";
      font-style: normal;
      font-size: clamp(14px, 3vw, 16px);
      line-height: 20px;
      text-align: center;
      color: #ffffff;
      cursor: pointer;
      transition: 0.1s ease-in-out;
      white-space: nowrap;

      &:hover {
        color: #e2e2e2;
      }
    }

    .language {
      display: flex;
      align-items: center;
      height: 21px;

      .flag {
        width: 51px;
        height: 21px;
      }

      .line {
        border: 1px solid #fff;
        height: 22px;
        margin: 0 10px;
      }
    }
  }

  .box {
    margin-top: 6vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1b120e;
    padding: 0 clamp(20px, 5vw, 120px) 20px;
    border: 1px solid #f36214;
    border-radius: 51px;
    width: min(90%, 800px);
    box-sizing: border-box;

    h1 {
      margin: 44px 0 0 0;
      font-family: "ClashDisplay-Semibold";
      font-weight: 600;
      font-size: clamp(28px, 5vw, 36px);
      line-height: 100%;
      letter-spacing: 0%;
      color: #f36214;
      text-align: center;
    }

    h3 {
      margin-top: 10px;
      font-family: Poppins;
      font-weight: 400;
      font-size: clamp(14px, 3vw, 16px);
      line-height: 100%;
      letter-spacing: 0%;
      text-align: center;
      color: #945833;
    }

    .boksiki {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      width: 100%;
      gap: 15px;

      .boxInput1 {
        width: 100%;

        @media (min-width: 768px) {
          width: calc(50% - 8px); /* Dokładne obliczenie z uwzględnieniem gap */
        }

        p {
          font-family: Poppins;
          font-weight: 400;
          font-size: clamp(14px, 3vw, 16px);
          line-height: 100%;
          letter-spacing: 0%;
          color: #fff;
          margin-bottom: 6px;
        }

        input {
          width: 100%;
          max-width: 100%;
          background-color: #150d0a;
          color: #945833;
          border-radius: 73px;
          height: 42px;
          padding: 2px 20px;
          outline: 0;
          border: 0;
          box-sizing: border-box;
          font-family: Poppins;

          &::placeholder {
            color: #945833;
          }
        }
      }
    }

    .boxInput {
      width: 100%;
      max-width: 100%;

      p {
        font-family: Poppins;
        font-weight: 400;
        font-size: clamp(14px, 3vw, 16px);
        line-height: 100%;
        letter-spacing: 0%;
        color: #fff;
        margin-bottom: 6px;
      }

      input {
        width: 100%;
        max-width: 100%;
        background-color: #150d0a;
        color: #945833;
        border-radius: 73px;
        height: 42px;
        padding: 2px 20px;
        outline: 0;
        border: 0;
        box-sizing: border-box;
        font-family: Poppins;

        &::placeholder {
          color: #945833;
        }
      }
    }

    .boxOption {
      width: 100%;
      display: flex;
      flex-wrap: wrap; /* Wrapping on mobile */
      justify-content: space-between;
      gap: 10px;

      .rememberme {
        display: flex;
        align-items: center;
        margin: 14px 0 30px;
      }

      .rememberme {
        .neon-checkbox {
          --primary: #b66330;
          --primary-dark: #663c22;
          --primary-light: #d36c2c;
          --size: 20px;
          margin-right: 5px;
        }

        p {
          font-family: "Poppins";
          font-weight: 400;
          font-size: clamp(12px, 3vw, 14px);
          line-height: 15px;
          color: #ffffff;
          margin: 3px 0 0 0;
          width: auto;
          max-width: 400px;
        }
        a {
          cursor: pointer;
          color: #f36214;
        }
      }
    }

    .button {
      font-family: "Poppins";
      font-weight: 600;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      padding: 0px 24px;
      gap: 4px;
      width: 100%;
      max-width: 457px;
      height: 44px;
      background: #f36214;
      border-radius: 43px;
      margin: 0 auto;
      box-sizing: border-box;
    }
    .box-p {
        font-family: 'Poppins';
        font-weight: 400;
        font-size: 14px;
        line-height: 15px;
        text-align: center;
        color: #F36214;
    }
    .box-p a{
        color: #ffffff;
    }
  }


  @media (max-width: 480px) {
    .navbar {
      height: auto;
      padding: 10px;
      flex-wrap: wrap;
      gap: 10px;

      p {
        white-space: normal;
        line-height: 1.2;
      }
    }

    .box {
      padding: 0 15px 20px;
      margin-top: 4vh;
      border-radius: 30px;
    }
  }

  @media (max-width: 768px) {
    .boksiki {
      flex-direction: column;

      .boxInput1 {
        width: 100% !important;
      }
    }

    .boxInput,
    .boxInput1 {
      input {
        width: 100% !important;
        max-width: 100% !important;
      }
    }
  }
}