* {
  box-sizing: border-box;
  outline: none;
  margin: 0;
}

body {
  color: black;
  background-color: #fafbfd;
  font-family: system-ui;
  background-image: url(/images/bg-main.png);
  background-size: cover;
  background-repeat: no-repeat;
  font-size: .9rem;
}

.header {
  min-height: 800px;
  background-image: url(/images/bg-header.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 40rem;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 1rem 0;
  width: 100%;
  border-bottom: 1px solid #7883ad;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  cursor: pointer;
  align-items: center;
}

.header__logo-title {
  color: white;
  margin-left: .5rem;
  font-size: .8rem;
  text-transform: uppercase;
}

.header__navigation-items {
  display: flex;
  align-items: center;
}

.header__navigation-item {
  margin: 0 .8rem;
}

.navigation__item-link {
  color: white;
  cursor: pointer;
  transition: .5s;
  text-decoration: none;
  font-size: .8rem;
}

.navigation__item-link:hover {
  color: #a9a9a9;
}

.header__button {
  background: #DB5652;
  border: none;
  font-weight: bold;
  padding: 1rem 1.5rem;
  color: white;
  border-radius: .2rem;
  transition: 1s;
  cursor: pointer;
  font-size: .8rem;
}

.header__button:hover,
.header__button:focus {
  background-color: #c83a36;
  color: #c9c9c9;
}

.header__bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 5rem 0;
}

.header__title {
  color: white;
  font-size: 2rem;
}

.header__subtitle {
  color: white;
  font-size: .9rem;
  line-height: 1rem;
  max-width: 26rem;
  margin-top: 1rem;
}

.header__form {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}


.header__input {
  max-width: 25rem;
  height: 2.7rem;
  padding-left: 1rem;
  outline: none;
  border: none;
  transition: .1s;
  font-weight: bold;
  margin-top: .5rem;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: .1rem;
}

.header__input:focus {
  background-color: #adadad;
  color: white;
}

.header__button.button__form {
  margin-top: 1rem;
  max-width: 15rem;
}

.header__button .button__subtitle {
  font-size: .6rem;
  margin-top: .3rem;
}

.header__img {
  max-width: 100%;
  height: auto;
}

.main {
  padding-bottom: 5rem;
}

.benefits__title {
  margin-top: 4rem;
  text-align: center;
  color: #364399;
  font-size: 2rem;
}

.benefits__text {
  margin: 0 auto;
  text-align: center;
  color: #737373;
  max-width: 46rem;
  margin-top: 2rem;
}

.benefits__items {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.benefits__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem .5rem 0 .5rem;
}

.benefit__title {
  color: #364399;
  font-size: 1rem;
  text-align: left;
  max-width: 10rem;
  margin-top: 1rem;
}

.benefit__text {
  color: #5F6491;
  font-size: .8rem;
  max-width: 10rem;
  margin-top: 1rem;
  line-height: 1.1rem;
}

.section {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 6rem;
  grid-gap: 5rem;
}

.section__img {
  max-width: 100%;
  height: auto;
}

.section__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section__tagline {
  color: #99A3CA;
  font-size: .8rem;
}

.section__title {
  color: #364399;
  font-size: 1.4rem;
  margin-top: 1rem;
}

.section__text {
  font-size: .9rem;
  max-width: 30rem;
  color: #737373;
  font-weight: 400;
  line-height: 1.5rem;
  margin-top: 2rem;
}

.section__items {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__item {
  display: flex;
  align-items: flex-start;
  margin-top: .5rem;
}

.section__item2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
}

.section__item-title {
  color: #566BF4;
  font-size: 1.2rem;
}

.section__item-text {
  font-size: .9rem;
  max-width: 23rem;
  color: #737373;
  font-weight: 400;
  line-height: 1.5rem;
  margin-left: 1rem;
}

.section__item-text.text2 {
  margin-left: 0;
  max-width: 30rem;
  margin-top: 1rem;
}

.section.section3 {
  flex-direction: row-reverse;
}

.footer {
  background-color: #0E3AB7;
  background-image: url(/images/bg-footer.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
}

.footer__navigation-items {
  display: flex;
  flex-direction: column;
  max-height: 8rem;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 55%;
}

.footer__navigation-item {
  margin: 0 .8rem 1.7rem .8rem;
}

.speedometer {
  width: 350px;
}

.speedometer__title {
  text-align: center;
  color: #5F6491;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: normal;
}

.gauge {
  font-family: Arial, Helvetica, sans-serif;
  background: transparent;
  width: 100%;
  height: 17rem;
  position: relative;
  overflow: hidden;
}

.speedometer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -4rem;
}

.text {
  color: #5F6491;
  position: absolute;
  font-size: 1.4rem;
  text-align: center;
  z-index: 2;
}

.needle {
    position: absolute;
    bottom: 30%;
    left: 43%;
    z-index: 2;
    animation: speed 5s both;
    width: 118px;
    height: 47px;
    transform-origin: 15px 30px;
}

.slice-colors {
  position: relative;
}

.slice-colors::before {
  content: '';
  width: 274px;
  height: 255px;
  position: absolute;
  top: 28px;
  z-index: 1;
  background-repeat: no-repeat;
  left: 34px;
  background-image: url(/images/gauge.svg);
}

@keyframes speed {
  0% {
    transform: rotate(-150deg);
  }
  100% {
    transform: rotate(-10deg);
  }
}

.counter {
  font-size: 4rem;
  width: 100%;
  margin-top: 1rem;
  z-index: 2;
  padding: 10px 0 0 0;
  text-align: center;
  float: left;
  color: #EF7571;
  -webkit-font-smoothing: antialiased;
}

.level__counter {
  display: none;
  color: #5F6491;
  font-size: 1rem;
  font-weight: 500;
  position: absolute;
}

.counter-0 {
  bottom: 80px;
  left: 12px;
}

.counter-125 {
  left: 20px;
  top: 45px;
}

.counter-250 {
  top: 0;
  left: 48%;
  transform: translateX(-50%);
}

.counter-375 {
  top: 47px;
  right: 45px;
}

.counter-500 {
  bottom: 80px;
  right: 13px;
}

@media (max-width: 980px) {
  .header__navigation-items {
    display: none;
  }

  .header__bottom-img {
    display: none;
  }

  .header__bottom {
    justify-content: center;
  }

  .section {
    flex-direction: column-reverse;
    grid-gap: 3rem;
  }

  .section-reverse {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__navigation-items {
    margin-top: 3rem;
  }
}

@media (max-width: 560px) {
  .benefits__text {
    font-size: 1.3rem;
    margin-top: 1rem;
  }

  .benefits__item {
    text-align: center;
    margin: 6rem .5rem 0 .5rem;
  }

  .benefits__item img{
    width: 70%;
  }

  .benefit__title {
    font-size: 1.5rem;
    text-align: center;
    max-width: 25rem;
  }

  .benefit__text {
    font-size: 1rem;
    margin-top: .5rem;
    line-height: 1rem;
    max-width: 20rem;
  }

  .footer__navigation-items {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    flex-wrap: unset;
    max-height: unset;
  }

  .footer__navigation-item {
    margin: 0;
    margin-top: 1.7rem;
  }

  .navigation__item-link {
    font-size: 1rem;
  }
}
