* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
}
header {
  padding: 24px;
  background-color: #f6f5f1;
}
.logo {
  width: 120px;
}

main {
  width: 100%;
}
.wave {
  width: 100%;
  background-color: #f6f5f1;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
}

.descriptions {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.texts p {
  margin-top: 16px;
}

.beta-btn {
  margin: auto;
  margin-top: 60px;
  background-color: #bac8bb;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 40px;
  font-size: 16px;
  border-radius: 20px;
  display: none;
}

.how-it-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 80px 0;
  padding: 0 24px;
}

.how-it-works h2,
.advent h2,
.contact-us h2 {
  margin-bottom: 30px;
}

.cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.works-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  border: 2px solid #bac8bb;
  border-radius: 12px;
  width: 70%;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #bac8bb;
  display: flex;
  justify-content: center;
  align-items: center;
}

.works-card-info {
  margin-top: 16px;
  text-align: center;
}

.works-card-info h3 {
}

.works-card-info p,
.advent-card p {
  margin-top: 12px;
}

.advent {
  padding: 40px;
  text-align: center;
  background-color: #f3f3ff;
}

.advent-card {
  text-align: center;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 12px;
  width: 100%;
}

.contact-us {
  margin-top: 40px;
  padding: 40px;
  text-align: center;
}
.input-box-tablet {
  display: none;
}
.email-mobile {
  width: 100%;
  height: 44px;
  padding: 8px 16px;
  border-radius: 5px;
  background-color: #bac8bb;
  border: none;
  outline: none;
  font-size: 18px;
  color: #ffffff;
}
.email-mobile::placeholder {
  color: #ffffff;
}

.error-mobile {
  height: 24px;
  color: red;
  font-size: 14px;
  text-align: left;
  margin-top: 4px;
}

.send-btn-mobile {
  margin: auto;
  margin-top: 10px;
  width: 100%;
  background: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

footer {
  margin-top: 60px;
  padding: 24px;
}

footer h3 {
  text-align: center;
  font-size: 12px;
}

.modal {
  position: fixed;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  bottom: 0;
  left: 0;
  padding: 16px 24px;
}

.beta-btn-mobile {
  width: 100%;
  font-size: 20px;
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bac8bb;
  color: #ffffff;
}

@media (min-width: 800px) {
  .logo {
    width: 170px;
  }
  header {
    padding: 20px 80px 0px 80px;
  }
  .wave {
    background-image: url(./illustrqtion-tablet.png);
    background-size: 100% auto;
    height: 450px;
  }
  .descriptions {
    padding: 0 80px;
    text-align: left;
    max-width: 50%;
  }
  .texts h2 {
    font-size: 36px;
  }
  .texts p {
    font-size: 14px;
  }
  .beta-btn {
    display: block;
    margin: 60px 0 0 0;
    width: fit-content;
    font-size: 20px;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .how-it-works .cards,
  .advent .cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .works-card {
    width: 200px;
    height: 300px;
  }
  .advent-card {
    padding: 48px 24px;
    width: 200px;
    height: 300px;
  }

  .contact-us form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
  }
  .input-box-mobile {
    display: none;
  }
  .input-box-tablet {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
  .box {
    width: 530px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 12px;
    letter-spacing: 0.06em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #bac8bb;
    color: #ffffff;
    margin: 24px auto 0 auto;
  }
  .email-tablet {
    width: 350px;
    font-size: 24px;
    background-color: transparent;
    outline: none;
    border: none;
    color: #ffffff;
  }
  .error-tablet {
    height: 24px;
    color: red;
    font-size: 16px;
    text-align: left;
    margin-top: 4px;
  }
  .email-tablet::placeholder {
    color: #ffffff;
  }
  .send-btn-tablet {
    background-color: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 24px;
    color: #ffffff;
  }
  .email-mobile {
    width: 300px;
  }

  .send-btn-mobile {
    width: auto;
    padding: 10px 40px;
  }
  .modal {
    display: none;
  }
}

@media (min-width: 950px) {
  .works-card,
  .advent-card {
    width: 250px;
    height: 270px;
  }
}

@media (min-width: 1280px) {
  .wave {
    height: 850px;
  }
}
