html {
  box-sizing: border-box;
}

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

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

img {
  max-width: 100%;
}

@font-face {
  font-family: 'Muller';
  src: local('Muller-Regular'),
    url('fonts/MullerRegular.woff2') format('woff2'),
    url('fonts/MullerRegular.woff') format('woff');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Muller';
  src: local('Muller-Medium'),
    url('fonts/MullerMedium.woff2') format('woff2'),
    url('fonts/MullerMedium.woff') format('woff');
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}


@font-face {
  font-family: 'Muller';
  src: local('Muller-Bold'),
    url('fonts/MullerBold.woff2') format('woff2'),
    url('fonts/MullerBold.woff') format('woff');
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

body {
  min-width: 1200px;
  font-family: 'Muller', sans-serif;
  background: #F1F1F1;
}

/* GLOBAL */

.flex {
  display: flex;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  border: none;
}

.btn {
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 400;
  color: var(--yellow-color);
  border-radius: 10px;
  border: 1px solid var(--yellow-color);
  transition: background 0.3s ease, color 0.2s linear;
}

.btn:focus {
  outline: none;
  background-color: var(--yellow-color);
  color: var(--white-color);
}

.btn:hover {
  outline: none;
  background-color: var(--yellow-color);
  color: var(--white-color);
}

.btn:active {
  background-color: var(--dark-yellow-color);
  color: var(--white-color);
  outline: none;
}

.container {
  width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  margin-bottom: 20px;
  padding-left: 45px;
  font-size: 40px;
  font-weight: 400;
  color: var(--dark-gray-color);
}

.section-offset {
  margin-bottom: 70px;
}

:root {
  --yellow-color: #CC9933;
  --dark-yellow-color: #A47312;
  --light-yellow-color: #F0BF5F;
  --dark-gray-color: #333;
  --light-gray-color: #999;
  --gray-color: #666;
  --very-light-gray-color: #E9E9E9;
  --black-color: #000;
  --white-color: #fff;
}

/* HEADER */

.header {
  padding-top: 30px;
  padding-bottom: 70px;
}

.top__header {
  padding-bottom: 30px;
}

.logo__header {
  margin-right: 40px;
}

.header__tel {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  color: var(--gray-color);
  transition: color 0.2s linear;
}

.header__tel:focus {
  outline-offset: 5px;
  outline: 1px solid var(--yellow-color);
  color: var(--yellow-color);
}

.header__tel:hover {
  color: var(--yellow-color);
}

.header__tel:active {
  color: var(--dark-yellow-color);
}

.header__tel {
  align-self: center;
  margin-right: auto;
}

.header__link {
  align-self: center;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--yellow-color);
  fill: var(--yellow-color);
  transition: color 0.2s linear, fill 0.2s linear;
}

.header__link:focus {
  outline-offset: 5px;
  color: var(--yellow-color);
  outline: 1px solid var(--yellow-color);
  fill: var(--yellow-color);

}

.header__link:hover {
  color: var(--light-yellow-color);
  fill: var(--light-yellow-color);
}

.header__link:active {
  color: var(--dark-yellow-color);
  fill: var(--dark-yellow-color);
}

.header__nav {
  align-items: center;
  padding: 0 45px;
  min-width: 1170px;
  min-height: 70px;
  border-radius: 15px;
  background: var(--white-color);
}

.header__list {
  margin-right: auto;
}

.nav__item:not(:last-child) {
  margin-right: 45px;
}

.nav__link {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray-color);
  transition: background 0.3s ease, color 0.2s linear;
}

.nav__link:focus {
  outline-offset: 5px;
  color: var(--yellow-color);
  outline: 1px solid var(--yellow-color);
}

.nav__link:hover {
  color: var(--yellow-color);
}

.nav__link:active {
  color: var(--dark-yellow-color);
}

.header__btn {
  margin-right: 40px;
}

/* OFFERS */

.offers__container {
  flex-direction: row;
}

.offers__items {
  flex-direction: column;
}

.offers__item-1 {
  position: relative;
  min-width: 573px;
  min-height: 258px;
  margin-bottom: 24px;
  margin-right: 24px;
  background-image: linear-gradient(90deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%),
    url(../img/offers1.svg);
  border-radius: 15px;
}

.offers__item-2 {
  position: relative;
  min-width: 573px;
  min-height: 258px;
  margin-right: 24px;
  background-image: linear-gradient(90deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%),
    url(../img/offers2.svg);
  border-radius: 15px;
}

.offers__item-3 {
  position: relative;
  min-width: 573px;
  min-height: 540px;
  background-image: url(../img/offers3.svg);
  border-radius: 15px;
}

.offers__item-title {
  max-width: 420px;
  margin: 0;
  padding-top: 40px;
  padding-left: 45px;
  margin-bottom: 15px;
  font-size: 40px;
  font-weight: 700;
  color: var(--white-color);
}

.offers__item-title--card3 {
  padding-top: 200px;
  font-size: 60px;
}

.offers__item-dscr {
  flex-direction: column;
  padding-left: 45px;
}

.offers__item-text {
  margin: 0;
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 400;
  color: var(--white-color);
}

.offers__item-text--card3 {
  font-size: 30px;
}

.offers__link {
  align-items: center;
  justify-content: space-between;
  max-width: 100px;
  font-size: 16px;
  font-weight: 400;
  color: var(--light-yellow-color);
  stroke: var(--light-yellow-color);
  fill: none;
  transition: color 0.2s linear, transform 0.2s linear;
}

.offers__link:focus {
  outline: none;
}

.offers__link:focus-visible::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: 1px solid var(--yellow-color);
  outline-offset: 8px;
}

.offers__link svg {
  transform: translateX(0px);
  transition: transform 1s;
}

.offers__link:hover svg {
  transform: translateX(15px);
  transition: transform 1s;
}

.offers__link:active {
  color: var(--white-color);
}

/* ABOUT_US */

.about-us__text {
  max-width: 888px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 200%;
  color: var(--black-color);
}


/* SERVICES */

.services {
  margin-bottom: 46px;
}

.services__item {
  position: relative;
  width: 573px;
  margin-bottom: 24px;
}

.services__item:not(:nth-child(2n)) {
  margin-right: 24px;
}

.services__list {
  flex-wrap: wrap;
}

.blog-preview {
  font-size: 0;
}

.blog-preview__text {
  min-width: 573px;
  min-height: 165px;
  padding-left: 45px;
  padding-top: 25px;
  border-radius: 0px 0px 15px 15px;
  background: var(--white-color);
}

.blog-preview__link {
  align-items: center;
  justify-content: space-between;
  margin: 0;
  max-width: 371px;
  font-size: 20px;
  font-weight: 500;
  line-height: 200%;
  color: var(--yellow-color);
  stroke: var(--yellow-color);
  fill: none;
  transition: color 0.2s linear, stroke 0.2s linear;
}

.blog-preview__link:focus {
  outline: none;
}

.blog-preview__link:focus-visible::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: 1px solid var(--yellow-color);
  outline-offset: 8px;
}


.blog-preview__link:hover {
  color: var(--light-yellow-color);
  stroke: var(--light-yellow-color);
}

.blog-preview__link svg {
  transform: translateX(0px);
  transition: transform 1s;
}

.blog-preview__link:hover svg {
  transform: translateX(15px);
  transition: transform 1s;
}

.blog-preview__link:active {
  color: var(--dark-yellow-color);
  stroke: var(--dark-yellow-color);
}

.blog-preview__link_1 {
  max-width: 296px;
}

.blog-preview__link_2 {
  max-width: 252px;
}


.blog-preview__link_text {
  margin: 0;
  max-width: 371px;
  font-size: 20px;
  font-weight: 500;
  line-height: 200%;
  color: var(--yellow-color);
}

.blog-preview__descr {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 200%;
  color: var(--black-color);
}

/* ADVANTAGES */

.advantages {
  margin-bottom: 48px;
}

.advantages__items {
  flex-wrap: wrap;
}

.advantages__item {
  max-width: 276px;
  max-height: 276px;
  margin-bottom: 22px;
  padding: 40px 32px 45px 42px;
  border-radius: 15px;
  background: var(--white-color);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 45px 40px;
}

.advantages__item:not(:nth-child(4n)) {
  margin-right: 22px;
}

.advantages__item_1 {
  background-image: url(../img/bathtub.svg);
}

.advantages__item_2 {
  background-image: url(../img/hanger.svg);
}

.advantages__item_3 {
  background-image: url(../img/heating.svg);
}

.advantages__item_4 {
  background-image: url(../img/hotel-key.svg);
}

.advantages__item_5 {
  background-image: url(../img/parking.svg);
}

.advantages__item_6 {
  background-image: url(../img/reception.svg);
}

.advantages__item_7 {
  background-image: url(../img/security-box.svg);
}

.advantages__item_8 {
  background-image: url(../img/swimming-pool.svg);
}

.advantages__item_descr {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 200%;
  color: var(--black-color);
}

.advantages__text {
  padding-top: 76px;
}


.advantages__item_descr {
  margin: 0;
}

/* ACCOMMODATION */

.accomm__items {
  flex-wrap: wrap;
}

.accomm__item {
  max-width: 374px;
  max-height: 440px;
  margin-bottom: 24px;
  font-size: 0;
  border-radius: 15px;
  background: var(--white-color);
}

.accomm__item:not(:nth-child(3n)) {
  margin-right: 24px;
}

.accomm__descr {
  padding-left: 45px;
  padding-top: 30px;
  padding-bottom: 45px;
  flex-wrap: wrap;
}

.accomm__descr_1 {
  align-items: center;
  margin-bottom: 16px;
}

.accomm__text {
  margin: 0;
}

.gray {
  font-size: 16px;
  font-weight: 400;
  color: var(--light-gray-color);
}

.gray_2 {
  margin-bottom: 20px;
}


.strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--black-color);
}

.basic {
  margin-right: 50px;
  font-size: 16px;
  font-weight: 400;
  color: var(--black-color);
}

.basic_2 {
  margin: 0;
  margin-bottom: 16px;
}

.stars {
  align-self: center;
  width: 95px;
}

.accomm__card {
  width: 374px;
  height: 440px;
  position: relative;
  font-size: 0;
  border-radius: 15px;
  background: url(../img/41.svg), lightgray 50% / cover no-repeat;
}

.accomm__card_link {
  margin: 0;
  padding: 0;
  padding-top: 375px;
  padding-left: 54px;
  font-size: 20px;
  font-weight: 500;
  line-height: 200%;
  color: var(--white-color);
  background-image: url(../img/white-arrow.svg);
  background-repeat: no-repeat;
  background-size: 11px;
  background-position: 304px 385px;
}

.card__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*WANT TOUR*/

.input-reset {
  border: 0;
  height: 20px;
}

.want-tour__container {
  min-width: 1170px;
  min-height: 256px;
  border-radius: 15px;
  background: var(--very-light-gray-color);
}

.want-tour__title {
  padding-top: 45px;
}

.input__box {
  flex-basis: 0;
  margin-right: 41px;
}

.input__box_last {
  margin-right: 51px;
}

.inputs {
  justify-content: center;
  align-items: center;
  min-width: 1080px;
  min-height: 106px;
  border-radius: 15px;
  background: var(--white-color);
}

.input__name {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 400;
  color: var(--black-color);
}

.want-tour__select {
  -webkit-appearance: none;
  background-image: url(../img/input-arrow.svg);
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 36px;
}

.want-tour__select {
  padding-right: 87px;
}

.want-tour__input {
  border-bottom: 1px solid #dadada;
}

.want-tour__btn {
  padding: 13px 30px;
}

/* contacts */

.contacts__container {
  min-width: 1170px;
  min-height: 618px;
  padding: 45px;
  font-size: 0;
  border-radius: 15px;
  background: var(--white-color);
}

/* .contacts-items-info { */
.contacts__info {
  margin-right: 52px;
}

/* .contacts-item { */
.list__item {
  margin-bottom: 45px;
}

/* .contacts-item-titles { */
.title__list {
  flex-direction: column;
}

/* .contacts-item-title */
.title__item {
  padding-bottom: 51px;
  font-size: 20px;
  font-weight: 700;
  color: var(--black-color);
  border-bottom: 1px solid var(--very-light-gray-color);
}

.title__item:not(:last-child) {
  margin-bottom: 25px;
}

.title__item_email {
  padding-bottom: 99px;
}

/* .contacts-item-texts */
.text__item {
  padding-left: 47px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--very-light-gray-color);
}

.text__item:not(:last-child) {
  margin-bottom: 25px;
}

.text__item_schedule {
  max-width: 214px;
}

.contacts__text {
  margin: 0;
  max-width: 229px;
  font-size: 16px;
  line-height: 150%;
  color: var(--black-color);
}

.contacts__links {
  flex-direction: column;
}

.contacts__link {
  margin: 0;
  font-size: 16px;
  line-height: 150%;
  color: var(--yellow-color);
  transition: color 0.2s linear;
}

.contacts__link:focus {
  outline-offset: 5px;
  outline: 1px solid var(--yellow-color);
}

.contacts__link:hover {
  color: var(--light-yellow-color);
}

.contacts__link:active {
  color: var(--dark-yellow-color);
}

.contacts__dscr {
  margin: 0;
  font-size: 16px;
  line-height: 150%;
  color: var(--light-gray-color);
}

.contacts__btn {
  padding: 30px;
}

/* footer */

.footer {
  margin-bottom: 30px;
}

.footer__container {
  min-width: 1170px;
  min-height: 341px;
  padding-top: 45px;
  padding-left: 45px;
  padding-right: 45px;
  border-radius: 15px;
  background: var(--dark-gray-color);
  background-image: url(../img/footer-img.svg);
  background-repeat: no-repeat;
  background-position: 739px 112px;
}

.footer__left {
  margin-right: auto;
}

.footer__list {
  margin-right: 125px;
}

.footer__item:not(:last-child) {
  margin-bottom: 38px;
}

.footer__item_2:not(:last-child) {
  margin-bottom: 15px;
}

.item__link {
  flex-direction: column;
}

.footer__text {
  max-width: 302px;
  margin: 0;
  font-size: 16px;
  line-height: 190%;
  color: var(--white-color);
}

.footer-text_2 {
  max-width: 359px;
}

.footer__link {
  max-width: 130px;
  font-size: 16px;
  line-height: 150%;
  color: var(--yellow-color);
  transition: color 0.2s linear;
}

.footer__link:focus {
  outline-offset: 5px;
  outline: 1px solid var(--yellow-color);
}

.footer__link:hover {
  color: var(--light-yellow-color);
}

.footer__link:active {
  color: var(--dark-yellow-color);
}

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

.social__item:not(:last-child) {
  margin-bottom: 20px;
}

.social__link {
  display: block;
  width: 25px;
  height: 25px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  fill: var(--light-gray-color);
  transition: fill 0.2s linear;
}

.social__link:focus {
  outline: none;
  fill: var(--yellow-color);
}

.social__link:hover {
  fill: var(--yellow-color);
}

.social__link:active {
  fill: var(--dark-yellow-color);
}
