@font-face {
  font-family: "regular";
  src: url("./fonts/ploni-regular-aaa.woff2");
}

@font-face {
  font-family: "bold";
  src: url("./fonts/ploni-bold-aaa.woff2");
}

@font-face {
  font-family: "almoni";
  src: url("./fonts/almonineuedl40aaaregular.otf");
}

@font-face {
  font-family: "almoni-bold";
  src: url("./fonts/almonineuedl40aaabold.otf");
}

* {
  margin: 0;
  padding: 0;
  direction: rtl;
  box-sizing: border-box;
}

html,
body {
  line-height: 1;
  min-height: 100svh;
  font-family: "regular";
}

.site-header {
  flex-direction: row;
  gap: 2vw;
  position: relative;
  width: 100%;
  background: white;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1vw 1vw;
  z-index: 10;
}

.main {
  position: relative;
  width: 100%;
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}
.content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  background-image: url(./assets/BG.jpg);
  background-color: #009b76;
  background-size: 100% auto;
  aspect-ratio: 1920/1000;
  background-position: top center;
  background-repeat: no-repeat;
}

.title1 {
  position: relative;
  justify-self: flex-start;
  align-self: flex-end;
  margin-top: 10vw;
  width: 50vw;
  margin-left: 7vw;
}
.logo {
  height: 3.5vw;
  width: 12vw;
}
.logo2{
  width: 10vw;
}
.form-container {
  position: fixed;
  width: 100%;
  height: 100%;
  padding: 1.5vw;
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  background: #c5d305;
  border-radius: 1vw;
  padding: 2vw;
}
.form-close {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5vw;
  background: #c5d305;
  border-radius: 0.75vw;
  width: fit-content;
  cursor: pointer;
}
.form-title {
  font-family: "regular";
  font-size: 2vw;
  color: #009b76;
  text-align: center;
}
.input-field {
  padding: 0 0.8vw;
  border-radius: 0.5vw;
  border: 0.2vw solid #009b76;
  font-family: "bold";
  font-size: 1.5vw;
  color: #009b76;
  outline: none;
}

.input-field::placeholder {
  color: #123985;
  font-family: "bold";
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3vw;
}

.field-label {
  font-family: "bold";
  font-size: 1.4vw;
  color: #009b76;
}
.checkbox-row span {
  color: #009b76;
}
.checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5vw;
  cursor: pointer;
  font-family: "bold";
  font-size: 1.2vw;
  color: #123985;
}

.checkbox-row input[type="checkbox"] {
  width: 1.1vw;
  height: 1.1vw;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #123985;
}

.submit-btn {
  border: none;
  width: 50%;
  align-self: flex-end;
  border-radius: 2vw;
  border: 0.2vw solid #009b76;
  background: white;
  color: #009b76;
  font-family: "bold";
  font-size: 1.5vw;
  cursor: pointer;
}
.form-event {
  font-size: 1.5vw;
  color: #123985;
  text-align: center;
}
.desktop {
  display: flex;
}
.show {
  display: flex;
}

.sign-container {
  margin-top: 3vw;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 3vw;
  padding: 2vw;
  width: 60%;
  background-color: white;
  border: 4px solid #c5d305;
  border-radius: 2vw;
  margin-bottom: 2vw;
}
.sign-btn {
  width: 40%;
  border: none;

  border-radius: 1vw;
  background-color: #c5d305;
  border: 4px solid #009b76;
  font-family: "bold";
  border-radius: 4vw;
  color: #009b76;
  font-size: 2.6vw;
  cursor: pointer;
}
.table-container {
  width: 62%;
  font-size: 1.2vw;
  margin-bottom: 3vw;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table td {
  border: 0.25vw solid white;
  padding: 1vw 1.2vw;
  vertical-align: top;
  color: #0a6f53;
  line-height: 1.35;
  font-family: "almoni";
}
.td-time {
  direction: ltr;
  text-align: left;
  white-space: nowrap;
  width: 1%;
}
.td-en {
  direction: ltr;
  text-align: left;
}
.table strong {
  font-family: "almoni-bold";
}
.table tr:nth-child(odd) td {
  background: #e8edc9;
}
.table tr:nth-child(even) td {
  background: #e8f5ef;
}
.table ul {
  margin: 0.5vw 0 0;
  padding-right: 1.4vw;
  list-style: disc;
}
.table li {
  margin-top: 0.4vw;
}
.table li::marker {
  color: #0a6f53;
}
.Title3 {
  width: 34vw;
}
.error {
  outline: 1px solid tomato;
}
.error::placeholder {
  color: tomato;
}
.desktop {
  display: block;
}
.mobile {
  display: none;
}

@media (max-width: 768px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: flex;
  }
  .site-header {
    padding: 2vw;
    gap: 5vw;
  }
  .logo{
    width: 35vw;
    height: unset;
  }
  .logo2{
    width: 25vw;
  }
  .main {
    flex-direction: column;
    align-items: center;
    gap: 2vw;
  }
  .content {
    padding-bottom: 7vw;
    aspect-ratio: 429/838;
    background-image: url(./assets/BG_mob.jpg);
  }
  .title1{
    width: 70vw;
    align-self: center;
    margin-left: unset;
    margin-top: 38vw;
    filter: drop-shadow(0 0.8vw 1vw rgba(0, 0, 0, 0.35));
  }
  .form {
    gap: 2vw;
    width: 90%;
    border-radius: 3vw;
    padding: 6vw;
  }
  .form-close {
    border-radius: 3vw;
    padding: 2vw;
  }
  .form-title2,
  .form-title {
    font-size: 7vw;
  }
  .input-field {
    font-size: 7vw;
    border-radius: 1.6vw;
    border: 0.1vw solid #123985;
    padding-right: 2vw;
  }
  .submit-btn {
    font-size: 7vw;
    border-radius: 1.6vw;
  }
  .form-event {
    font-size: 5.5vw;
  }
  .field-label{
    font-size: 5vw;
  }
  .checkbox-row{
    font-size: 5vw;
  }
  .submit-btn{
    border-radius: 5vw;
  }
  .sign-container{
    margin-top: 10vw;
    align-items: center;
    justify-content: center;
    gap: 4vw;
    padding: 3vw;
    width: 82%;
  }
  .Title3{
    width: 45vw;
  }
  .sign-btn{
    padding: 1.5vw 3vw;
    width: unset;
    font-size: 4vw;
    align-self: center;
    border: 3px solid white;
    text-align: center;
    white-space: nowrap;
  }
  .form-container{
    width: 100%;
    height: 80%;
  }
  .table-container {
    width: 90%;
    font-size: 2.6vw;
    margin-bottom: 6vw;
  }
  .table td {
    border-width: 0.5vw;
    padding: 2vw;
  }
  .table ul {
    padding-right: 3vw;
  }
  .checkbox-row input[type="checkbox"] {
    width: 4vw;
    height: 4vw;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #123985;
  }
}
