/* Базовый сброс */
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  font-size: 12px;
}

/* Общие стили сайта, хэлперы */
:root {
  --color-gray: #666666;
  --color-primary-dark: #CC9933;
  --color-primary-light: #F0BF5F;
  --color-primary-active: #A47312;
}

@font-face {
  font-family: 'Muller';
  src: local('Muller-Regular'),
    url(../fonts/MullerRegular.woff2) format('woff2'),
    url(../fonts/MullerRegular.woff) format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muller';
  src: local('Muller-Bold'),
    url(../fonts/MullerBold.woff2) format('woff2'),
    url(../fonts/MullerBold.woff) format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muller';
  src: local('Muller-Medium'),
    url(../fonts/MullerMedium.woff2) format('woff2'),
    url(../fonts/MullerMedium.woff) format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Muller', Verdana, sans-serif;
  font-size: 0px;
  background-color: #F1F1F1;
}

.link-gray {
  color: var(--color-gray);
}

.link-dark {
  color: var(--color-primary-dark);
}

.link-dark path {
  fill: inherit;
}

.link-light {
  color: var(--color-primary-light);
}

.btn {
  padding: 0;
  margin: 0;
  padding: 13px 20px;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-dark);
  border-radius: 10px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.section-offset {
  margin-bottom: 70px;
}

.section-offset:last-child {
  margin-bottom: 40px;
}

.flex {
  display: flex;
}

.link-svg {
  display: inline-block;
  vertical-align: middle;
}

/* Стили index.html */

.header {
  padding-top: 30px;
  margin-bottom: 70px;
}

.container {
  width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.header-links {
  align-items: center;
  margin-bottom: 30px;
}

.logo-header-link {
  vertical-align: middle;
  display: inline-block;
  margin-right: 40px;
}

.header-phone {
  font-weight: 500;
  font-size: 20px;
  display: inline-block;
  margin-right: auto;
}

.log_in {
  font-size: 16px;
}

.header-div {
  width: 1170px;
  padding: 14px 45px;
  background-color: #fff;
  border-radius: 15px;
  justify-content: space-between;
  align-items: center;
}

.header-nav {
  justify-content: space-around;
}

.header-list {
  justify-content: space-evenly;
}

.no-marks {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.header-list-item {
  display: inline-block;
  margin-right: 45px;
}

.header-list-item:last-child {
  margin-right: 0;
}

.nav-link {
  font-size: 16px;
}

.header-buttons {
  justify-content: space-evenly;

}

.header-buttons .btn:not(:last-child) {
  margin-right: 40px;
}

.hidden {
  display: none;
}

.title-2 {
  margin: 0;
  margin-bottom: 20px;
  padding-left: 40px;
  font-weight: 400;
  font-size: 40px;
}

.special-list {
  justify-content: space-between;
}

.special-item-container {
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 24px;
}

.special-item-container .title-3 {
  margin-bottom: 15px;
}

.special-item {
  position: relative;
  padding: 40px 108px 40px 45px;
  min-width: 573px;
  min-height: 258px;
  background-color: gray;
  border-radius: 15px;
}

.special-item:first-child {
  margin-bottom: 24px;
}

.title-3 {
  margin: 0;
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 40px;
  line-height: 40px;
}

.price {
  margin-bottom: 47px;
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  opacity: 0.8;
}

.more {
  display: inline-block;
  font-size: 16px;
  line-height: 16px;
}

.special-item-tall {
  position: relative;
  padding: 212px 80px 40px 45px;
  min-width: 573px;
  min-height: 540px;
  background-color: gray;
  border-radius: 15px;
}

.special-item-tall .title-3 {
  font-size: 60px;
  line-height: 60px;
}

.special-item-tall .price {
  font-size: 30px;
  line-height: 30px;
}

.bg-sp-1 {
  background: linear-gradient(90deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%), url(../img/block_maldives.jpg);
  background-size: cover;
}

.bg-sp-2 {
  background: linear-gradient(90deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%), url(../img/block_krit.jpg);
  background-size: cover;
}

.bg-sp-3 {
  background: linear-gradient(0deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%), url(../img/block_luxury.jpg);
  background-size: cover;
}

.text {
  margin: 0;
  width: 900px;
  font-size: 16px;
  line-height: 200%;
}

.services-list {
  flex-wrap: wrap;
}

.services-item {
  position: relative;
  width: 573px;
  min-height: 330px;
  padding: 191px 45px 35px 45px;
  margin-right: 24px;
  margin-bottom: 24px;
  background-color: #fff;
  border-radius: 15px;
  background-repeat: no-repeat
}

.bg-sr-1 {
  background-image: url(../img/bg-glass.jpg);
}

.bg-sr-2 {
  background-image: url(../img/bg-table.jpg);
}

.bg-sr-3 {
  background-image: url(../img/bg-spa.jpg);
}

.bg-sr-4 {
  background-image: url(../img/bg-cars.jpg);
}

.services-item:nth-child(2n) {
  margin-right: 0;
}

.services-item:nth-child(n+3) {
  margin-bottom: 0;
}

.service-title {
  font-weight: 500;
  font-size: 20px;
}

.service-title:hover .stroke {
  stroke: var(--color-primary-light);
}

.service-desc {
  margin: 0;
  font-size: 16px;
  line-height: 200%;
}

.advantages-item {
  display: inline-block;
  width: 276px;
  min-height: 276px;
  padding: 116px 42px 32px 45px;
  margin-bottom: 22px;
  margin-right: 22px;
  background-color: #fff;
  border-radius: 15px;
  background-repeat: no-repeat;
  background-position: 40px 45px;
}

.advantages-item:nth-child(4n) {
  margin-right: 0;
}

.advantages-item:nth-last-child(-n+4) {
  margin-bottom: 0;
}

.bg-adv-1 {
  background-image: url(../img/svg/bathtub.svg);
}

.bg-adv-2 {
  background-image: url(../img/svg/hanger.svg);
}

.bg-adv-3 {
  background-image: url(../img/svg/heating.svg);
}

.bg-adv-4 {
  background-image: url(../img/svg/hotel-key.svg);
}

.bg-adv-5 {
  background-image: url(../img/svg/parking.svg);
}

.bg-adv-6 {
  background-image: url(../img/svg/reception.svg);
}

.bg-adv-7 {
  background-image: url(../img/svg/security-box.svg);
}

.bg-adv-8 {
  background-image: url(../img/svg/swimming-pool.svg);
}

.advantages-text {
  margin: 0;
  font-size: 16px;
  line-height: 200%;
  font-size: 16px;
}

.place-list {
  justify-content: space-between;
  flex-wrap: wrap;
}

.place-item {
  width: 374px;
  min-height: 440px;
  position: relative;
  margin-right: 24px;
  margin-bottom: 24px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 15px;

}

.place-item:nth-child(3n) {
  margin-right: 0;
}

.place-item:nth-last-child(-n+3) {
  margin-bottom: 0;
}

.place-text {
  padding: 32px 45px 45px 45px;
}

.place-block {
  margin-bottom: 16px;
}

.place-price-gray {
  display: inline-block;
  font-size: 16px;
  line-height: 16px;
  color: #999999;
}

.place-price-bold {
  display: inline-block;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
}

.place-price-black {
  display: inline-block;
  font-size: 16px;
  line-height: 16px;
}

.stars {
  display: inline-block;
  position: absolute;
  top: 252px;
  right: 45px;
}

.star {
  margin-right: 6px;
}

.star:last-child {
  margin-right: 0;
}

.place-name {
  margin: 0;
  margin-bottom: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
}

.place-adress {
  margin: 0;
  color: #999999;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
}

.place-more {
  background-image: linear-gradient(0deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%), url(../img/touring/more.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 27px;
  text-align: center;
  justify-content: center;
  align-items: flex-end;

}

.place-link {
  padding-right: 30px;
  font-weight: 500;
  font-size: 20px;
  line-height: 200%;
  background-image: url(../img/svg/place-arrow.svg);
  background-repeat: no-repeat;
  background-position: right center;
  color: #fff;
}

/* Хочу тур */

.order-div {
  padding: 45px 40px;
  background: #E9E9E9;
  border-radius: 15px;
}

.order-div .title-2 {
  padding: 0;
}

.form {
  padding: 30px 25px;
  background-color: #fff;
  border-radius: 15px;
  justify-content: space-between;
}

.order-form {
  border: none;
  font-size: 16px;
  line-height: 16px;
}

.label {
  font-size: 12px;
  line-height: 12px;
}

.label-name {
  display: block;
  margin-bottom: 15px;
}

.select {
  width: 170px;
  appearance: none;
  background-image: url(../img/svg/arrow-select.svg);
  background-repeat: no-repeat;
  background-position: right center;
}

.input {
  width: 120px;
  border-bottom: 1px solid#E9E9E9;
}

.form .btn {
  padding: 13px 30px;
}

.contacts-div {
  padding: 45px;
  background-color: #fff;
  border-radius: 15px;
  justify-content: space-between;
}

.contacts-list-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-item {
  font-size: 16px;
  line-height: 150%;
  padding-bottom: 23px;
  margin-bottom: 25px;
  border-bottom: 1px solid #E9E9E9;
}

.contacts-item:last-child {
  margin-bottom: 0;
}

.title-4 {
  display: inline-block;
  vertical-align: top;
  width: 145px;
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
}

.block {
  margin: 0;
  display: block;
}

.inline-block {
  margin: 0;
  display: inline-block;
}

.contacts-text {
  display: inline-block;
  width: 230px;
}

.text-gray {
  color: #999999;
}

.contacts-div .btn {
  padding: 27px 30px;
  align-self: flex-start;
}

.contacts-img {
  align-self: flex-start;
}

.footer {
  margin-bottom: 30px;
}

.footer-div {
  padding: 45px;
  justify-content: space-between;
  background: #333333;
  background-image: url(../img/svg/lagoona-footer.svg);
  background-repeat: no-repeat;
  background-position: 740px 112px;
  border-radius: 15px;
  font-weight: 400;
  font-size: 16px;
  line-height: 190%;
  color: #FFF;
}

.footer-copyright {
  width: 300px;
  margin-right: 120px;
}

.mar-bot-30 {
  margin-bottom: 30px;
}

.footer-adress {
  width: 380px;
  margin-right: auto;
}

.mar-bot-15 {
  margin-bottom: 15px;
}

.footer-social {
  width: 25px;
}

.social-link {
  display: block;
  line-height: 0;
  margin-bottom: 20px;
}

/* АНИМАЦИИ */

.link-stretch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.link-stretch:focus::before {
  outline: 1px solid var(--color-primary-dark);
  outline-offset: 8px;
}

.link-gray {
  transition: color 0.1s linear;
}

.link-gray:focus {
  color: var(--color-primary-dark);
  outline: 1px solid var(--color-primary-dark);
  outline-offset: 5px;
}

.link-gray:hover {
  color: var(--color-primary-dark);
}

.link-gray:active {
  color: var(--color-primary-active);
  outline: none;
}

.link-dark {
  fill: var(--color-primary-dark);
  transition: fill 0.2s linear, color 0.2s linear;
}

.link-dark:focus {
  color: var(--color-primary-dark);
  outline: 1px solid var(--color-primary-dark);
  outline-offset: 5px;
}

.link-dark:hover {
  fill: var(--color-primary-light);
  color: var(--color-primary-light);
}

.link-dark:active {
  fill: var(--color-primary-active);
  color: var(--color-primary-active);
  outline: none;
}

.btn {
  transition: background 0.2s ease, color 0.2s linear;
}

.btn:focus {
  outline: none;
  background-color: var(--color-primary-dark);
  color: #fff;
}

.btn:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.btn:active {
  background-color: var(--color-primary-active);
  color: #fff;
}

.link-light {
  transition: color 0.2s linear;
}

.link-light:focus {
  outline: none;
}

.link-light:active {
  color: #fff;
}

.link-light .arrow-animation {
  transition: margin 0.3s ease;
}

.link-light:hover .arrow-animation {
  margin-right: 11px;
}

.link-dark-service {
  stroke: var(--color-primary-dark);
  color: var(--color-primary-dark);
  transition: color 0.1s linear;
}

.link-dark-service .arrow-animation {
  transition: margin 0.3s ease;
}

.link-dark-service:focus {
  outline: none;
}

.link-dark-service:hover {
  stroke: var(--color-primary-light);
  color: var(--color-primary-light);
}

.link-dark-service:hover .arrow-animation {
  margin-right: 11px;
}

.link-dark-service:active {
  color: var(--color-primary-active);
  outline: none;
}

.social-animation .path {
  transition: fill 0.2s ease;
}

.social-animation:focus {
  outline: none;
}

.social-animation:focus .path {
  fill: var(--color-primary-dark);
}

.social-animation:hover .path {
  fill: var(--color-primary-dark);
}

.social-animation:active .path {
  fill: var(--color-primary-active);
}




