.container {
  max-width: 1340px;
}

/* Фон всей страницы */
.bg-page {
  background: #F5F6F7 !important;
}

/* Основной шрифт */
body {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin: 20px;
}

footer {
    background-color: #212121;
    color: white;
}

ul {
    padding: 17px;
    margin: 0;
}

h1, .hero-title {
  font-size: 58px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}
h2 {
  font-size: 40px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

p {
    margin: 0;
}

.fs-18 {
    font-size: 18px;
}

.f-opacity {
    opacity: 40%;
}

.big-number {
    font-size: 13rem;
    font-weight: 600;
    color: #CEF249;
    line-height: 150px;
}

/* Скругления */
.btn {
  border-radius: 24px !important;
}

.btn-try {
  background-color: #CEF249;
  padding: 16px;
  font-weight: 600;
}

.btn-default, .btn-default:hover {
    font-size: 18px;
    font-weight: 600;
    background-color: #212121;
    color: white;
    padding: 23px;
}

.b-radius {
  border-radius: 60px;
}

/* Отступ между секциями */
section {
    margin: .5rem 0;
}

.header-main {
  padding: 16px;
  background-color: white;
}

.logo-text {
  font-size: 30px;
  font-weight: 600;
  margin-left: 10px;
}

.navbar-light .navbar-nav .nav-link, .lang-switch {
  font-size: 16px;
  color: black;
  font-weight: 500;
}

.navbar-light .navbar-toggler {
    outline: none;
    padding: .25rem .25rem;
    border: 0;
}

.lang-switch {
  margin: 0 20px;
}

.bg-grey {
  background-color: #D9D9DC;
}

.bg-green {
  background-color: #CEF249;
}

.bg-image {
    background-size: cover;
}

.loader {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 25px auto;
}

.loader div {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #CEF249;
    border-radius: 50%;
    animation: fade 1.2s infinite linear;
}

.loader div:nth-child(1) { top: 5%; left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
.loader div:nth-child(2) { top: 20%; left: 80%; transform: translate(-50%, -50%); animation-delay: 0.15s; }
.loader div:nth-child(3) { top: 50%; left: 95%; transform: translate(-50%, -50%); animation-delay: 0.3s; }
.loader div:nth-child(4) { top: 80%; left: 80%; transform: translate(-50%, -50%); animation-delay: 0.45s; }
.loader div:nth-child(5) { top: 95%; left: 50%; transform: translate(-50%, -50%); animation-delay: 0.6s; }
.loader div:nth-child(6) { top: 80%; left: 20%; transform: translate(-50%, -50%); animation-delay: 0.75s; }
.loader div:nth-child(7) { top: 50%; left: 5%; transform: translate(-50%, -50%); animation-delay: 0.9s; }
.loader div:nth-child(8) { top: 20%; left: 20%; transform: translate(-50%, -50%); animation-delay: 1.05s; }

@keyframes fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}


.modal-box {
    width: 392px;
    background-color: white;
    border-radius: 32px;
    padding: 44px 24px;
}

.modal-box span {
    font-size: 30px;
    font-weight: 400;
    line-height: normal;
}

.route-card {
    background: white;
    border-radius: 32px;
    padding: 20px 0;
    margin-bottom: 10px;
}

.route-card h2 {
    font-size: 20px;
}

.route-card-head p, .route-card-desc p, .route-card-desc span {
    font-size: 14px;
}

.route-card-head img {
    width: 24px;
    height: 24px;
    border-radius: 16px;
    margin-right: 10px;
}
.route-card-desc, .route-card-head {
  font-size: 14px;
  font-weight: 400;
  align-items: center;
}
.route-card-desc p, .route-card-head p {
  margin-bottom: 0;
}

.badge {
  background-color: #CEF249;
  border-radius: 12px;
  margin: 0 10px;
  line-height: 14px;
  font-weight: 400;
}

/* начальное состояние — бургер */
.toggler-icon {
  width: 24px;
  height: 2px;
  background-color: #333;
  display: block;
  position: relative;
  transition: all 0.3s ease;
}
.toggler-icon::before,
.toggler-icon::after {
  content: '';
  width: 24px;
  height: 2px;
  background-color: #333;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.toggler-icon::before {
  top: -8px;
}
.toggler-icon::after {
  top: 8px;
}

/* открытое состояние — крестик */
.custom-toggler.open .toggler-icon {
  background-color: transparent;
}
.custom-toggler.open .toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.custom-toggler.open .toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}


/* Медиа-запросы для планшетов */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Здесь будут стили для планшетов */
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 767.98px) {
    body {
        font-size: 18px;
        margin: 8px;
    }
    h1, .hero-title {
      font-size: 32px;
    }
    h2 {
      font-size: 28px;
    }
    h3 {
      font-size: 22px;
    }
  .btn {
      width: 100%;
  }
  .btn-default, .btn-default:hover {
        padding: 16px;
  }
  
    .b-radius {
        border-radius: 32px;
    }
  .lang-switch {
      margin: 0;
  }
  .navbar-light .navbar-nav .nav-link {
      margin: 10px 0;
  }
  .header-main nav {
      padding: 0;
  }
    .big-number {
        font-size: 5rem;
        line-height: normal;
        margin-bottom: 35px;
    }
    .modal-box {
    width: 100%;
    }
}

/* Медиа-запросы для маленьких мобильных устройств */
@media (max-width: 575.98px) {
  /* Здесь будут стили для маленьких мобильных устройств */
}