@font-face {
  font-family: ICPangeaTextRegular;
  src: url('./ICPangeaText/ICPangeaText-RegularWeb.woff2');
  font-display: swap;
}

@font-face {
  font-family: ICPangeaTextLight;
  src: url('./ICPangeaText/ICPangeaText-LightWeb.woff2');
  font-display: swap;
}

@font-face {
  font-family: ICPangeaTextMedium;
  src: url('./ICPangeaText/ICPangeaText-MediumWeb.woff2');
  font-display: swap;
}

@font-face {
  font-family: ICPangeaTextSemiBold;
  src: url('./ICPangeaText/ICPangeaText-SemiBoldWeb.woff2');
  font-display: swap;
}

:root {
  --white: #fff;
  --black: #000;
  --blue: #3f3fea;
  --grey: #757575;
  --red: #ef2c26;
  --purple: #7a7aff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  direction: rtl !important;
  font-family: ICPangeaTextLight, sans-serif;
}

.error {
  outline: solid 3px var(--red) !important;
  border-bottom: 2px solid transparent !important;
}

.error::placeholder {
  color: var(--red) !important;
}

header {
  background: var(--purple);
}

.inner-header {
  display: flex;
  padding: 6vw 0 4vw;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8vw;
}

.logo {
  width: 34vw;
}

.logo img {
  width: 100%;
}

h2 {
  font-size: 10vw;
  font-weight: 400;
  color: var(--white);
  line-height: 11vw;
}

h3 {
  font-size: 5vw;
  font-weight: 700;
  color: var(--white);
  line-height: 7vw;
}

.header-img-container {
  width: 50vw;
}

.header-img-container img {
  width: 100%;
}

.inner-text-section {
  font-size: 4vw;
  line-height: 6vw;
  padding: 8vw;
  text-align: center;
}

.btns-container {
  display: flex;
  flex-direction: column;
  gap: 5vw;
  margin-top: 8vw;
}

.btn,
.btn:visited {
  display: flex;
  padding: 2vw 4vw;
  cursor: pointer;
  text-decoration: none;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 12px;
  gap: 2vw;
  align-items: center;
  font-size: 5vw;
  align-self: center;
}

.arrow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.5vw;
  margin-top: 0.5vw;
}

.arrow-container img {
  height: 100%;
}

.inner-terms-section {
  font-size: 2.9vw;
  margin: 0vw 5vw 5vw;
  color: var(--grey);
}

.hidden {
  display: none !important;
}

.desktop {
  display: none;
}

@media only screen and (min-width: 768px) {
  .inner-header,
  .inner-text-section,
  .inner-terms-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2rem;
  }

  .inner-header {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto;
    row-gap: 0;
    column-gap: 2rem;
    justify-content: unset;
    align-items: unset;
    text-align: start;
  }

  .logo {
    width: 210px;
  }

  h2 {
    font-size: 2.8rem;
    line-height: 3.6rem;
  }

  .header-img-container {
    height: 300px;
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    width: unset;
  }

  .header-img-container img {
    height: 100%;
    object-fit: contain;
  }

  .inner-text-section {
    text-align: start;
    font-size: 1.5rem;
    line-height: 2.3rem;
  }

  .btns-container {
    margin: 2rem 0 0 0;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
  }

  .btn {
    padding: 0.8rem 3rem;
    font-size: 1.8rem;
    gap: 0.6rem;
  }

  .arrow-container {
    height: 1.3rem;
    margin-top: 0.2em;
  }

  .terms-section {
    display: flex;
    justify-content: center;
  }

  .inner-terms-section {
    width: 1160px;
    padding-top: 0;
    font-size: 1rem;
  }

  .mobile {
    display: none;
  }

  .desktop {
    display: flex;
  }
}
