/* fonts */
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  src:
    url("../fonts/ptsans-400.woff2") format("woff2"),
    url("../fonts/ptsans-400.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  src:
    url("../fonts/ptsans-700.woff2") format("woff2"),
    url("../fonts/ptsans-700.woff") format("woff");
  font-display: swap;
}

/* global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "PT Sans", "Arial", sans-serif;
  font-size: 18px;
  line-height: 21px;
  color: #333333;
  background-color: #f2f2f2;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.container {
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* button */
.button {
  padding: 0;
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background-color: transparent;
  border: none;
}

.button--primary {
  background-color: #756157;
}

.button--secondary {
  background-color: #82b3d3;
}

.button--active {
  background-color: #7db54f;
}

.button--large {
  font-size: 20px;
  line-height: 36px;
}

/* field */
.field input {
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  background-color: #f2f2f2;
  border: none;
}

.field input::placeholder {
  color: currentColor;
  opacity: 0.6;
}

.field--counter input {
  line-height: 20px;
}

.field--date input {
  background-image: url("../images/date-icon.svg");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: right 20px center;
}

.field--invalid .field__message {
  color: #ff5757;
}

.field__label {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
}

.field__message {
  font-size: 16px;
}

.field__button {
  background-color: #f2f2f2;
  border: none;
}

/* control */
.control input {
  background-color: #ffffff;
  border: none;
}

.control__label {
  line-height: 23px;
}

/* select */
.select {
  font-family: inherit;
  font-size: 18px;
  line-height: 21px;
  color: inherit;
  background-color: transparent;
}

/* tooltip */
.tooltip__info {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  background-color: #333333;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tooltip__button {
  color: #ffffff;
  background-color: #83b3d3;
  background-image: url("../images/info-icon.svg");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
  border: none;
}

/* phone */
.phone {
  font-style: normal;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: #000000;
}

/* title-extra-large */
.title-extra-large {
  font-weight: 700;
  font-size: 60px;
  line-height: 78px;
}

/* title-large */
.title-large {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
}

/* title-middle */
.title-middle {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
}

/* description */
.description {
  font-size: 22px;
  line-height: 26px;
  text-align: center;
}

/* site-list */
.site-list {
  list-style: none;
}

.site-list__link {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  text-decoration: none;
  color: #000000;
}

/* user-list */
.user-list {
  list-style: none;
}

.user-list__count {
  font-size: 10px;
  line-height: 10px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #7db54f;
}

/* breadcrumbs */
.breadcrumbs {
  list-style: none;
}

.breadcrumbs__link {
  font-size: 16px;
  text-decoration: none;
  color: inherit;
}

.breadcrumbs__link--home {
  background-image: url("../images/home-icon.svg");
  background-repeat: no-repeat;
  background-size: 13px 15px;
}

/* social */
.social {
  list-style: none;
}

/* view-switcher */
.view-switcher {
  list-style: none;
}

.view-switcher__button {
  background-repeat: no-repeat;
  background-size: 16px 14px;
}

.view-switcher__button--tile {
  background-image: url("../images/tile-icon.svg");
}

.view-switcher__button--card {
  background-image: url("../images/card-icon.svg");
}

.view-switcher__button--list {
  background-image: url("../images/list-icon.svg");
}

/* feature-card */
.feature-card {
  text-align: center;
  background-color: rgba(131, 179, 211, 0.12);
}

.feature-card--has-image {
  color: #ffffff;
  background-color: #82b3d3;
}

.feature-card--has-image .feature-card__title {
  color: #ffffff;
}

.feature-card--secondary {
  background-color: rgba(131, 179, 211, 0.2);
}

/* service-card */
.service-card {
  text-align: center;
  background-color: rgba(131, 179, 211, 0.12);
}

.service-card--light {
  background-color: #ffffff;
}

/* hotel-card */
.hotel-card__link {
  text-decoration: none;
}

.hotel-card__title {
  text-align: left;
  text-transform: none;
}

.hotel-card__stars {
  background-image: url("../images/star-icon.svg");
  background-repeat: space no-repeat;
  background-position: left center;
}

.hotel-card__raiting {
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  background-color: #f2f2f2;
}

/* range */
.range__label {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  opacity: 0.3;
}

.range__handle {
  background-color: #ffffff;
  border: none;
}

/* filters */
.filters__group {
  border: none;
}

.filters__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
}

.filters__list {
  list-style: none;
}

/* pagination */
.pagination {
  list-style: none;
}

.pagination__link--current {
  color: #000000;
  background-color: #f2f2f2;
}

.pagination__link--more {
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  color: #000000;
  background-color: #ffffff;
  border: none;
}

/* page-header */
.page-header {
  color: #000000;
}

/* hero */
.hero {
  color: #ffffff;
  background-color: #263e42;
  background-image:
    url("../images/divider.svg"),
    image-set(
      url("../images/hero-background@1x.webp"),
      url("../images/hero-background@1x.jpg")
    );
  background-repeat: no-repeat;
  background-position: left bottom, left top;
  background-size: contain, cover;
}

/* features */
.features__list {
  list-style: none;
}

.features__item:nth-child(4n+3) {
  background-color: rgba(131, 179, 211, 0.2);
}

/* services */
.services {
  text-align: center;
}

.services__list {
  list-style: none;
}

.services__item:nth-child(even) {
  background-color: #ffffff;
}

/* subscribe */
.subscribe--dark {
  color: #ffffff;
  background-color: #3f5e72;
  background-image: image-set(
    url("../images/subscribe-bg@2x.webp") 2x,
    url("../images/subscribe-bg@1x.webp") 1x,
    url("../images/subscribe-bg@2x.jpg") 2x,
    url("../images/subscribe-bg@1x.jpg") 1x
  );
  background-repeat: no-repeat;
  background-size: cover;
}

.subscribe--dark .subscribe__title {
  color: #ffffff;
}

/* footer */
.footer {
  color: #000000;
}

.footer__contacts {
  font-style: normal;
}

/* inner-intro */
.inner-intro {
  color: #ffffff;
  background-color: #3f5e72;
  background-image: image-set(
    url("../images/inner-intro-bg@1x.webp"),
    url("../images/inner-intro-bg@1x.jpg")
  );
  background-repeat: no-repeat;
  background-size: cover;
}

/* hotels-cards */
.hotels-cards__list {
  list-style: none;
}

/* modal */
.modal {
  background-color: rgba(242, 242, 242, 0.8);
}

.modal__content {
  background-color: #ffffff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
