@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

@font-face {
    font-family: lettersg;
    src: url(/font/mr_hanginglettersg.otf);
}

@font-face {
    font-family: Pobeda-Regular;
    src: url(/font/Pobeda-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 25px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ******************************************* */
.home_page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url(../img/logo.png);
       background-size: 1000px auto;
    background-position: center center;
    background-repeat:no-repeat;
    background-position: center ;
}


/* 
.home_page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100%;
  position: relative;
  overflow: hidden;
    background-color: #dfdede;
  background-image: url(../img/logo.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 20px;
  box-sizing: border-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
} */

@media (max-width: 768px) { /* Мобильные устройства*/
  .home_page {
    background-size: 90% auto;
    padding: 10px;
  }
}

@media (max-width: 1024px) { /* Планшеты */
  .home_page {
    background-size: 80% auto;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .home_page {
    background-size: 95% auto;
    padding: 5px;
  }
}

@media (max-width: 320px) {
  .tel {
    padding: 10px 12px;
  }
}

/* .fone {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: -100;
    background-image: url(../logo/logo_2.png);
} */

ul {
    margin: auto 0;
}

ul li {
    list-style: none;
    text-align: center;
}

ul li a {
    color: #333;
    text-decoration: none;
    font-size: 2em;
    padding: 5px 20px;
    display: inline-flex;
    font-weight: 700;
    transition: 0.5s;
    text-transform: uppercase;
}

ul:hover li a {
    color: #0002;
}

ul li:hover a {
    color: #000;
    background: rgba(255, 255, 255, 0.411);
}

ul li a:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 500px;
    transition: letter-spacing 0.5s, left 0.5s;
}

ul li a:hover:before {
    content: attr(data-text);
    opacity: 1;
    left: 50%;
    letter-spacing: 10px;
    width: 1400px;
    height: 1400px;
    white-space: nowrap;
    font-size: 5vw;
}

ul li:nth-child(6n+1) a:before {
    /* background: #81ecec; */
    background-image: url(../img/chistka_lica.webp);
    background-position: center center;
    background-size: cover;
}

ul li:nth-child(6n+2) a:before {
    /* background: #ff7675; */
    background-image: url(../img/2148878929.jpg);
    background-position: center center;
    background-size: cover;
}


ul li:nth-child(6n+3) a:before {
    /* background: #a29bfe; */
    background-image: url(../img/2149341879.jpg);
    background-position: center center;
    background-size: cover;
}

ul li:nth-child(6n+4) a:before {
    /* background: #fd79a8; */
    background-image: url(../img/2148502245.jpg);
    background-position: center center;
    background-size: cover;
}

ul li:nth-child(6n+5) a:before {
    /* background: #ffeaa7; */
    background-image: url(../img/2149994397.jpg);
    background-position: center center;
    background-size: cover;
}

ul li:nth-child(6n+6) a:before {
    /* background: #ffeaa7; */
    background-image: url(../img/2148878892.jpg);
    background-position: center center;
    background-size: cover;
}

ul li:nth-child(6n+7) a:before {
    /* background: #ffeaa7; */
    background-image: url(../img/2148820208.jpg);
    background-position: center center;
    background-size: cover;
}

.logo {
    position: absolute;
    width: 250px;
    padding: 0px;
    top: 10px;
    left: 10px;
    padding: 1%;
    background-color: #dadada4d;
    border-radius: 10px;
}

.icons {
    display: flex;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 20px;
}

.tel {
    display: flex;
    margin-right: 10px;
    font-weight: 500;
    align-items: center;
}

.tel img {
    width: 30px;
}

.tel a {
    text-decoration: none;
    color: #333;
}

.icons img {
    width: 40px;
    transition: 0.5s ease;
    padding: 3px;
    border-radius: 50%;
    border: 1px dashed black;
}

.icons img:not(:last-child) {
    margin-right: 5px;
}

.icons img:hover {
    transform: scale(1.3);
    cursor: pointer;
}

@media (max-width: 1240px) {
    ul li a:hover:before {

        width: 1200px;
        height: 1200px;
        letter-spacing: 5px;
    }

}

@media (max-width: 768px) {
    ul li a {

        font-size: 20px;

    }

    ul li a:hover:before {

        width: 600px;
        height: 600px;
        letter-spacing: 5px;
    }

    .logo {
        display: none;
    }
}

/* *********************************************************** */
section {
    position: relative;
    min-height: 100%;
    padding: 100px 0px;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
}

.page_1 {
    background-image: url(../img/bg_page_1.jpg);
}

.title_page {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    color: #333;
    padding: 15px 100px;
    box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.575);
    margin-bottom: 60px;

}

.tp_1 {
    background-color: #6eadd4;
    align-self: start;
}

.tp_2 {
    background-color: #fd79a8;
    align-self: flex-end;
}

.tp_3 {
    background: #81ecec;

    align-self: flex-end;
}

.tp_4 {
    background: #e7d2a9;
    align-self: flex-start;
}

.tp_5 {
    background: #83e2b3;
    align-self: flex-end;
}

.tp_6 {
    background: #b483e2;
    align-self: flex-start;
}

.tp_7 {
    background: #b483e2;
    align-self: flex-start;
}

.tp_8 {
    background: #f3b2cb;
    align-self: flex-start;
}

.tp_9 {
    background: #b2f3bd;
    align-self: flex-end;
}

.container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    position: relative;
    width: 350px;
    height: 450px;
    perspective: 1000px;
    margin: 20px;
    display: flex;
    justify-content: center;
}

.card .face {
    position: absolute;
    width: 350px;
    /* padding: 20px; */
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card .face1 {
    background: #ffffff;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.card .face2 {
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); */
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    position: relative;
}

.card:hover .face1 {
    transform: rotateY(180deg);
    cursor: pointer;
}

.card:hover .face2 {
    transform: rotateY(0deg);
    cursor: pointer;
}

.card .icon {
    width: 350px;
    height: 100%;
    transition: 0.7s;
    display: flex;
    align-items: flex-start;
}

.icon {
    background-size: cover;
    background-position: center;
}

.bgc1 {
    background-image: url(../img/chistka_1.webp);
}

.bgc2 {
    background-image: url(../img/chistka_2.webp);
}

.bgc3 {
    background-image: url(../img/chistka_3.webp);
}

.bgc4 {
    background-image: url(../img/piling_1.webp);
}

.bgc5 {
    background-image: url(../img/piling_2.webp);
}

.bgc6 {
    background-image: url(../img/piling_3.jpg);
}

.bgc7 {
    background-image: url(../img/piling_4.jpg);
}

.bgc8 {
    background-image: url(../img/piling_5.jpg);
}

.bgc9 {
    background-image: url(../img/piling_6.jpg);
}

.bgc10 {
    background-image: url(../img/massag_1.jpg);
}

.bgc11 {
    background-image: url(../img/massag_2.jpg);
}

.bgc12 {
    background-image: url(../img/massag_3.webp);
}

.bgc13 {
    background-image: url(../img/mezoterapiya.jpg);
}

.bgc14 {
    background-image: url(../img/biorevital.webp);
}

.bgc15 {
    background-image: url(../img/mikrotoki.jpg);
}

.bgc16 {
    background-image: url(../img/ipl.webp);
}

.bgc17 {
    background-image: url(../img/RF1.jpg);
}

.bgc18 {
    background-image: url(../img/morshini.jpg);
}

.bgc19 {
    background-image: url(../img/volosi.jpg);
}

.bgc20 {
    background-image: url(../img/2147778331.jpg);
}

.bgc21 {
    background-image: url(../img/genetik.jpg);
}

.bgc22 {
    background-image: url(../img/best-microneedling-pen-cutera-lying-down-women.webp);
}

.bgc23 {
    background-image: url(../img/pirsing.jpg);
}

.bgc24 {
    background-image: url(../img/podarok.jpg);
}

.bgc25 {
    background-image: url(../img/podarok_2.jpg);
}

.bgc26 {
    background-image: url(../img/podarok_3.jpg);
}

.bgc27 {
    background-image: url(../img/podarok_4.jpg);
}

.bgc28 {
    background-image: url(../img/nutri_2.jpg);
}

.bgc29 {
    background-image: url(../img/nutri_3.jpg);
}

.bgc30 {
    background-image: url(../img/nutri_4.jpg);
}

.bgc31 {
    background-image: url(../img/podarok_4.jpg);
}

.bgc32 {
    background-image: url(../img/kosm_1.jpg);
}

.bgc33 {
    background-image: url(../img/kosm_2.jpg);
}

.bgc34 {
    background-image: url(../img/kosm_3.jpg);
}

.bgc35 {
    background-image: url(../img/kosm_4.jpg);
}

.bgc36 {
    background-image: url(../img/IMG_8090.png);
}

.icon p {
    width: 100%;
    margin: 0;
    font-size: 20px;
    font-family: sans-serif;
    background-color: white;
    padding: 15px 20px;
    box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.452);
}

.desc_card {
    margin: 10px 0 0 0;
    padding: 0;
    color: #414141;
    font-size: 14px;
    text-align: center;

}

.face2 .content h3 {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 24px;
    text-align: center;
    color: #ff0057;
    line-height: 25px;
}

.application {
    background-color: #ff0057;
    padding: 10px 20px;
    border-radius: 5px;
    color: white !important;
    margin-top: 30px;
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.541);
    text-decoration: none;
}

.card .face2 .content {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card .face2 .content .desc_card {
    max-height: 60%;
    /* Ограничиваем высоту текста */
    overflow-y: auto;
    margin-bottom: 15px;
}

.card .face2 .content .desc_card_2 {
    max-height: 82%;
    overflow-y: auto;
    text-align: justify;
}

.application {
    margin-top: auto;
}

.price {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin-top: auto;
}

@media (max-width: 768px) {


    .title_page {
        font-size: 30px;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }

    section {
        padding: 30px 0px;
    }

}


/* ********************************************************************* */
.page_2 {
    background-image: url('../img/bg_page_2.jpg');
}

.page_7 {
    background-image: url('../img/bg_page_3.jpg');
}

.page_3 {
    background-image: url('../img/bg_page_4.jpg');
}

.page_4 {
    background-image: url('../img/bg_page_5.jpg');
}

.page_5 {
    background-image: url('../img/bg_page_6.jpg');
}

.page_6 {
    background-image: url('../img/bg_page_3.jpg');

}

.page_7 {
    background-image: url('../img/bg_page_2.jpg');

}

/* ******************************************** */
.page_6 img {
    border-radius: 50%;
    width: 250px;
}

.slick-list {
    overflow: hidden;

}

.dip img {
    width: 100%;
    border-radius: 10px;
}

.dip {
    margin: 20px 30px 20px 30px;
}

.slick-track {
    display: flex;
    align-items: center;
    justify-content: center;
}


.slider {
    position: relative;
    width: 100%;
    /* важно для адаптивности */
    max-width: 100%;
    padding: 0 50px;
}

.slider_2 {
    position: relative;
    width: 100%;
    max-width: 1300px;
    /* Ограничение максимальной ширины */
    margin: 0 auto;
    /* Автоматические отступы по бокам */
    padding: 0 80px;
    /* Увеличьте отступы для стрелок */
}

.slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    margin: 0 50px;
    z-index: 20;
    font-size: 0;
    width: 40px;
    height: 40px;
}

.slider_2 .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    margin: 0 50px;
    z-index: 20;
    font-size: 0;
    width: 40px;
    height: 40px;
}

.slider .slick-arrow.slick-next {
    right: -25px;
    background: url("../icons/arrow-right.png") 0 0 / 100% no-repeat;
    border: none;
}

.slider .slick-arrow.slick-prev {
    left: -25px;
    background: url("../icons/arrow-left.png") 0 0 / 100% no-repeat;
    border: none;
}

.slider_2 .slick-arrow.slick-next {
    right: -25px;
    background: url("../icons/arrow-right.png") 0 0 / 100% no-repeat;
    border: none;
}

.slider_2 .slick-arrow.slick-prev {
    left: -25px;
    background: url("../icons/arrow-left.png") 0 0 / 100% no-repeat;
    border: none;
}

.slider .slick-arrow.slick-prev,
.slick-arrow.slick-next:hover {
    cursor: pointer;
}

.slider_2 .slick-arrow.slick-prev,
.slick-arrow.slick-next:hover {
    cursor: pointer;
}

.slider .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider_2 .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .slick-dots li {
    list-style: none;
    margin: 0px 10px;
}

.slider_2 .slick-dots li {
    list-style: none;
    margin: 0px 10px;
}

.slider .slick-dots button {
    font-size: 0;
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    border: none;
}

.slider_2 .slick-dots button {
    font-size: 0;
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    border: none;
}

.slider .slick-dots li.slick-active button {
    background-color: rgba(127, 255, 212, 0);
    background-color: rgb(0, 162, 255);
    border: 1px solid rgb(0, 162, 255);
}

.slider_2 .slick-dots li.slick-active button {
    background-color: rgba(127, 255, 212, 0);
    background-color: rgb(0, 162, 255);
    border: 1px solid rgb(0, 162, 255);
}

.slider .slick-dots button:hover {
    cursor: pointer;
}


@media (max-width: 550px) {
    .slider_2 .slick-arrow {
        margin: 0 60px;
        width: 30px;
        height: 30px;
    }

    .slider_2 {

        padding: 0 20px;
    }

    .card {
        width: 300px;
    }

    .card .face {
        width: 300px;
    }

    .card .icon {
        width: 300px;
    }

    .slider_2 .slick-dots li {
        margin: 0px 5px;
    }

    .title_page {
        padding: 15px 0px;
    }
}

/* *********************************************** */
.request {
    position: relative;
    background-color: #e7d2a950;
    padding: 50px;
    border-radius: 20px;
    height: 100%;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.384);
}

.desc_request {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    width: 100%;
    margin-bottom: 30px;
}

form {
    margin-bottom: 30px;
}

input {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.199);
    outline: none;
    margin-right: 20px;
}

::placeholder {
    font-size: 16px;
}

.my_btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: rgb(0, 0, 0);
    background-color: rgb(1, 204, 255);
    text-shadow: 2px 2px 3px rgb(107, 107, 107);
    transition: 0.1s ease;
}

.my_btn:hover {
    cursor: pointer;
    background-color: rgb(2, 133, 255);
}

.link_text {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
    margin-bottom: 30px;
}

.link {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.teleg {
    width: 35px;
    margin: 5px 0 0 5px;
}

.politic {
    font-size: 14px;
}

.link_politict {
    color: rgb(0, 0, 0);
}

@media (max-width: 768px) {
    .request {
        padding: 30px;
        margin: 30px 30px 0 30px;
    }

    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    input {
        margin-right: 0px;
        width: 80%;
        margin-bottom: 20px;
    }

    .my_btn {
        width: 80%;
    }
}

@media (max-width: 500px) {
    .request {
        padding: 20px;
        margin: 30px 20px 0 20px;
    }

    input {
        width: 90%;
    }

    .my_btn {
        width: 90%;
    }

    .link {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        flex-direction: column;
    }
}

/* *********************************** */
.page_8 .container {
    flex-wrap: nowrap;
}

iframe {
    width: 800px;
    height: 400px;
    border-radius: 10px;
    border: none;
}

@media (max-width: 1024px) {
    .page_8 .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    iframe {
    width:90%;
    height: 400px;
    border-radius: 10px;
    border: none;
    margin: 20px;
}

}

/* ********************* */
.contacts {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.social {
    display: flex;
    align-items: center;
    right: 20px;
    margin-bottom: 10px;
}

.contacts img {
    width: 30px;
    margin-right: 7px;
}

.contacts a {
    text-decoration: none;
    color: #333;
}

.number {
    display: flex;
    margin-right: 10px;
    font-weight: 500;
    align-items: center;
    margin-bottom: 10px;
}

.number img {
    width: 25px;
}

.number a {
    text-decoration: none;
    color: #333;
}