html,
body {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  background-image: url('/flamboyant/beach.png');
  background-repeat: no-repeat;
  background-size: cover;
}

#done.visible {
  display: flex;
}
#done {
  display: none;
  z-index: 100;
  inset: 0;
  position: absolute;
  background-color: white;
  font-size: 1.5rem;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
}
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  font-family: "Hero New";
  overflow: hidden;

/*   @media(max-width: 1000px) {
    height: auto;
  } */
}

.container .all-width {
  width: 100%;
  overflow: hidden;
}

.container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 2rem;
  padding-top: 5rem;
  height: 100%;
  gap: 3rem;

  flex-direction: row;
  width: 100%;
  overflow: hidden;
  /*! flex-wrap: wrap; */
  box-sizing: border-box;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  @media(max-width: 1000px) {justify-content: flex-start; align-items: center; flex-direction: column; padding: 2rem 1rem; gap: 1rem;}

  @media(max-width: 400px) {justify-content: flex-start; align-items: center; flex-direction: column; padding: 2rem .5rem;}
}
 h1 {
  color: #fff;
  font-weight: 600;
  font-size: 4.4rem;
  line-height: 95px;
  letter-spacing: 2%;

  z-index: 2;
  width: auto;
  max-width: 55rem;
  @media(max-width: 1000px) {font-size: 1.5rem; text-align: center; line-height: 30px;order: 1;}
}

.container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  background-color: #fff;
  width: 42rem;
  border: solid 1px #E4E4E7;
  border-radius: 16px;
  padding: 2rem;

  z-index: 2;
  max-width: 30rem;
  order: 3;
  box-sizing: border-box;
  max-width: 40rem;
  position: relative;
  @media(max-width: 1000px) {width: 100%; padding: 1.5rem;}
   @media(max-width: 400px) {padding: 1rem;}
}

.container form .title {
  @media(max-width: 1000px) {
    text-align: center;
    font-size: 1.2rem;
  }
}

.container form .submit-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #577B7B;
  color: #fff;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
}

.container form .submit-button:hover {
  transform: scale(1.03);
}

.container form .foreigner-wrapper {
  display: flex;
  gap: 1rem;
}

.container form .input-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.container form .input-item label {
  font-weight: 600;
}

.container form .address-wrapper {
  display: flex;
  gap: 0.5rem;
}

.container form .address-wrapper .input-dropdown button {
  height: 100%;
  border-radius: 0.75rem;
}

.container form .title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 1rem; */
}

.container .privacy-warn {
  text-align: center;
  color: #71717A;
  font-size: 0.8rem;
}

.container .privacy-warn a {
  color: #71717A;
  font-weight: 600;
  text-decoration: underline 0.5px;
}

.container footer {
  position: absolute;
  width: fit-content;
  left: 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.5rem;
  z-index: 2;
  /*! max-height: 7rem; */
  bottom: 2rem;
  height: 9rem;
  /*! overflow: hidden; */
  max-width: 36rem;
  img {
    width: calc(calc(100% /3) - 2rem);
    height: fit-content;
    object-fit: contain;
    box-sizing: border-box;
  }
  @media(max-width: 1000px) {background-color: rgb(255, 255, 255); border: 1px solid rgb(228, 228, 231); border-radius: 16px; box-sizing: border-box; position: relative; padding: 0.5rem 1rem; order: 1; left: unset; bottom: unset; max-width: 40rem; width: auto; height: fit-content; gap: 1rem;align-items: center;justify-content: center;}
    @media(max-width: 400px) {}
}

.background-image {
  position: absolute;
  inset: 0;
  background-image: url('/flamboyant/beach.png');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  height: 100%;
  width: 100%;
}

.gradient-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, black 70%, white);
  z-index: 1;
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
  height: 100%;
  width: 100%;
}

.generic-input {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 2px solid #d4d4d8;
  background: var(--Neutral-0, #fff);

  &:focus {
      outline: none;
  }

  color: var(--Neutral-950, #09090b);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;

  &[aria-invalid='true'] {color: var(--Neutral-950, #09090b); font-size: 1rem; font-weight: 400; line-height: 1rem;}
}

.foreigner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 0.8rem;
}

.checkmark-wrapper {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  background: #fff;
  border: 2px solid #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s;
}

.checkmark-wrapper[aria-checked='true'] {
  background: #577B7B;
  border-color: #577B7B;
}

.check {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
  background-color: white;
  opacity: 0;
  transition: opacity 0.1s;
}

.check-icon {
  font-size: 1rem;
  color: white;
  opacity: 1;
  transition: opacity 0.1s;
}


.checkmark-wrapper[aria-checked='true'] .check {
  opacity: 1;
}

.dropdown-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dropdown-select {
  padding: 0.85rem 1.5rem;
  border: 2px solid #d4d4d8;
  border-radius: 0.75rem;
  background-color: white;
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' stroke='%23666' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8l4 4 4-4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

.dropdown-select:focus {
  outline: none;
  border-color: #577B7B;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #d4d4d8;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: white;
}

.phone-input-wrapper input {
  border: none;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  outline: none;
  background-color: transparent;
}

.phone-country {
  width: fit-content;
  text-align: center;
  border: none;
  padding: .25rem !important;
}

.phone-number {
  width: 10rem;
}

.separator {
  width: 2px;
  height: 1.5rem;
  background-color: #d4d4d8;
}


@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New Hairline.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New Thin.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New Super.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Hero New';
  src: url('/fonts/hero-new/Hero New UltraLight.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}
