@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:wght@400..800&display=swap');

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
}

body {
  font-family: 'Rethink Sans', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

.container {
  max-width: 1740px;
  padding: 0 10px;
  margin: 0 auto;
}

/* Header */
.header {
  background-image: url(/images/bg.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  min-height: 100vh;
  padding-bottom: 80px;
}

.header__top {
  padding: 50px 0 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
}

.menu__list {
  display: flex;
  gap: 40px;

  color: #0a507a;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;

  background-color: #0a507a;
  padding: 10px 20px;
  border-radius: 30px;
  color: #fff;
}

.title-img {
  margin-bottom: 12px;
  position: relative;
  z-index: -1;
  width: 100%;
}

.title-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-radius: 30px;
  background-color: #2b2a29;
  padding: 10px 20px;
  display: inline-block;
}

.header__content {
  display: flex;
  justify-content: space-between;
}

.header__info {
  display: flex;
  flex-direction: column;
  gap: 118px;
  margin-top: auto;
}

.header__social {
  margin-top: auto;
}

.header__info-list {
  display: flex;
  gap: 18px 10px;
  flex-wrap: wrap;
  max-width: 495px;
}

.header__info-item {
  padding: 10px 20px;
  border-radius: 30px;
  color: #0a507a;
  border: 1px solid #0a507a;
  font-size: 26px;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.8);
}

.social-list {
  display: flex;
  gap: 20px;
}

.header__news {
  margin-top: -50px;
}

.header__news-box {
  display: flex;
  flex-direction: column;
  padding: 50px 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  margin-bottom: 100px;
}

.header__news-title,
.header__news-time {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 800;
}

.header__news-time {
  margin-bottom: 10px;
}

.header__news-link {
  text-decoration: underline;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: 800;
  align-self: flex-start;
}

.header__buttons {
  display: flex;
  gap: 20px;
}

.header__buttons-book,
.header__buttons-activities {
  font-size: 32px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 30px;
  text-transform: uppercase;
}

.header__buttons-book {
  background-color: #2b2a29;
  color: #fff;
}

.header__buttons-activities {
  background-color: rgba(255, 255, 255, 0.3);
  color: #2b2a29;
  border: 1px solid #2b2a29;
}

/* About */
.text {
  max-width: 1075px;
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 150px 0;
}

.about {
  margin-bottom: 150px;
}

.about__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.about__contant {
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.about__subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about__title {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 100px;
  text-transform: uppercase;
}

.about__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.about__item {
  font-size: 26px;
  font-weight: 700;
  color: #0a507a;
  border: 1px solid #0a507a;
  border-radius: 30px;
  padding: 10px 20px;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: auto;
}

.about__img {
  position: relative;
}

.about__link {
  position: absolute;
  right: 68px;
  bottom: 46px;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

/* Activities */
.activities {
  margin-bottom: 100px;
}

.activities__subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.activities__info {
  display: flex;
  gap: 20px;
  margin-bottom: 100px;
}

.activities__title {
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  flex-basis: 50%;
}

.activities__text {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  flex-basis: 50%;
}
.activities__text .header__buttons-book {
  align-self: start;
}

.activities__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.activities__item {
  border: 1px solid #2b2a29;
  border-radius: 50%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activities__item h5 {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  max-width: 115px;
}

.site-images {
  width: 100%;
  margin-bottom: 100px;
}

/* Reviews */
.reviews {
  margin-bottom: 150px;
}

.reviews__top {
  margin-bottom: 100px;
  margin-left: calc(50% + 10px);
}

.reviews__subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.reviews__title {
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
}

.reviews__items {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 2fr 2fr 1fr;
}

.reviews__item:nth-child(even) {
  padding-top: 94px;
}

.reviews__img {
  margin-bottom: 20px;
  max-width: 100%;
}

.blockquote {
  margin: 0;
}

.blockquote__text {
  margin-bottom: 15px;
}

.blockquote__name {
  display: block;
  margin-bottom: 5px;
  text-align: right;
}

.blockquote__name::before {
  content: '/';
}

.blockquote__time {
  display: block;
  text-align: right;
}

/* Footer */
.footer {
  background-color: #2b2a29;
  padding: 100px 0;
  color: #fff;
}

.footer__inner {
  max-width: 1160px;
  padding: 0 10px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer__title {
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer__info-list {
  display: flex;
  gap: 68px;
  margin-bottom: 60px;
}

.footer__info-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__info-item dt {
  font-size: 20px;
  font-weight: 700;
}

.footer__info-item span {
  display: block;
}

.footer__info-item dd {
  margin-left: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
}

.footer__nav {
  display: flex;
  gap: 40px;
}

.menu__btn {
  display: none;
  width: 50px;
  height: 30px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
  position: relative;
  z-index: 1;
}

.menu__btn span {
  width: 100%;
  height: 4px;
  background-color: #0a507a;
  transition: background-color 0.5s;
}

.menu.menu--open .menu__list {
  transform: translateY(0);
}

.menu.menu--open .menu__btn span {
  background-color: #fff;
}
