/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  font-size: 1rem;
  font-family: "e-Ukraine-Medium", sans-serif;
  line-height: 1.5;
  color: #fff;
  background-color: #709485;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
  border: none;
  background: none;
}
img {
  height: auto;
  display: block;
}
/*----------*/

/* Приховати вертикальний скролбар справа */
body,
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
body::-webkit-scrollbar,
html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2vw;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 80rem;
  width: 100%;
  padding: 0 2vw;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  box-sizing: border-box;
}

@media (max-width: 75rem) {
  html,
  body {
    overflow-x: hidden;
  }
}

.block {
  background-color: #2b2b2b;
  border-radius: 1.5rem;
  font-size: 1rem;
  box-shadow: 0.125rem 0.3125rem 0.375rem rgba(0, 0, 0, 0.58);
  width: 100%;
  box-sizing: border-box;
  margin: 2rem 0;
  padding: 2.2rem 2vw;
  overflow-wrap: break-word;
}

.block:first-child {
  gap: 2.2rem;
}

.block_2 {
  border-radius: 1.5rem;
  font-size: 1rem;
  color: #000;
  background-color: #fff;
  box-shadow: 0.125rem 0.25rem 0.375rem rgba(0, 0, 0, 0.46);
  width: 100%;
  box-sizing: border-box;
  margin: 2rem 0;
  padding: 2.2rem 2vw;
  overflow-wrap: break-word;
}

.txtheader {
  margin-left: 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.button-scroll {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: #2b2b2b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0.125rem 0.25rem 0.375rem rgba(0, 0, 0, 0.46);
  z-index: 1000;
  transition: 0.3s ease;
  opacity: 0;
}

.button-scroll svg {
  rotate: 270deg;
  width: 2rem;
}

.button-scroll:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* --- Адаптивність для планшетів --- */
@media (max-width: 64rem) {
  .block,
  .block_2 {
    font-size: 1rem;
    padding: 1.2rem 1vw;
  }
}

/* --- Адаптивність для мобільних --- */
@media (max-width: 43.75rem) {
  .wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1vw;
    max-width: 95vw;
  }
  .container {
    max-width: 95vw;
    padding: 0 0.5vw;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    margin: 1rem 0 2rem 0;
    font-size: 1rem;
    gap: 0.5rem;
  }

  .header__nav {
    width: 100%;
  }
  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .menu__item {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }
  .main__bloks {
    gap: 1rem;
  }
  .block,
  .block_2 {
    border-radius: 1rem;
    font-size: 0.95rem;
  }
  .txtheader {
    font-size: 1.2rem;
  }
  .about__header {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
    font-size: 1.2rem;
  }
  .values {
    padding: 1rem 0.5rem;
    gap: 1rem;
  }
  .values__minheader {
    margin-left: 1rem;
    font-size: 1rem;
  }
  .news__feed {
    flex-direction: column;
    gap: 1rem;
  }
  .news__card {
    max-width: 80vw;
  }
  .slider {
    max-width: 80vw;
    min-height: 12rem;
  }
  .slide img,
  .slide iframe {
    max-width: 95vw;
    height: auto;
  }
  .partners__logo {
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem;
  }
  .partners__logo img {
    max-height: 3.5rem;
  }
  .projects {
    padding: 1rem 0.5rem;
    gap: 1rem;
  }
  .projects__minheader {
    margin-left: 0.5rem;
    font-size: 1rem;
  }
  .projects__img {
    flex-direction: column;
    gap: 0.7rem;
  }
}

@media (max-width: 25rem) {
  .header,
  .footer {
    font-size: 0.85rem;
  }
  .txtheader {
    font-size: 1rem;
  }
}

@media (max-width: 56.25rem) {
  .wrapper,
  .container {
    max-width: 95vw;
    width: 95vw;
    padding: 0;
    margin: 0 auto;
    overflow-x: hidden;
  }
  html,
  body {
    overflow-x: hidden;
  }
  .block,
  .block_2 {
    padding: 1.2rem 1rem;
  }
}

@media (max-width: 64rem) {
  .menu__item-6 {
    display: none !important;
  }
}

.bike-link {
  margin: 0rem auto 2rem auto;
  text-align: center;
  border: 2px solid #fff;
  width: fit-content;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
}

.bike-hero-title {
  font-size: 1.8rem;
  text-align: center;
  margin: 2rem 0;
  font-weight: bold;
}

.slogan-text {
  font-size: 1rem;
  margin-right: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.slogan-text span {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.fastivbike-hero__content {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.bikes__img {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.bikes__img img {
  max-width: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  display: block;
}

.fastivbike-offer__img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1rem;
}

.fastivbike-offer__img > .bike {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.weight-text {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.small-text {
  font-size: 0.9rem;
}

.fastivbike-cta__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

.cta-instructions li:not(:last-child) {
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.5;
}

.logo_2 img {
  width: 15rem;
}

@media (max-width: 900px) {
  .fastivbike-hero__content {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }
  .slogan-text {
    margin: 0;
  }
  .bikes__img {
    flex-direction: column;
    gap: 0.75rem;
  }
  .bikes__img img {
    max-width: 600px;
    width: 100%;
    height: auto;
  }
  .fastivbike-offer__img {
    justify-content: center;
  }
  .fastivbike-cta__content {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1rem 0;
  }
  .qr-code {
    margin: 0 auto;
    max-width: 220px;
  }
}

@media (max-width: 700px) {
  .logo_2 {
    display: none;
  }
  .cta-instructions {
    padding: 0 1rem;
  }
}

@media (max-width: 430px) {
  .bike-hero-title {
    font-size: 1.4rem;
    margin: 1rem 0;
  }
  .slogan-text span {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .cta-instructions li {
    font-size: 1rem;
  }
}

.parnters-link {
  color: #252525;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.fastivbike-problem__content {
  display: flex;
  flex-direction: row;
}

.fastivbike-problem__img {
  display: flex;
}

.fastivbike-problem__img .bikes__img {
  gap: 0.75rem;
}

.fastivbike-problem__img img {
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
}

.fastivbike-problem__text {
  flex: 1 1 30%;
  margin-left: 2rem;
}

@media (max-width: 950px) {
  .fastivbike-problem__img {
    flex-direction: column;
    margin: 0 auto;
    gap: 1rem;
    flex: 1 1 40%;
    min-width: 200px;
  }
}

@media (max-width: 900px) {
  .fastivbike-problem__content {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .fastivbike-problem__img img {
    max-width: none;
    max-height: 420px;
  }
}

@media (max-width: 430px) {
  .fastivbike-problem__img img {
    max-height: 260px;
  }
}

.fastivbike-problem__title {
  margin-bottom: 2rem;
}

.fastivbike-problem__text {
  margin-top: 2rem;
}
