@import url(fonts.css);
body{
    margin: 0;
    font-family: RobotoCondensed;
    font-weight: 300;
    --text-dark: #303030;
    --main-color: #E6D9D0;
    font-size: 18px;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}


a{
    color: #303030;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

h1{
    font-weight: normal;
    font-size: 45px;
    margin-top: 0;
    margin-bottom: 0;
}

h2{
    font-weight: normal;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 2em;
    text-align: center;
}

h3{
    font-size: 27px;
    margin-bottom: 1em;
    font-weight: 300;
}

section{
    padding-top: 60px;
    padding-bottom: 60px;
}
section+section{margin-top: 40px;}

@media(max-width: 800px){
    section{padding-top: 40px;padding-bottom: 40px;}
    section+section{margin-top: 20px;}
    h2{margin-bottom: 1em;}
}

table{
    border-radius: 36px;
    border-spacing: 0;
    border-collapse: collapse;
}
table tr:first-child > th:first-child{border-top-left-radius: 18px;}
table tr:first-child > th:last-child{border-top-right-radius: 18px;}
table tr:last-child > td:first-child{border-bottom-left-radius: 18px;padding-bottom: 20px;padding-top: 10px;}
table tr:last-child > td:last-child{border-bottom-right-radius: 18px;padding-bottom: 20px;padding-top: 10px;}
table td:last-child, table th:last-child{padding-right: 40px;}
table th{
    font-weight: normal;
    text-align: center;
    font-size: 27px;
    padding: 10px;
}
table td:first-child{padding: 10px 10px 10px 40px;}
table td:first-child{text-align: left;}
table td:last-child{text-align: center;}

button{
    background-color: white;
    border-radius: 18px;
    padding: 12px 20px;
    border: none;
    font-family: RobotoCondensed;
    font-size: 18px;
    font-weight: 300;
}

.fixed-button{
    background-color: white;
    border-radius: 18px;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.25);
    position: fixed;
    right: 36px;
    opacity: .8;
    transition: .2s;
}
.fixed-button:hover{
    opacity: 1;
    cursor: pointer;
    transform: scale(1.1);
}
    #fastcall{
        padding: 8px;
        bottom: 36px;
    }
        #fastcall > img{width: 36px; height: 36px;display: block;}
        /*
    #register-online{
        padding: 12px 22px;
        text-decoration: underline;
        font-size: 18px;
        font-weight: normal;
        bottom: 36px;
    }
    */
/********** NAVIGATION **********/
nav{
    background-color: rgba(255, 255,255, .6);
    padding-top: 24px;
    padding-bottom: 24px;
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(5px);
    z-index: 3;
}
    nav > div{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
        nav ul{
            padding-left: 0;
            list-style-type: none;
            margin-top: 0;
            margin-bottom: 0;
        }
            nav li{
                display: inline-block;
            }
                nav li+li{
                    margin-left: 36px;
                }

                .other_part:hover > #switch-part{transform: rotate(360deg);}
                #switch-part{
                    width: 20px;
                    position: relative;
                    top: 3px;
                    margin-right: 5px;
                    transition: .2s;
                }

#burger {cursor: pointer;display: none;}
.bar1, .bar2, .bar3 {width: 35px;height: 3px;background-color: var(--text-dark);margin: 6px 0;transition: 0.2s;border-radius: 2px;}
.change .bar1 {-webkit-transform: rotate(-45deg) translate(-8px, 3px);transform: rotate(-45deg) translate(-10px, 4px);}
.change .bar2 {opacity: 0;}
.change .bar3 {-webkit-transform: rotate(45deg) translate(-8px, -3px);transform: rotate(45deg) translate(-8px, -3px);}

#burger_sub{
    background-color: white;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.2);
    position: fixed;
    top: -100vh;
    right: 0;
    width: max-content;
    z-index:2;
    transition: .5s;
    list-style-type: none;
    padding-left: 3em;
    padding-bottom: 1em;
    padding-right: 2em;
    padding-top: 4em;
    border-bottom-left-radius: 2em;
    text-align: right;
    font-size: 20px;
}
#burger_sub li{margin-top: .5em;}

@media(max-width: 1000px){
    #full-nav{display: none;}
    #burger{display: block;}
}
/********** HEADER **********/
header{
    background: no-repeat url(../img/figure/h_t_l.svg), no-repeat url(../img/figure/h_b_r.svg);
    background-position: left top, 90% 101%;
    background-size: 38%, 20%;
    padding-top: 130px;
    padding-bottom: 70px;
}
    header > div{
        display: flex;
        justify-content: center;
        align-items: center;
    }
        .header_info{
            margin-left: 36px;
            font-size: 27px;
            font-weight: normal;
        }
        .header_info address{
            font-style: normal;
            margin-top: 18px;
            margin-bottom: 18px;
        }
@media(max-width: 800px){
    header > div{flex-wrap: wrap;}
    header img{max-width: 50%;}
    .header_info{text-align: center;margin-left: 0;margin-top: 1em;font-size: 22px;}
    h1{font-size: 27px;}
}
@media(max-width: 500px){
    header{background-size: 80%, 30%;}
}

/********** DESC and LASER **********/
#desc-and-laser{
    background-color: var(--main-color);
}
#desc-and-laser h2{
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
}
#desc-and-laser h3{
    font-size: inherit;
    margin-bottom: 0;
    font-weight: normal;
}
    #desc-and-laser > div > div:first-child{
        text-align: center;
    }
    #desc-and-laser > div > div:last-child{
        margin-top: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
        #desc-and-laser > div > div > div{
            max-width: 470px;
            margin-left: 60px;
            text-align: justify;
        }
            #desc-and-laser > div > div > div ul{
                padding-left: 1em;
                margin-top: 0;
                margin-bottom: 0;
            }
            #more{
                transition: .2s;
                margin-left: 5px;
                position: relative;
                top: 2px;
            }
            #desc-and-laser a:hover > #more{
                transform: rotate(360deg);
            }
@media(max-width: 900px){
    #desc-and-laser > div > div:last-child{flex-wrap: wrap;}
    #desc-and-laser > div > div:last-child img{max-width: 60%;}
    #desc-and-laser > div > div > div h2{text-align: center;}
    #desc-and-laser > div > div > div{margin-left: 0;margin-top: 2em;}
}

/********** SERVICES AND PRICES **********/
.service-and-price-wrap{
    display: flex;
    justify-content: space-evenly;
    align-items: start;
}
    .service-and-price-item{
        max-width: 560px;
        text-align: center;
    }
    .service-and-price-item + .service-and-price-item{
        margin-left: 90px;
    }
        .service-and-price-item > img:first-child{
            width: 90%;
        }
        .service-and-price-item > h2{
            margin-top: 60px;
            margin-bottom: 60px;
        }
        .service-and-price-item > p{ display: inline-block;}
        .service-and-price-item td, .service-and-price-item th{
            background-color: var(--main-color);
            width: 100%;
            border-bottom: 2px solid white;
        }
        .toggle-arrow{
            height: 16px;
            display: inline-block;
            margin-left: .5em;
        }
        #toggle-full-price-woman:hover, #toggle-full-price-man:hover{
            text-decoration: underline;
            cursor: pointer;
        }
        #toggle-full-price-woman-arrow, #toggle-full-price-man-arrow{transition: .2s;}
        #toggle-full-price-woman:hover + #toggle-full-price-woman-arrow{transform: rotate(360deg);}
        #toggle-full-price-man:hover + #toggle-full-price-man-arrow{transform: rotate(360deg);}
@media(max-width: 800px){
    .service-and-price-wrap{flex-wrap: wrap;}
    .service-and-price-item img{max-width: 60%;}
    .service-and-price-item + .service-and-price-item{margin-left: 0; margin-top: 2em;}
}

/********** SPECIAL OFFERS **********/
#special{
    margin-top: 3em;
}
.special-wrapper{
    box-shadow: 0 3px 15px 0 rgba(0,0,0,.15);
    border-radius: 18px;
    padding: 2em;
    background: url('../img/figure/Subtract.svg'), url('../img/figure/Subtract-2.svg');
    background-repeat: no-repeat;
    background-position: 0 0, 100% 100%;
}
#service-and-price #special h2{
    margin: 0;
    /*background-color: #c0180e;*/
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.stock-el{
    /*background: linear-gradient(90deg, #e933ff, #ffb400, #c0180e, #334dff, #e933ff);*/
    background: linear-gradient(90deg, var(--text-dark), #c0180e, var(--text-dark));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textflow 3s linear infinite;

}
  @keyframes textflow {
    from {background-position: 0% center}         
    to {background-position: 200% center}
  }

#special hr{
    display: block;
    width: 50%;
    border: 2px solid #c0180e;
    border-radius: 3px;
}

.special-item{
    text-align: center;
    font-size: 27px;
    box-sizing: border-box;
    white-space: pre-wrap;
}
/* #c0180e */
/*
    .special-item{
        padding: 20px 70px;
        margin: auto;
        text-align: center;
        border-radius: 18px;
        font-size: 27px;
        max-width: 90%;
        box-sizing: border-box;
        white-space: pre-wrap;
    }
*/
@media(max-width: 800px){
    .special-item{font-size: 20px; padding: .8em 1.5em;}
}
@media(max-width: 500px){
    #special{background-size: 50%, 30%;}
}

/********** COMPLEXES AND SUBSCRIBTIONS **********/
#complexes-and-subscriptions{
    background-color: var(--main-color);
    text-align: center;
    background-image: url(../img/figure/complexes_b_l.svg), url(../img/figure/complexes_r_t.svg);
    background-position: 10% bottom, 100% 100px;
    background-repeat: no-repeat;
}
    .cas-nav{
        display: flex;
        justify-content: space-evenly;
        align-items: start;
        flex-wrap: wrap;
        margin-top: 40px;
        margin-bottom: 40px;
    }
        .cas-nav button{display: block;margin: .6em; color: var(--text-dark); border: 1px solid var(--text-dark);}
        .cas-nav > button.non-active{
            opacity: .8;
            transition: .2s;
            border-color: transparent;
        }
            .cas-nav > button.non-active:hover{
                opacity: 1;
                cursor: pointer;
                box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1);
                transform: scale(1.1);
            }
        .cas-wrap h3{
            margin-bottom: 1em;
        }
        .cas-wrap table{
            margin: auto;
        }
            .cas-wrap td, .cas-wrap th{
                background-color: white;
                border-bottom: 2px solid var(--main-color);
            }
            #subscribtions-woman th, #subscribtions-man th{min-width: 100px;}
            #subscribtions-woman td:first-child, #subscribtions-man td:first-child{padding-right: 3em;}
@media(max-width: 500px){
    #complexes-and-subscriptions{background-size: 50%, 50%;}
}
/********** MASTERS **********/
#master > div{
    display: flex;
    justify-content: center;
    align-items: center;
}
    #master img{
        display: block;
        border-radius: 36px;
        margin-right: 80px;
    }
    #master > div > div{
        max-width: 320px;
        text-align: justify;
    }
        #master h2{
            margin-top: 0;
            margin-bottom: 0;
            text-align: left;
        }
        .sertificates{
            font-size: 24px;
            line-height: 36px;
            color: #BCA698;
            margin-top: 1em;
            margin-bottom: 1em;
        }
@media(max-width: 800px){
    #master > div{flex-wrap: wrap;}
        #master > div > div{max-width: 80%;}
            #master img{margin-right: 0;margin-bottom: 1em;max-width: 60%;}
            #master h2{text-align: center;}
}
/********** PHOTOS **********/
#photos{
    background-color: var(--main-color);
    background-image: url(../img/figure/special_b_l.svg), url(../img/figure/special_t_r.svg);
    background-position: 0% 100%, 90% 0%;
    background-repeat: no-repeat, no-repeat;
}
#photos h2{
    margin-bottom: 18px;
}
#photos img{
    border-radius: 100%;
    width: 90%;
    object-fit: cover;
    display: block;
    margin: auto;
    opacity: 1;
    transition-duration: .2s;
}
#photos img:hover{
    cursor: zoom-in;
    opacity: .8;
}
#zoomedIMG:hover{cursor: zoom-out;}

/********** REVIEWS **********/
#reviews{
    padding-top: 0;
    margin-top: 0;
}

        .review-item{
            background-color: var(--main-color);
            padding: 16px 32px;
            border-radius: 18px;
            box-sizing: border-box;
            text-align: left;
        }
        
            .review-item footer{
                margin-top: .5em;
                text-align: right;
                font-style: italic;
            }
            .review-item p{
                margin-top: 0;
                margin-bottom: 0;
                white-space: pre-wrap;
            }

/********** footer **********/
.footer{
    background-color: var(--text-dark);
    color: white;
    font-size: 24px;
    font-style: normal;
    padding-top: 36px;
    padding-bottom: 36px;
}

    .footer > div{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    }
    .footer > div > img{margin-right: 60px;}
        .footer address{
            font-style: inherit;
            margin-bottom: 16px;
        }
        .footer a{color: inherit;}

        .footer ul{
            padding-left: 0;
            margin: 0;
            list-style-type: disc;
            margin-top: 18px;
        }
            .footer li{
                display: inline;
            }
            .footer li + li{
                margin-left: 16px;
            }
                .footer ul img{
                    width: 50px;
                    height: 50px;
                    opacity: .8;
                    transition: .2s;
                    border-radius: 8px;
                }
                .footer ul img:hover{opacity: 1;}
@media(max-width: 780px){
    .footer{padding-bottom: 144px;}
    .footer > div{flex-direction: column;text-align: center;}
    .footer > div > img{margin-right: 0;margin-bottom: 1em;}
}