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

body {
  margin: 0;
  background: var(--color-bg--page);
  color: var(--color-text);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

:root {
  --color-text: #fff;
  --color-text--accent: #7388FF;
  --color-bg--page: #010725;
  --color-bg--header: #000;
  --color-bg--footer: #010D50;
}

/* poppins-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/poppins-v24-latin_latin-ext-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-italic - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/poppins-v24-latin_latin-ext-italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/poppins-v24-latin_latin-ext-500.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500italic - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/poppins-v24-latin_latin-ext-500italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/poppins-v24-latin_latin-ext-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700italic - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/poppins-v24-latin_latin-ext-700italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
* {
  font-size: 1rem;
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
}

h1 {
  font-size: 1.75rem;
  font-size: clamp(1.75rem, 1.3522727273rem + 1.696969697vw, 2.625rem);
  line-height: 120%;
  text-transform: uppercase;
}

h2 {
  font-size: 1.75rem;
  font-size: clamp(1.75rem, 1.3522727273rem + 1.696969697vw, 2.625rem);
  line-height: 140%;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-text--accent);
  line-height: 160%;
}

h4 {
  font-size: 1.125rem;
  color: #7388FF;
  line-height: 160%;
}

label {
  font-size: 1rem;
  line-height: 160%;
}

main {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wrapper {
  width: min(100%, 75rem);
  padding-block: 32px;
  padding-inline: 16px;
}
@media (width >= 75em) {
  .wrapper {
    padding: 0;
  }
}

li {
  list-style: none;
}

.required {
  color: #D80027;
}

.horizontal-divider {
  background: #7388FF;
  height: 1px;
  width: 100%;
}

#dialog:open {
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  padding: 32px;
  display: grid;
  gap: 16px;
  align-content: center;
  justify-items: center;
  box-shadow: 0 4px 50px 0 rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  background-color: var(--color-bg--footer);
  color: var(--color-text);
  border: none;
}
#dialog:open button {
  justify-self: center;
  border-radius: 5px;
  background: #0328EE;
  border: none;
  padding: 12px 24px;
  width: min(100%, 220px);
  color: var(--color-text);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  outline: none;
}

#dialog:open::backdrop {
  background-color: black;
  opacity: 0.8;
}

.header {
  background-color: var(--color-bg--header);
  display: flex;
  justify-content: center;
  padding-block: 29px;
  padding-inline: 16px;
}
@media (width >= 43.75em) {
  .header {
    padding-inline: 60px;
  }
}
.header__wrapper {
  width: min(100%, 90rem);
  display: flex;
  justify-content: space-between;
  align-items: start;
}
@media (width >= 43.75em) {
  .header__wrapper {
    align-items: center;
  }
}

.language__current {
  display: flex;
  align-items: center;
  gap: 8px;
}
.language__flag {
  width: 16px;
  height: 16px;
}

.language__picker {
  position: relative;
  cursor: pointer;
}

.language__current {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language__arrow {
  transition: transform 0.2s ease;
}

.language__picker.active .language__arrow {
  transform: rotate(180deg);
}

.language__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: none;
  min-width: 90px;
  z-index: 10;
}

.language__picker.active .language__dropdown {
  display: block;
}

.language__option {
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.language__option:hover {
  background: #f2f2f2;
}

.hero {
  width: 100%;
  background: url(../img/hero.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  padding: 16px;
}
@media (width >= 43.75em) {
  .hero {
    padding: 120px;
  }
}
.hero__content {
  max-width: 528px;
  display: grid;
  gap: 24px;
  padding-block: 24px;
}
.hero__content p {
  font-size: 1.125rem;
  font-size: clamp(1.125rem, 0.9545454545rem + 0.7272727273vw, 1.5rem);
  font-weight: 500;
  line-height: 160%;
}

.about {
  display: grid;
  gap: 32px;
}
@media (width >= 75em) {
  .about {
    grid-template-columns: 510px 1fr;
    padding-block: 80px;
    gap: 120px;
  }
}
.about__img {
  position: relative;
  margin: auto;
}
.about__background {
  display: none;
}
@media (width >= 75em) {
  .about__background {
    display: block;
  }
}
.about__man {
  background-color: #010d50;
  border-radius: 50%;
}
@media (width >= 75em) {
  .about__man {
    background-color: transparent;
    position: absolute;
    top: -30px;
    left: 50px;
  }
}
.about__content {
  display: grid;
  gap: 24px;
}

.currencies {
  display: grid;
  gap: 32px;
}
@media (width >= 43.75em) {
  .currencies {
    padding-bottom: 60px;
  }
}
.currencies h2 {
  text-align: center;
}

.currency {
  background-color: var(--color-bg--footer);
  border-radius: 32px;
  height: 100%;
}
.currency__content {
  display: grid;
  gap: 24px;
  justify-items: center;
  padding: 16px;
}
@media (width >= 43.75em) {
  .currency__content {
    padding: 32px;
  }
}
.currency img {
  border-radius: 50%;
  box-shadow: 0 0 48px 0 #5971F4;
}

.currencies .splide__arrow {
  top: auto;
  bottom: 0;
  transform: translateY(50%);
  border-radius: 0;
  background-color: #0328EE;
  opacity: 1;
}
@media (width >= 75em) {
  .currencies .splide__arrow {
    bottom: 40%;
    transform: translateY(-50%);
  }
}

.currencies .splide__arrow svg {
  fill: #fff;
}

.splide__arrow.splide__arrow--prev {
  left: 48px;
}
@media (width >= 75em) {
  .splide__arrow.splide__arrow--prev {
    left: -10px;
  }
}

.splide__arrow.splide__arrow--next {
  right: 48px;
}
@media (width >= 75em) {
  .splide__arrow.splide__arrow--next {
    right: -10px;
  }
}

.currencies .splide__pagination {
  bottom: 0;
  transform: translateY(50%);
}

.currencies .splide__pagination__page {
  background: #7388FF;
}
.currencies .splide__pagination__page.is-active {
  background: #0328EE;
}

.cta {
  padding-block: 48px;
  text-align: center;
}
@media (width >= 75em) {
  .cta {
    padding-block: 120px;
  }
}
.cta p, .cta a {
  font-size: 1.5rem;
}
.cta a {
  color: #0328EE;
}
.cta a:hover {
  color: var(--color-text);
}

footer {
  background-color: var(--color-bg--footer);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  padding-block: 42px;
}
@media (width >= 43.75em) {
  footer {
    gap: 32px;
  }
}
footer .separator {
  color: #5971F4;
}
footer a {
  color: var(--color-text);
  font-size: 0.875rem;
  text-align: center;
}
footer a:hover {
  color: #5971F4;
}

.form {
  background-color: #000;
  display: grid;
  justify-items: start;
  gap: 32px;
  box-shadow: 0 4px 50px 0 rgba(0, 0, 0, 0.05);
  border-radius: 15px;
}
.form__header {
  width: 100%;
  display: grid;
  justify-items: center;
  background: url(../img/form-header-bg.png);
  background-repeat: no-repeat;
  background-size: auto;
  padding-block: 22px;
}
@media (width >= 75em) {
  .form__header {
    padding-bottom: 81px;
    background-size: cover;
  }
}
.form__header .wrapper {
  display: grid;
  gap: 24px;
  justify-items: center;
}
@media (width >= 75em) {
  .form__header .wrapper {
    grid-template-columns: 413px 1fr;
    gap: 95px;
  }
}
.form__header .about__content {
  align-content: center;
}
.form__img {
  position: relative;
}
.form__pic1 {
  position: absolute;
  z-index: 5;
}
.form__pic2 {
  position: relative;
  z-index: 6;
}
@media (width >= 75em) {
  .form {
    padding: 60px;
    margin-block: 80px;
    gap: 42px;
  }
}
.form__title {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.form__body {
  display: grid;
  gap: 32px;
  width: 100%;
}
.form__cat {
  display: grid;
  gap: 10px;
}
.form .fields {
  display: grid;
  gap: 10px;
}
.form .fields__row {
  display: grid;
  gap: 10px;
}
@media (width >= 43.75em) {
  .form .fields__row {
    grid-auto-flow: column;
  }
}
.form .fields__field {
  display: grid;
  gap: 6px;
}
.form .fields input {
  background: #010D50;
  border: none;
  box-shadow: 0 2px 4px 0 rgba(66, 80, 102, 0.1);
  border-radius: 5px;
  padding: 12px;
  color: var(--color-text);
}
.form .fields input[type=file] {
  cursor: pointer;
}
.form button {
  justify-self: center;
  border-radius: 5px;
  background: #0328EE;
  border: none;
  padding: 12px 24px;
  width: min(100%, 220px);
  color: var(--color-text);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.form__comments {
  display: grid;
  gap: 24px;
}
.form__comments > p {
  font-size: 0.75rem;
  line-height: 160%;
}
.form__annotation {
  font-size: 0.75rem;
  color: #8B8884;
  line-height: 160%;
}
@media (width >= 43.75em) {
  .form__annotation {
    text-align: center;
    padding-bottom: 22px;
  }
}/*# sourceMappingURL=style.css.map */