@font-face {
  font-family: "W95FA";
  src: url("../assets/font/w95fa.woff2") format("woff2"),
    url("../assets/font/w95fa.woff") format("woff"),
    url("../assets/font/W95FA.otf") format("opentype");
}

* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

input,
label {
  user-select: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}

body {
  background: url("../assets/img/formbg.png") no-repeat center center;
  background-size: cover;
  font-family: "W95FA", sans-serif;
}

.menu-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
}

.menu-image {
  width: 100%;
  height: auto;
  opacity: 0;
}

.menu-areas {
  position: absolute;
  inset: 0;
}

.card {
  position: fixed;
  top: -200px;
  right: -85px;
  height: auto;
  max-width: 40%;
}

.formtable {
  top: 10%;
  right: 33%;
  position: absolute;
  height: auto;
  max-width: 70%;
}

.congratulation {
  top: 30%;
  right: 40%;
  position: absolute;
  height: auto;
  max-width: 50%;
}

.btn-like {
  position: absolute;
  top: 30%;
  left: 0%;
  max-width: 25%;
  cursor: pointer;
}

.checkbox-area {
  position: absolute;
  top: 35%;
  left: 27%;
  font-size: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-area input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border: 3px solid #000;
  background: #d9d9d9;
  cursor: pointer;
  position: relative;
}

.checkbox-area input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid #000;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.input-username {
  position: absolute;
  background: transparent;
  border: none;
  outline: none;
  font-family: "W95FA";
  font-size: 30px;
  color: #000;
  width: 25%;
  height: 35px;
  padding-left: 12px;
  top: 46%;
  left: 0%;
}

.input-wallet {
  position: absolute;
  background: transparent;
  border: none;
  outline: none;
  font-family: "W95FA";
  font-size: 30px;
  color: #000;
  width: 25%;
  height: 35px;
  padding-left: 12px;
  top: 56%;
  left: 0%;
}

.field-username {
  position: absolute;
  top: 43%;
  left: 0%;
  max-width: 30%;
  cursor: pointer;
}

.field-wallet {
  position: absolute;
  top: 53%;
  left: 0%;
  max-width: 30%;
  cursor: pointer;
}

#submitButton {
  position: absolute;
  top: 60%;
  left: 47%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 15%;
  height: auto;
}

.btn-submit {
  width: 100%;
  height: auto;
  cursor: pointer;
}

@media (max-width: 768px) {
  body {
    background: url("../assets/img/formbg2.png") no-repeat center center;
    background-size: cover;
  }

  .card {
    top: -120px;
    right: -60px;
    max-width: 55%;
  }

  .formtable {
    top: 18%;
    right: 15%;
    max-width: 70%;
  }

  .congratulation {
    top: 42%;
    right: 18%;
    max-width: 70%;
  }

  .checkbox-area {
    top: 55%;
    left: 20%;
    font-size: 20px;
    gap: 8px;
  }

  .checkbox-area input[type="checkbox"] {
    width: 22px;
    height: 22px;
    border-width: 2px;
  }

  .field-username {
    top: 50%;
    left: 10%;
    max-width: 55%;
  }

  .field-wallet {
    top: 58%;
    left: 10%;
    max-width: 55%;
  }

  #submitButton {
    top: 70%;
    left: 35%;
    width: 30%;
  }

  .btn-submit {
    top: 70%;
    left: 35%;
    max-width: 30%;
  }
}

@media (max-width: 480px) {
  .card {
    top: 45%;
    right: 5%;
    max-width: 90%;
  }

  .formtable {
    top: 20%;
    right: 5%;
    max-width: 90%;
  }

  .congratulation {
    top: 40%;
    right: 5%;
    max-width: 80%;
  }

  .btn-like {
    position: absolute;
    top: 29%;
    left: 10%;
    max-width: 25%;
    cursor: pointer;
  }

  .checkbox-area {
    top: 30%;
    left: 40%;
    font-size: 11px;
  }

  .checkbox-area input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 3px solid #000;
    background: #d9d9d9;
    cursor: pointer;
    position: relative;
  }

  .checkbox-area input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 1px;
    width: 10px;
    height: 10px;
    border: solid #000;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
  }

  .field-username {
    top: 35%;
    left: 10%;
    max-width: 40%;
  }

  .field-wallet {
    top: 40%;
    left: 10%;
    max-width: 40%;
  }

  .input-username {
    position: absolute;
    background: transparent;
    border: none;
    outline: none;
    font-family: "W95FA";
    font-size: 16px;
    color: #000;
    width: 30%;
    height: 35px;
    padding-left: 12px;
    top: 35%;
    left: 10%;
  }

  .input-wallet {
    position: absolute;
    background: transparent;
    border: none;
    outline: none;
    font-family: "W95FA";
    font-size: 16px;
    color: #000;
    width: 30%;
    height: 35px;
    padding-left: 12px;
    top: 40%;
    left: 10%;
  }

  #submitButton {
    top: 41%;
    left: 53%;
    width: 50%;
  }

  .btn-submit {
    width: 100%;
    height: auto;
    cursor: pointer;
  }
}
