:root {
  --font-onest: 'Onest', sans-serif;
  --color-blue: #0541F5;
  --color-white: #fff;
  --color-dark: #000000;
  --header-height: 100px;
  --color-red: #E81111;
  --color-dark-gray: #999999;
}

.color--blue {
  color: var(--color-blue);
}

.color--dark-gray {
  color: var(--color-dark-gray);
}

.color--red {
  color: var(--color-red);
}

.color--dark {
  color: var(--color-dark);
}

.color--gray {
  color: #70748C;
}

.color--white {
  color: var(--color-white);
}

.fw--700 {
  font-weight: 700;
}

.fw--500 {
  font-weight: 500;
}

body.opened {
  overflow: hidden;
}

.container {
  width: 100%;
  padding: 0 50px;
  margin: 0 auto;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blue);
  font-family: var(--font-onest);
  padding: 22px 50px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 22px;
  border-radius: 14px;
  line-height: 100%;
  animation: shadow-ping 4s infinite;
  transition: all 0.3s ease;
}

.error-text.hidden {
  display: none;
}

.error-text.active {
  margin: 10px 0;
  display: block;
}

.input {
  width: 100%;
  color: var(--color-dark);
  font-size: 18px;
  line-height: 100%;
  padding: 30px 38px;
  border-radius: 14px;
  border: 1px solid #CFCFCF;
}

.input.error {
  border: 1px solid var(--color-red);
}

.input::placeholder {
  color: var(--color-dark-gray);
  font-size: 18px;
  line-height: 100%;
}

.input--with-margin {
  margin-bottom: 20px;
}

.text-x-big {
  font-size: 32px;
  line-height: 120%;
}

.text-big {
  font-size: 22px;
  line-height: 100%;
}

.text-medium {
  font-size: 18px;
  line-height: 120%;
}

.text-default {
  font-size: 16px;
  line-height: 110%;
}

.section-title {
  font-size: 64px;
  line-height: 120%;
  font-weight: 500;
}

@media screen and (max-width: 1441px) {
  .button {
    font-size: 14px;
    line-height: 16px;
  }
}

@media screen and (max-width: 1141px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }

  .button {
    padding: 10px;
  }
}

@keyframes shadow-ping {
  0% {
    box-shadow: 0 0 5px #0541f52e, 0 0 0 8px #0541f52e;
  }

  60% {
    box-shadow: 0 0 0 6px #0541f50d, 0 0 0 11px #0541f500;
  }

  100% {
    box-shadow: 0 0 0 5px #0541f500, 0 0 0 11px #0541f500;
  }
}

.spinner-wrapper {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px);
  width: 100%;
  height: 100%;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spinner-wrapper.active {
  display: flex;
}

.spinner {
  width: 80px;
  height: 80px;
  border: 8px solid transparent;
  border-top: 8px solid var(--color-blue);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1681px) {
  .section-title {
    font-size: 50px;
  }

  .text-x-big {
    font-size: 28px;
  }

  .text-big {
    font-size: 20px;
  }

  .text-medium {
    font-size: 16px;
  }

  .button {
    font-size: 20px;
  }
}

@media screen and (max-width: 1141px) {
  .section-title {
    font-size: 32px;
  }

  .text-x-big {
    font-size: 26px;
  }

  .text-big {
    font-size: 18px;
  }

  .text-medium {
    font-size: 14px;
  }

  .button {
    font-size: 18px;
    padding: 24px;
  }

  .input {
    padding: 26px 20px;
  }
}