.head__wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: -55px;
  z-index: 0;
}

.head {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
  min-height: 220px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/img/Road.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 0 30px 0;
  margin-bottom: 30px;
}
.head h1 {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 2.25em;
  text-align: center;
  color: white;
  margin: 0;
  align-self: center;
  text-transform: uppercase;
}
.head .buttons {
  display: flex;
  justify-content: center;
  padding: 0 10px;
  gap: 20px;
  flex-wrap: wrap;
}
.head .usual-button {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

@media (max-width: 1400px) {
  .head .buttons {
    gap: 10px;
  }
  .head .buttons .usual-button {
    padding: 5px 15px;
  }
}
.pages {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.button {
  background-color: #3C7AAE;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.note {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  margin-bottom: 30px;
}

.tours__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(auto, 400px));
  justify-content: center;
  gap: 80px;
  max-width: 1440px;
  width: 100%;
  padding: 0 40px;
  margin: 0 0 80px;
  flex-grow: 1;
}

.tour-wrapper {
  display: block;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.tour {
  display: flex;
  flex-direction: column;
  border: 2px solid #3C7AAE;
  border-radius: 10px;
  max-width: 400px;
  font-family: Nunito, sans-serif;
  overflow: hidden;
  height: 100%;
}

.image {
  height: 300px;
  background-color: lightgray;
  margin-bottom: 18px;
  width: 100%;
  object-fit: cover;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  align-items: center;
  padding: 0 25px 15px;
  gap: 18px;
}

.info > * {
  margin: 0;
}

.days-place {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.days-place * {
  margin: 0;
}

.days {
  font-weight: 600;
  font-size: 14px;
  color: black;
}

.place {
  display: flex;
  align-items: center;
  gap: 7px;
}

.place__icon {
  width: 46px;
  height: 20px;
  background-image: url("/static/img/Bus.png");
  background-size: contain;
  flex-shrink: 0;
}

.place__text {
  color: black;
  font-weight: 800;
  font-size: 16px;
}

.name {
  font-weight: 800;
  font-size: 16px;
  color: #3C7AAE;
  text-align: center;
}

.subname {
  font-weight: 800;
  font-size: 16px;
  color: #7FD8C2;
  text-align: center;
}

.booking {
  padding: 5px 20px;
  background: #3C7AAE;
  border-radius: 20px;
  font-weight: 800;
  font-size: 16px;
  color: white;
  text-decoration: none;
}

@media (max-width: 800px) {
  .head__wrapper {
    position: static;
  }

  .head {
    gap: 25px;
  }

  .tours {
    padding: 0 10px;
    gap: 20px;
  }
}
