
:root{
    --main-bg: #151814;
    --header-bg: #20251f;
    --main-color: #FFFFFF;
    --hover-color: #c9c9c9;
    --intro-color: #A3A3A3;
    --active-color: #78A529;
    --active-color-hover: #5b8612;
    --lato-black: Lato-Black, sans-serif;
    --lato-bold: Lato-Bold, sans-serif;
    --lato-reg:Lato-Regular, sans-serif;
    --lato-light:Lato-Light, sans-serif;
    --monts-black: Montserrat-Black, sans-serif;
    --monts-bold: Montserrat-Bold, sans-serif;
    --monts-reg: Montserrat-Medium, sans-serif;
    --monts-light: Montserrat-Light, sans-serif;

}
@media (min-width: 500px){
    .successful__body{
        width:  400px;
        height: 290px;
        padding: 20px;
    }

    .successful__name {
        font-size: 34px;
    }
    .successful__name span{
        color: var(--active-color);
    }
    .successful__thanks {
        font-size: 20px;
    }
}
@media (min-width: 768px){
    .about__column-img {
        max-width: 600px;
        margin: 0 auto 25px;
    }
    .about__column-img img{
        width: 100%;
    }
    
    .portfolio__columns,
    .other__columns {
        gap: 20px;
    }
    .portfolio__column,
    .other__column {
        padding: 20px;
    }
    .portfolio__column:nth-child(1),
    .portfolio__column:nth-child(4),
    .portfolio__column:nth-child(7),
    .other__column:first-child {
        width: 100vw;
        height: 45vw;
        
    }
    .portfolio__column:nth-child(2),
    .portfolio__column:nth-child(3),
    .portfolio__column:nth-child(5),
    .portfolio__column:nth-child(6),
    .other__column:nth-child(2),
    .other__column:nth-child(3) {
        width: 47vw;
        height: 47vw;
    }
    .portfolio__column-title,
    .other__column-title {
        font-size: 24px;
    }
    .hero_decor{
        width: 100vw;
        background: url(../img/decor_bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .hero_treatment{
        width: 100vw;
        background: url(../img/treatment_bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .hero_service{
        width: 100vw;
        background: url(../img/service_bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .hero_trinity{
        width: 100vw;
        background: url(../img/trinity_bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .hero_lis{
        width: 100vw;
        background: url(../img/lis-nos/lis-nos-30.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .hero_crown{
        width: 100vw;
        background: url(../img/crown-bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .hero_about{
        width: 100vw;
        background: url(../img/about-bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 100vh;
    }
    .hero__body {
        padding-top: 290px;
        padding-bottom: 80px;
        display: block;
        height: auto;
    }
    
    
    
}
@media (min-width: 1024px){
    .intro {
        background: url(../img/intro-bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .intro__body{
        padding-top: 230px;
        padding-bottom: 260px;
    }
    .intro__title {
        font-size: 50px;
        margin-bottom: 30px;
    }
    .title {
        font-size: 50px;
    }

    .intro__subtitle {
        font-size: 18px;
    }
    .text{
        font-size: 18px;
    }
    .footer{
        background: var(--main-bg) url(../img/footer_background.svg);
        background-position: top;
        background-repeat: no-repeat;
     }
     .hero__body {
        padding-top: 290px;
        padding-bottom: 120px;
    }
    .hero__title {
        text-align: center;
    }
    .offer__column-list-item::after{
        top: 10px;
        left: 0;
        width: 15px;
        height: 15px;

    }
    .offer__column-price {
        font-size: 22px;
    }
    .team__cards {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .team__card {
        flex: 0 0 30%;
        margin: 0 auto;
        text-align: center;
    }
    .team__card_main{
        flex: 0 0 100%;
    }
    .team__card-box-img{
        margin-bottom: 10px;
    }
    .team__card-name {
        font-size: 25px;
        color: var(--active-color);
        line-height: 140%;
        
    }
    .team__card-position {
        position: relative;
        margin-bottom: 10px;
        
    }
    .team__card-text {
        margin: 0 auto;
        text-align: center;
        max-width: 400px;
    }
    .team__card_main .team__card-text {
        max-width: 800px;
    }
}
@media (min-width: 1200px){
    .block{
        padding: 50px;
    }
    .header{
        background: rgb(255,255,255);
        background: linear-gradient(357deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.1825105042016807) 100%);
    }
    
    .header__body{
        display: flex;
        gap: 0 50px;
    }
    
    .header__logo {
        width: 300px;
        height: 180px;
        position: relative;
        z-index: 11;
    }
    
    .header__logo-bg{
        left: -15%;
        width: 120%;
        height: 200px;
    }
    
    
    .header__logo img{
        top: 20px;
        left: 50px;
        width: 150px;
    }
    
    .header__menu {
        opacity: 1;
        visibility: visible;
        background: transparent;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
    }
    .header__list {
        display: flex;
       
    }
    .header__list-item {
        padding: 17px 25px;
    }
    .header__link{
        font-size: 20px;
        line-height: 150%;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
    }
    .header__link:hover{
        color: var(--hover-color);
    }
    .header__box-btn{
        margin-top:0;
        display: none;
    }
    .burger{
        display: none;
    }
    .header__call {
        margin-top: 37px;
        margin-bottom: 30px;
        display: flex;
        gap: 0 80px;
    }
    .header__call_pc {
    }
    .header__column {
        display: flex;
        align-items: center;
        gap: 0 20px;
    }
    .header__column-img {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
    }
    .header__column-img img{
        width: 100%;
    }
    .header__column-description {
    }
   
    .header__column-title {
        color: var(--active-color);
        font-size: 20px;
        line-height: 142%;
        font-family: var(--lato-bold);
        letter-spacing: 1.1px;
        text-transform: uppercase;
        margin-bottom: 1px;
    }
    .header__column-link {
        color: var(--main-color);
        font-size: 18px;
        line-height: 142%;
        font-family: var(--lato-reg);
        transition: all 0.3;
        -webkit-transition: all 0.3;
        -moz-transition: all 0.3;
        -ms-transition: all 0.3;
        -o-transition: all 0.3;
    }
    .header__column-link:hover{
        color: var(--hover-color);
    }
    .header__column-form {
        color: var(--main-color);
        font-size: 16px;
        line-height: 142%;
        font-family: var(--lato-black);
        padding: 20px;
        background: var(--active-color);
        border-radius: 44px;
        -webkit-border-radius: 44px;
        -moz-border-radius: 44px;
        -ms-border-radius: 44px;
        -o-border-radius: 44px;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        text-transform: uppercase;
    }
    .header__column-form:hover {
       background: var(--active-color-hover);
        
    }
    .intro__body{
        padding-top: 260px;
        padding-bottom: 160px;
    }
    .intro__title {
        font-size: 70px;
        margin-bottom: 30px;
        max-width: 60%;
        text-align: left;
    }
    .title {
        font-size: 70px;
    }
    
    .intro__subtitle{
        color: #dfdfdf;
        max-width: 60%;
    }
    .service {
        background: url(../img/service-bg.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        padding: 70px;
        margin-top: -140px;
        position: relative;
        z-index: 9;
    }
    
    .service__body {
        margin: 0 auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        max-width: 1000px;
        gap: 0 20px;
    }
    .service__column {
        display: flex;
        flex-direction: column;
        flex: auto;
        text-align: center;
        align-items: center;
        padding: 10px;
    
    }
       
    
    .service__column-img {
        margin-bottom: 17px;
    }
    .service__column-title {
        flex: 1 1 100%;
        color: var(--active-color);
        font-size: 15px;
        text-transform: uppercase;
        line-height: 143%;
        margin-bottom: 14px;
        font-family: var(--lato-black);
        font-weight: 700;
        max-width: 200px;
        text-align: center;
    }
    
    .service__column-link-img{
        transition: all 0.6s;
        -webkit-transition: all 0.6s;
        -moz-transition: all 0.6s;
        -ms-transition: all 0.6s;
        -o-transition: all 0.6s;
}
    .service__column:hover .service__column-link-img {
            transform: translateX(20%);
            -webkit-transform: translateX(20%);
            -moz-transform: translateX(20%);
            -ms-transform: translateX(20%);
            -o-transform: translateX(20%);
    }
    
    .about__body{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 0 20px;
    }
    .about__column {
        flex: 0 0 48%;
    }

    .about__column-title {
        padding-bottom: 15px;
        border-bottom: 2px dashed var(--intro-color);
        margin-bottom: 15px; 
    }
    .about__column-img {
        margin-bottom: 0;
    }
    .about__link:hover .about__link-img{
       transform: translateX(20%);
       -webkit-transform: translateX(20%);
       -moz-transform: translateX(20%);
       -ms-transform: translateX(20%);
       -o-transform: translateX(20%);
    }
    
    .portfolio__columns,
    .other__columns  {
        /* flex-wrap: nowrap; */
        gap: 20px;
    }
    .portfolio__column:nth-child(1),
    .portfolio__column:nth-child(4),
    .portfolio__column:nth-child(7),
    .other__column:first-child { 
        width: auto;
        height: auto;
    }
    .portfolio__column:nth-child(2),
    .portfolio__column:nth-child(3),
    .portfolio__column:nth-child(5),
    .portfolio__column:nth-child(6),
    .other__column:nth-child(2),
    .other__column:nth-child(3)  {
        width: auto;
        height: auto;
    }
    .portfolio__column,
    .other__column {
        flex: 0 0 29vw;
        min-height: 27vw;
    }
    
    .portfolio__column-title,
    .other__column-title {
        font-size: 24px;
        z-index: 3;
    }
    .portfolio__column-img,
    .other__column-img{
        z-index: 3;
    }
    .portfolio__column:hover .portfolio__column-img,
    .other__column:hover .other__column-img
    {
        transform: translateX(40%);
        -webkit-transform: translateX(40%);
        -moz-transform: translateX(40%);
        -ms-transform: translateX(40%);
        -o-transform: translateX(40%);
    }
    
    .portfolio__column:hover .portfolio__column-link,
    .other__column:hover .other__column-link{
        background: rgb(255,255,255);
        background: linear-gradient(189deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.42620798319327735) 100%);
    }
    

    .contact__body{
        display: flex;
    }
    .contact__title{
        font-size: 50px;
        flex: 0 0 45%;
        
    }
    .contact__description{
        flex: 0 0 45%;
        padding: 0 40px;
        border-left: 2px dashed var(--intro-color);
    }
    .contact__description-link-img{
        transition: all 0.6s;
        -webkit-transition: all 0.6s;
        -moz-transition: all 0.6s;
        -ms-transition: all 0.6s;
        -o-transition: all 0.6s;
    }
    .contact__description-link:hover .contact__description-link-img{
        transform: translateX(40%);
        -webkit-transform: translateX(40%);
        -moz-transform: translateX(40%);
        -ms-transform: translateX(40%);
        -o-transform: translateX(40%);
    }
    
    .footer__column-link{
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
    }
    .footer__column-link:hover{
        color: var(--hover-color);
    }
    .footer__list-item-link img{
        transition: all 0.4s;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        -ms-transition: all 0.4s;
        -o-transition: all 0.4s;
    }
    .footer__list-item-link:hover img{
        transform: scale(1.06);
        -webkit-transform: scale(1.06);
        -moz-transform: scale(1.06);
        -ms-transform: scale(1.06);
        -o-transform: scale(1.06);
    }
    .back__link-img {
        transition: all 0.6s;
        -webkit-transition: all 0.6s;
        -moz-transition: all 0.6s;
        -ms-transition: all 0.6s;
        -o-transition: all 0.6s;
    }
    .back__link:hover  .back__link-img {
       transform: translateX(40%);
       -webkit-transform: translateX(40%);
       -moz-transform: translateX(40%);
       -ms-transform: translateX(40%);
       -o-transform: translateX(40%);
    }
    .hero__body{
        height: 65vh;
    }
    .hero__title{
        text-align: center;
        margin: 0 auto;
        width: 100%;
        font-size: 80px;
        width:min-content;
    }

    .offer__body {
        display: flex;
        padding-top: 30px;
        gap: 0 45px;
    }
    .offer__column {
        flex: 0 0 48%;
    }
    .offer__column-link {
    }
    .offer__column-item-link {
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
    }
    .offer__column-item-link:hover{
        color: #dfdfdf;
    }
    .offer__column-link img{
        transition: all 0.6s;
        -webkit-transition: all 0.6s;
        -moz-transition: all 0.6s;
        -ms-transition: all 0.6s;
        -o-transition: all 0.6s;
    }
    
    .offer__column-link:hover .offer__column-link-img{
        transform: translateX(40%);
        -webkit-transform: translateX(40%);
        -moz-transform: translateX(40%);
        -ms-transform: translateX(40%);
        -o-transform: translateX(40%);
    }
    .offer__form-btn {
        padding:8px;
        width: 160px;
        margin-bottom: 0px;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
    }
    .offer__form-btn:hover {
        background: var(--active-color-hover);
        
    }
   

    .entry__description{
        display: flex;
        gap: 30px;
        margin-bottom: 30px;
        align-items: center;
    }
    .entry__title{
        font-size: 60px;
        flex: 0 0 46%;
        border-bottom: none;
        border-right: 2px dashed var(--intro-color);
    }
    .entry__title_vsevolozhsk{
        border: none;
        flex: 0 0 100%;
        text-align: center;
    }
    
    .entry__gal-img{
        width: 38vw;
        height: 32vw;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        
    }
    .entry__gal-img_wide{
        width: 76.5vw;
    }
    .entry__gal-text{
        width: 76.5vw;
        margin: 0 auto;
        margin: 20px 0;
    }
    .entry__gal-img_long{
        height: 50vw;
    }
    .back__link{
        margin: 0 auto;
    }
    .introduction__body{
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    .introduction__column{
        flex: 0 0 47%;
    }
    .introduction__column-text {
        margin-bottom: 0;
    }
    .team__card-img {
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
    }
    .team__card-img:hover {
        box-shadow: 0 0 10px 2px var(--active-color);
    }
    .reviews__box{
        position: relative;
        padding: 50px;
        display: block;
    }
    .reviews__box-buttons{
        position: absolute;
        top: 20px;
        width: 100px;
        right: 0;
        display: block;
    }
    .reviews__swiper-button-prev {
        color: transparent;
    }
    .reviews__swiper-button-next {
        color: transparent;
    }
    .reviews__swiper-button{
        width: 35px;
        height: 35px;
        object-fit: contain;
        transition: all 0.4s;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        -ms-transition: all 0.4s;
        -o-transition: all 0.4s;
    }
    .reviews__swiper-button:hover{
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -ms-transform: scale(1.2);
        -o-transform: scale(1.2);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
    }
    .reviews__swiper-button:active{
            transform: scale(0.9);
            -webkit-transform: scale(0.9);
            -moz-transform: scale(0.9);
            -ms-transform: scale(0.9);
            -o-transform: scale(0.9);
    }
    .vakansii__card-title,
    .vakansii__card-title > span{
        font-size: 32px;
        font-family: var(--lato-bold);
        margin-bottom: 20px;
    }
    .vakansii__card-mini-title{
        color: var(--main-color);
        font-size: 20px;
    }
    .vakansii__card-link{
        transition: all 0.4s;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        -ms-transition: all 0.4s;
        -o-transition: all 0.4s;
    }
    .vakansii__card-link:hover{
        background: var(--active-color-hover);
    }
}

@media (min-width: 1600px){

}

@media  (max-width: 425px){
    .header__logo_about{
        opacity: 0;
        visibility: hidden;
    }
    .header__menu_about {
        margin-top: -180px;
        padding: 70px 20px 20px 20px;
    }
    .hero__title{
        width:min-content;
    }
}
@media  (max-width: 370px){
    .entry__gal-img{
        width: 44.5vw;
        height: 44.5vw;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }
    .entry__gal-img_wide{
        width: 92.4vw;
    }
    .entry__gal-img_long{
        height: 90vw;
    }
    .entry__gal-text {
        margin: 15px 0;
    }
}
@media (min-width: 1900px){
    .portfolio__column,
    .other__column  {
        flex: 0 0 23vw;
        min-height: 21vw;
    }
    .entry__title{
        font-size: 70px;
    }
    .entry__gal-img{
        width: 25vw;
        height: 25vw;
    }
    .entry__gal-img_wide{
        width: 50.3vw;
    }
    .entry__gal-text{
        width: 50.3vw;
    }
    .entry__gal-img_long{
        height: 50vw;
    }
 
   
}
@media (min-width: 2200px){
    .portfolio__column,
    .other__column {
        flex: 0 0 17vw;
        min-height: 17vw;
    }
    
}
@media (min-width: 2700px){
    .entry__gal-img{
        width: 20vw;
        height: 20vw;
    }
    .entry__gal-img_wide{
        width: 40.3vw;
    }
    .entry__gal-text{
        width: 40.3vw;
    }
    .entry__gal-img_long{
        height: 40vw;
    }

}


.hero__title_ex{
    width: auto;
}
