@font-face {
  font-family: 'Qanelas';
  src: url('../fonts/Qanelas-Black.woff2') format('woff2'),
       url('../fonts/Qanelas-Black.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Qanelas';
  src: url('../fonts/Qanelas-BlackItalic.woff2') format('woff2'),
       url('../fonts/Qanelas-BlackItalic.woff') format('woff');
  font-weight: normal;
  font-display: swap;
  font-style: italic;
}
* {
  box-sizing: border-box;
}

body {
  font-family: 'Qanelas', 'Roboto';
  margin: 0 auto;
}

h1, h2, h3 {
  margin: 0;
}

.container {
  min-width: 1600px;
}

:root {
  --beige: #D8CDBB;
  --dark-beige: #BBA774;
  --green: #206C66;
  --dark-green: #154542;
}

.header {
  background-color: var(--beige);
  display: flex;
  border-bottom: 1px solid var(--dark-green);
}

.header__content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header__btn {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__btn:hover {
  outline: 1px solid var(--dark-green);
  outline-offset: 2px;
}


.header__hide-menu {
  display: none;
  position: absolute;
  display: block;
  height: 250px;
  width: 190px;
  top: 32px;
  left: 60px;
  z-index: 5;
  background-color: #bba77481;
  border-radius: 5px;
  border: 1px solid var(--green);
  transform: translateY(-300px);
  transition:  transform 0.4s ease-in-out;
}

.header__nav {
  flex-basis: 40%;
}

.header__list {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

.header__items:not(:last-child) {
  margin-right: 40px;
}

.header__link {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  font-style: 400;
  line-height: 1;
  color: var(--green);
}

.header__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--dark-green);
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.header__link:hover::after {
  opacity: 1;
  transform: scale(1);
}

.header__link:hover {
  cursor: pointer;
  color: var(--dark-green);
  transition: 0.4s;
}

.link-tel {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  font-style: 400;
  line-height: 1;
  color: var(--green);
}

.link-tel::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--dark-green);
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.link-tel:hover::after {
  opacity: 1;
  transform: scale(1);
}

.link-tel:hover {
  cursor: pointer;
  color: var(--dark-green);
  transition: 0.4s;
}


.header__span {
  margin-right: 20px;
  font-size: 18px;
  font-weight: 300;
  font-style: 400;
  line-height: 1;
  color: var(--green);
}

.header__logo {
  width: 260px;
  height: 100px;
}

.swiper {
  width: 100%;
  height: 750px;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.hero__banner-img {
  width: 100%;
  height: 100%;
}

.hero__banner-main {
  position: absolute;
  width: 50%;
  height: 40%;
  z-index: 2;
  top: 25%;
  left: 30%;
  padding-left: 300px;
  padding-top: 50px;
  background-image: url(../img/logo-slide-1.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
}

.hero__header-main {
  font-size: 50px;
  line-height: 1;
  color: var(--dark-beige);
}

.hero__banner-second {
  position: absolute;
  z-index: 2;
  width: 35%;
  height: 70%;
  top: 10%;
  left: 8%;
  display: flex;
  align-items: flex-end;
  font-size: 30px;
  line-height: 1;
}

.banner-slide-2{
  background-image: url(../img/logo-slide-2.svg);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: 30% 20%;
}

.header-slide-2 {
  color: #fff;
}

.header-slide-2 small {
  color: var(--dark-green);
  font-size: 48px;
}

.header-slide-3 {
  color: var(--dark-green);
}

.header-slide-3 small {
  color: var(--dark-beige);
  font-size: 48px;
}

.banner-slide-3{
  background-image: url(../img/logo-slide-3.svg);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: 30% 20%;
}

.header-slide-4 {
  color: var(--green);
  text-align: left;

}

.header-slide-4 small {
  color: var(--dark-green);
  font-size: 50px;
}

.banner-slide-4{
  background-image: url(../img/logo-slide-3.svg);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: 30% 20%;
  width: 40%;
}

.text__header {
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  color: var(--dark-beige);
}

.about__container {
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3),-23px 0 20px -23px rgba(0, 0, 0, .8), 23px 0 20px -23px rgba(0, 0, 0, .8), 0 0 40px rgba(0, 0, 0, .1) inset;
  transform: translateY(-5px);
  padding: 50px;
}

.about__content {
  display: flex;
  padding: 30px;
  justify-content: space-between;
  
}

.about__text-box {
  flex-basis: 60%;
  padding-top: 35px;
}

.about__img-box {
  flex-basis: 30%;
}

.about__img {
  width: 100%;
  height: 100%;
}

.about__paragraph {
  text-indent: 30px;
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--dark-beige);
}

.about__item {
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--dark-beige);
}

.services {
  background-color: var(--beige);
  transform: translateY(-6px);
  padding: 50px 0;
}

.services__container {
  padding: 50px;
}

.services__header {
  color: var(--dark-green);
}

.services__content {
  display: flex;
  flex-wrap: wrap;
  padding: 50px 50px 0 50px;
  justify-content: center;
}

.services__box {
  flex-basis: 50%;
  margin-bottom: 50px;
}

.services__box:nth-child(1) {
  background-image: url(../img/servise-back.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.services__box:nth-child(2) {
  background-image: url(../img/servise-spa.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.services__box:nth-child(3) {
  background-image: url(../img/service-face.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.services__box:nth-child(4) {
  background-image: url(../img/servise-face-1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.services__text-box {
  padding: 20px;
}

.services__sub-header {
  color: var(--dark-green);
  font-size: 18px;
  line-height: 1;
}

.services__items {
  color: var(--dark-green);
}

.services__items:not(:last-child) {
  margin-bottom: 8px;
}

.services__btn {
  position: relative;
  min-width: 300px;
  min-height: 60px;
  border: none;
  border-radius: 50px;
  background-color: var(--green);
}

.services__link {
  position: absolute;
  top: 18px;
  right: 0;
  left: 0;
  bottom: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Qanelas';
  font-size: 20px;
  line-height: 1;
  color: var(--dark-beige);
}

.services__btn:hover {
  background-color: var(--dark-green);
  transition: 0.4s;
}

.services__link:hover {
  color: var(--beige);
  transition: 0.4s;
}

.master__container  {
  transform: translateY(-50px);
  background-color: #fff;
}

.masters__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.masters__box {
  display: flex;
  flex-basis: 50%;
  margin-bottom: 25px;
  justify-content: space-between;
}



.masters__img {
  flex-basis: 40%;
  max-height: 390px;
  border-radius: 30px;
}

.masters__text {
  flex-basis: 50%;
  padding: 20px;
}

.masters__sub-header {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.masters__discription {
  font-family: 'Roboto';
  text-indent: 30px;
  font-size: 14px;
  line-height: 20px;
  color: var(--green);
}

.masters__service {
  display: block;
  font-family: 'Roboto';
  text-indent: 30px;
  font-size: 14px;
  line-height: 20px;
  color: var(--green);
}

.masters__service:not(:last-child) {
  margin-bottom: 10px;
}

.masters__item {
  font-family: 'Roboto';
  text-indent: 30px;
  font-size: 14px;
  line-height: 20px;
  color: var(--green);
}

.master__btn-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer {
  background-color: var(--beige);
  /* transform: translateY(-50px); */
}

.footer__container {
  padding: 50px 30px ;
}

.footer__header {
  margin-bottom: 30px;
  color: var(--green);
}

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

.footer__text-box {
  flex-basis: 35%;
  padding: 20px;
}

.footer__map {
  flex-basis: 55%;
}

.footer__box-1 {
  display: flex;
  flex-direction: column;
}

.footer__info {
  margin-bottom: 15px;
}

.footer__place {
  font-size: 16px;
  line-height: 1;
  color: var(--dark-green);
  margin-right: 10px;
}

.footer__link-place {
  font-size: 16px;
  line-height: 1;
  color: var(--green);
  text-decoration: none;
  transition: color 0.5s ease-in-out;
}

.footer__link-place:hover {
  color: var(--dark-green);
}

.footer__sub-header {
  font-size: 20px;
  line-height: 1;
  color: var(--dark-green);
}

.footer__social-list {
  display: flex;
}

.foter__social-item {
  list-style: none;
}

.foter__social-item:not(:last-child) {
  margin-right: 30px;
  width: 60px;
  height: 60px;
}

.footer__vk {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../img/vk.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.footer__vk:hover {
  border: 1px solid var(--dark-beige);
  border-radius: 10px;
}

.footer__telegram {
  display: none;
}


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

.footer__review-item {
  list-style: none;
  flex-basis: 33.33%;
  min-height: 45px;
}

.footer__review-item:not(:last-child) {
  margin-right: 10px;
}

.footer__review-link {
  position: relative;
  text-decoration: none;
  color: var(--green);
  padding-left: 50px;
  padding-top: 10px;
  font-size: 20px;
}

.footer__review-link:hover::after {
  opacity: 1;
  transform: scale(1);
}

.footer__review-link:hover {
  cursor: pointer;
  color: var(--dark-green);
  transition: 0.4s;
}

.footer__review-link::after {
  content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--dark-green);
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.4s ease-in-out;
}


.footer__link-2gis {
  background-image: url(../img/2GIS_logo.svg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

.footer__link-zoon {
  background-image: url(../img/zoon.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

.footer__link-yandex {
  background-image: url(../img/Яндекс.Карты_логотип.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}



/* медиа */

@media (max-width: 1600px) {
  .container {
    min-width: 1200px;
  }

  .swiper {
    height: 650px;
  }

  .hero__header-second  {
    font-size: 30px;
  }

  .hero__header-second small {
    font-size: 30px;
  }  

  
  .hero__banner-main {
    padding-top: 100px;
    top: 20%;
    width: 75%;
    left: 20%;
  }

  .hero__header-main {
    font-size: 40px;
  }

  .about__text-box {
    flex-basis: 50%;  
  }

  .about__img-box {
    flex-basis: 40%;
  }

  .about__paragraph {
    line-height: 20px;
  }

  .about__item {
    line-height: 20px;
  }

  .services__text-box {
    padding: 0;
  }

  .masters__content  {
    padding: 0;
    padding-top: 20px;
  }

  .masters__text  {
    flex-basis: 55%;
  }

  .masters__discription  {
    font-size: 13px;
    line-height: 19px;
  }

  .masters__item  {
    font-size: 11px;
    line-height: 15px;
  }

  .masters__sub-header {
    font-size: 20px;
  }
}


@media (max-width: 1200px) {
  .container {
    min-width: 1024px;
  }

  .header__nav {
    display: none;
  }

  .header__btn {
    display: block;
    margin-right: 10px;
  }

  .header__menu-is-active {
    transform: translateY(0px);
  }

  .header__list {
    flex-direction: column;
    padding: 20px 50px;
  }

  .header__items {
    margin-bottom: 25px;
  }

  .hero__banner-main {
    padding-top: 100px;
    width: 75%;
    left: 20%;
  }

  .about__content  {
    padding: 10px;
  }
  
  .about__text-box {
    padding-top: 0;
  }
 
  .services__content {
    padding: 25px 25px 0 25px;
  }

  .services__items {
    font-size: 14px;
  }

  .services__box:nth-child(1) {
    background-size: 40%;
  }

  .services__box:nth-child(2) {
    background-size: 40%;
  }

  .services__box:nth-child(3) {
    background-size: 40%;
  }

  .services__box:nth-child(4) {
    background-size: 40%;
  }

  .masters__box  {
    flex-basis: 100%;
  }

  .masters__text  {
    flex-basis: 60%;
  }

  .masters__discription  {
    font-size: 12px;
    line-height: 12px;
  }

  .masters__item  {
    font-size: 12px;
    line-height: 12px;
    text-indent: 0px;
  }

  .masters__img {
    min-height: 350px;
    flex-basis: 30%;
  }

  
}

@media (max-width: 1024px) {
  .container {
    min-width: 768px;
  }
  
  .header__discription {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header__span {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
  }

  .swiper {
    height: 500px;
  }

  .hero__banner-main {
    padding-left: 170px;
    padding-top: 60px;
  }

  .hero__header-main {
    font-size: 32px;
  }

  .about__paragraph {
    font-size: 13px;
    line-height: 13px;
  }

  .about__item {
    font-size: 13px;
    line-height: 13px;
  }

  .services__container {
    padding: 0;
  }

  .services__box:nth-child(1) {
    background-image: none;
  }

  .services__box:nth-child(2) {
    background-image: none;
  }

  .services__box:nth-child(3) {
    background-image: none;
  }

  .services__box:nth-child(4) {
    background-image: none;
  }


}

@media (max-width: 768px) {
  .container {
    min-width: 576px;
  }

  .swiper {
    height: 450px;
  }

  .hero__header-main {
    font-size: 26px;
  }

  .hero__header-second {
    font-size: 24px;
  }
  
  .hero__header-second small {
    font-size: 24px;
  }

  .about__img-box {
    display: none;
  }

  .about__text-box {
    flex-basis: 100%;
  }

  .footer__content {
    flex-direction: column;
  } 
  
}


@media (max-width: 576px) {
  .container {
    min-width: 480px;
  }

  .header__logo {
    width: 150px;
    height: 80px;
  }

  .hero__banner-main {
    padding-top: 40px;
    left: 5%;
    width: 90%;
  }

  .services__box {
    flex-basis: 100%;
  }

  .services__box:nth-child(1) {
    background-image: url(../img/servise-back.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
  }
  
  .services__box:nth-child(2) {
    background-image: url(../img/servise-spa.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
  }
  
  .services__box:nth-child(3) {
    background-image: url(../img/service-face.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
  }
  
  .services__box:nth-child(4) {
    background-image: url(../img/servise-face-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
  }

  .masters__box {
    flex-direction: column;
  }

  .masters__img {
    min-height: 208px;
    flex-basis: 80%;
    align-self: center;
  }
 
}

@media (max-width: 480px) {
  .container {
    min-width: 320px;
  }

  .header__discription {
    display: none;
  }
  
  
  .header__logo {
    width: 150px;
    height: 80px;
  }
  
  .swiper {
    height: 250px;
  }

  .hero__banner-main {
    padding-left: 100px;
    padding-top: 10px;
  }

  .hero__header-main {
    font-size: 20px;
  }

  .hero__header-second {
    font-size: 16px;
  }

  .hero__header-second small {
    font-size: 16px;
  }

  .services__container {
    padding: 0 15px;
  }

  .services__box:nth-child(1) {
    background-image: none;
  }

  .services__box:nth-child(2) {
    background-image: none;
  }

  .services__box:nth-child(3) {
    background-image: none;
  }

  .services__box:nth-child(4) {
    background-image: none;
  }

  .services__btn {
    min-width: 250px;
    margin-bottom: 30px;
  }
  
  .footer__sub-header {
    font-size: 19px;
    text-align: center;
  }

  .footer__social-list {
    padding: 0;
    justify-content: center;
  }

  .footer__review-list {
    flex-direction: column;
  }
}