/* space-grotesk-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/space-grotesk-v16-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* space-grotesk-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/space-grotesk-v16-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* space-grotesk-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/space-grotesk-v16-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* space-grotesk-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Icomoon";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/icomoon.woff") format("woff"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*,
*::before,
*::after {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

:root {
  font-size: 62.5%;
  --font-sans-serif: "Space Grotesk";
  --font-icon: "Icomoon";
  --color: #000000;
  --primary-color: #adafff;
  --primary-color-dark: #8f91fd;
  --err-color: #ef233c;
}

.logo {
  font-family: var(--font-sans-serif);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}

.logo .box {
  border: 1px solid var(--color);
  background-color: var(--primary-color);
  padding: 0.2rem 0.5rem;
}

header {
  width: 100%;
  border-bottom: solid 2px var(--color);
  padding: 2rem;
}

.hero {
  border-bottom: 2px solid var(--color);
  padding: 4rem 0rem;
  background-color: #ffe092;
}

.highlight h1 {
  font-family: var(--font-sans-serif);
  font-size: 5rem;
  font-weight: 700;
  text-align: center;
}

.highlight p {
  font-family: var(--font-sans-serif);
  font-size: 2rem;
  text-align: center;
  padding: 2rem;
}

main {
  max-width: 1024px;
  margin: auto;
  border-left: solid 2px var(--color);
  border-right: solid 2px var(--color);
}

.short-benifits-container {
  margin: auto;
  max-width: fit-content;
  padding: 5rem 2rem;
}

.short-benifits {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.check-item {
  font-family: var(--font-sans-serif);
  font-size: 2rem;
  font-weight: 400;
  display: inline-flex;
  gap: 1rem;
  justify-content: start;
  align-items: flex-start;
}

.check {
  font-family: var(--font-icon);
  border: solid 0.2rem var(--color);
  padding: 0.3rem;
  width: fit-content;
  background-color: #80ca95;
  border-radius: 0.4rem;
}

.cta-box {
  display: flex;
  margin: auto;
  width: fit-content;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 0rem;
}

.cta-input {
  font-family: var(--font-sans-serif);
  font-size: 2rem;
  border: solid 2px var(--color);
  padding: 1.5rem 2rem;
  border-radius: 0.4rem;
  display: block;
  width: 40rem;
  outline: none;
}

.cta-input:active {
  transform: translate(0.5rem, 0.5rem);
}

.cta-btn {
  font-family: var(--font-sans-serif);
  font-size: 2rem;
  font-weight: 500;
  display: block;
  background-color: var(--primary-color);
  border: 2px solid var(--color);
  padding: 1.5rem 2rem;
  width: 40rem;
  border-radius: 0.4rem;
  box-shadow: var(--color) 1rem 1rem;
  cursor: pointer;
  outline: none;
}

.cta-btn:active {
  transform: translate(0.5rem, 0.5rem);
  background-color: var(--primary-color-dark);
}

.feature {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  padding: 8rem;
  border-bottom: solid 2px var(--color);
}

.feature-text {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-sans-serif);
  gap: 2rem;
}

.feature-text h2 {
  font-size: 3rem;
  font-weight: 500;
}

.feature-text p {
  font-size: 2rem;
  line-height: 160%;
}

.feature-img {
  width: 40rem;
}

.action {
  padding: 4rem;
  background-color: #ffba08;
  border-bottom: solid 2px var(--color);
}

.action h2 {
  font-family: var(--font-sans-serif);
  font-weight: 500;
  font-size: 3rem;
  text-align: center;
  padding-top: 4rem;
}

.faq {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
  padding: 4rem 0rem;
  gap: 2rem;
}

.faq h2 {
  font-family: var(--font-sans-serif);
  font-size: 3rem;
  font-weight: 500;
  padding: 4rem 0rem;
}

.faq-element {
  font-family: var(--font-sans-serif);
  font-size: 2rem;
  border: solid 2px var(--color);
  border-radius: 0.4rem;
}

.faq-element[open] {
  padding: 2rem 3rem;
}

.faq-element summary {
  padding: 4rem 6rem 2rem;
  margin: -2rem -3rem 0;
}

.faq-element[open] summary {
  padding: 2rem 3rem;
  margin-bottom: 2rem;
  border-bottom: solid 2px var(--color);
}

footer {
  width: 100%;
  border-top: solid 2px var(--color);
  padding: 2rem;
}

.dialog-success {
  width: 60%;
  margin: auto;
  position: relative;
  border: solid 2px var(--color);
  border-radius: 0.4rem;
}

.dialog-success::backdrop {
  backdrop-filter: blur(2rem);
}

.dialog-close {
  font-family: var(--font-icon);
  border: none;
  background-color: transparent;
  font-size: 2.5rem;
  outline: none;
  text-align: right;
  width: 100%;
  padding: 2rem 2rem 0rem 0rem;
  cursor: pointer;
}

.dialog-box {
  display: block;
  font-family: var(--font-sans-serif);
  padding: 4rem;
}

.dialog-box h3 {
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
}

.dialog-box p {
  font-size: 2rem;
  text-align: center;
  padding: 2rem 0rem;
}

@media (max-width: 64rem) {
  main {
    border: none;
  }
  .highlight h1 {
    font-size: 4rem;
  }
  .cta-input,
  .cta-btn,
  .feature-img {
    width: 100%;
  }
  .feature {
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 4rem;
  }
  .action {
    padding: 4rem 2rem;
  }
  .dialog-success {
    width: 90%;
    padding: 2rem;
  }
  .dialog-box {
    padding: 2rem 0rem;
  }
}
