html{
    font-family: 'Italiana','Arsenal','Cinzel','Comfortaa','Montserrat','Raleway', sans-serif;
}
main{
    width: 100vw;
    position: relative;
    --gold: #ffd978;
    --lightBrown1: rgb(189, 149, 122);
    --lightBrown2: rgb(175, 165, 142);
    --lightBrown3: rgb(215, 173, 136);
    --lightBrown4: rgb(213, 189, 157);
}
svg{
    overflow: inherit;
}
header{
    background-color: var(--gold);
    position: relative;
}
.get_consult{
    margin: 50px auto;
    display: flex;
    position: relative;
    width: max-content;
    justify-content: center;
    align-items: center;
    color: black;
    font-weight: 500;
    cursor: pointer;
    padding: 1% 3%;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.get_consult > a{
    text-decoration: none;
    color: black;
}
.get_consult > img{
    width: 25px;
    margin-left: 10px;
}
.advantages{
    gap: 10px;
    margin: 30px auto;
    display: flex;
    align-items: baseline;
    justify-content: space-evenly;
    width: 90%;
    padding: 30px 10px;
    background-color: #FFFFFF;
    height: 300px;
}
.advantage{
    width: 18%;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.advantage_logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.advantage_logo > img{
    max-width: 160px;
    max-height: 160px;
    width: calc( (100vw / 10));
    height: calc( (100vw / 10));
}
.advantage_text{
    text-align: center;
}


.main_tape_container{
    width: 100%;
    margin: 5% auto;
    overflow: hidden;
}
.main_tape{
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    align-items: center;
    padding: 10px 0 90px 0;
}
.go_to_products{
    position: relative;
    transition: all 0.2s ease-in-out;
    font-family: 'Comfortaa', sans-serif;
    padding: 10px 20px;
    color: black;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-evenly;
}
.go_to_products > div > a{
    cursor: pointer;
    text-decoration: none;
    color: black;
}
.go_to_products:after, .get_consult:after{
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #46322b;
    content: "";
    transition: background-color 0.2s ease-out;
}
.go_to_products:hover:after, .go_to_products:focus:after, .get_consult:hover:after, .get_consult:focus:after{
    background-color: #fcedd3;
}

.go_to_products > div > img{
    padding-top: 5px;
    min-width: 25px;
}
.main_tape_row1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-height: 600px;
}
.main_tape_row2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-height: 600px;
}
.main_tape_1{
    width: 40%;
    display: flex;
    gap: 50px;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    background-color: #FFFFFF;
}
.main_tape_2{
    width: 55%;
    display: flex;
    justify-content: right;
}
.main_tape_2 > div,.main_tape_3 > div{
    width: 100%;
    height: inherit;
    overflow: hidden;
}
.main_tape_2 > div{
    max-width: 500px;
}
.main_tape_2 img,.main_tape_3 video{
    width: 100%;
    max-width: 500px;
}
.main_tape_3{
    width: 55%;
}
.main_tape_3 > div{
    position: relative;
    max-height: 500px;
}
.annotation1, .annotation2{
    position: absolute;
    padding: 10px;
    background-color: #FFFFFF;
}
.annotation1{
    top:15px;
    left: 15px;
}
.annotation2{
    font-size: 22px;
    bottom: 15px;
    left: 15px;
}
.main_tape_4{
    width: 40%;
    display: flex;
    gap: 50px;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    padding: 40px;
}


.about_us{
    width: 90%;
    margin: 30px auto;
}
.about_us_container{
    width: 100%;
    margin: 30px 0 7% 0;
    display: grid;
    grid-template-columns: repeat(11,1fr);
    grid-template-rows: repeat(3,auto);
    row-gap: 60px;
    column-gap: 30px;
}
.about_us_container img:not(.ornament), video:not(.video_block video){
    width: 100%;
}
.about_us_elem1{
    grid-column: 1/8;
    text-align: right;
    margin: auto;
    padding: 30px;
}
.about_us_elem11{
    grid-column: 8/12;
}
.about_us_elem11, .about_us_elem21, .about_us_elem31{
    display: flex;
    align-items: center;
    justify-content: center;
}
.about_us_container video, .about_us_container img:not(.ornament){
    max-width: 400px;
}
.about_us_elem2{
    grid-column: 5/12;
    padding: 30px;
    margin: auto;
}
.about_us_elem21{
    grid-column: 1/5;
}
.about_us_elem3{
    grid-column: 1/8;
    padding: 30px;
    text-align: right;
    margin: auto;
}
.about_us_elem31{
    grid-column: 8/12;
}

.masters_container{
    width: 100%;
    margin: 0 auto;
}
.masters{
    padding: 40px 5%;
}
.masters_grid{
    display: grid;
    position: relative;
    width: 100%;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(3, auto);
    row-gap: 40px;
    column-gap: 30px;
}
.masters_grid img{

}
.masters_grid_11{
    grid-column: 1/5;
    padding: calc(10px + 40 * ((100vw - 800px)/(2000 - 800)));
    text-align: center;
    margin: auto;
}
.link_about{
    margin: 60px auto 0;
    width: max-content;
}
.masters_grid_12{
    grid-column: 5/11;
}
.masters_grid_21{
    grid-column: 1/8;
}
.masters_grid_22{
    grid-column: 8/11;
    padding: calc(10px + 40 * ((100vw - 800px)/(2000 - 800)));;
    text-align: center;
    margin: auto;
}
.masters_grid_31{
    grid-column: 1/4;
}
.masters_grid_32{
    grid-column: 4/11;
}
.to_lessons{
    position: absolute;
    bottom: -20px;
    right: 0;
}

.radiobutton input[type=radio] {
    display: none;
}
.radiobutton input[type=radio] + label::before {
    content: '';
    display: inline-block;
    border: 1px solid #000;
    margin: 0 0.5em;
}
.radiobutton input[type=radio]:checked + label::before {
    background-color: var(--gold);
    outline:1px solid #939598;
    border:1px solid white;
}

.radio1 + label::before {width: 0.5em;height: 0.5em;}
.radio2 + label::before {width: 0.75em;height: 0.75em;}
.radio3 + label::before {width: 1em;height: 1em;}
.radio4 + label::before {width: 1.5em;height: 1.5em;}



/*
.checkbox {
    position:relative;
    padding-left:25px;
    margin: 12px 0 0 0;
}
.checkbox label {
    margin: 5px;
    cursor: pointer;
}
.checkbox input[type=checkbox] {
    display:none;
}
.checkbox label:after {
    content:'';
    display:block;
    height:14px;
    width:14px;
    outline:1px solid #939598;
    border:2px solid white;
    position:absolute;
    border-radius: 10px;
    margin: 3px 8px 0 6px;
    top:0;
    left:0;
}
.checkbox input[type=checkbox]:checked + label:after {
    border-radius: 10px;
    background-color: var(--gold);
    outline:1px solid #939598;
    border:2px solid white;
}*/

.calculator{
    width: 90%;
    margin: 0 auto 50px auto;
}
.calculator_container{
    width: 100%;
    box-shadow: 0 0 12px 0 rgba(95, 99, 103, 0.2);
    padding: 40px;
    background-color: #FFFFFF;
    user-select: none;
}
.calc_title{
    margin: 30px 0 40px 0;
    font-family: Italiana, sans-serif;
    font-size:calc(18px + 10 * ((100vw - 320px)/(1440 - 320)));
    font-weight: 700;
}
.calc_title_secondary{
    display: flex;
    align-items: flex-end;
    font-family: 'Raleway', sans-serif;
    font-size:calc(16px + 10 * ((100vw - 320px)/(1440 - 320)));
    font-weight: 600;
    margin: 2% 0 5% 0;
}
.calc_products_container{
    margin: 1% 0 2% 5%;
}
.calc_container{
    display: flex;
    align-items: center;
    width: 100%;
    gap: 5%;
    justify-content: space-between;
}
#calc_correction,#calc_grow,#calc_delete,#calc_grow_yours{
    width: 50%;
    margin-bottom: 5%;
    padding: 10px 2%;
    box-shadow: 0 0 12px 0 rgba(95, 99, 103, 0.4);
}
.input_number_container{
    margin-top: 40px;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 20px;
    position: relative;
}
#calc_input_number{
    border: 2px solid #726c6c;
    height: 30px;
    width: 100%;
    padding: 5px 10px;
    max-width: 400px;
    min-width: 200px;
    font-family: 'Montserrat', monospace;
    font-weight: 500;
    cursor: pointer;
}
#calc_input_number::-webkit-outer-spin-button,
#calc_input_number::-webkit-inner-spin-button{
    appearance: none;
}
#calc_input_number:focus-visible{
    outline: none;
    border: 2px solid black;
}
#calc_total{
    font-family: Montserrat, monospace;
    position: absolute;
    right: 20px;
}
#button_to_procedure{
    cursor: pointer;
    margin: 20px 0;
    padding: 20px 20px;
    background: white;
    box-shadow: 0 0 12px 0 rgba(95, 99, 103, 0.4);
    width: 40%;
    text-align: center;
    transition: all 0.2s ease-in-out;
}
#button_to_procedure:hover{
    transform: scale(1.02);
}
.slider_main_guests{
    position: relative;
    width: 60%;
    margin: 0 auto;
    padding: 30px;
    background-color: #FFFFFF;
}
.slider_main_works{
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background-color: #FFFFFF;
}
.our_guests_container{
    padding: 5% 5%;
    display: flex;
    gap: 30px;
    position: relative;
    align-items: center;
}
.our_guests_text{
    width: 40%;
    padding: 30px 30px;
}
.celebrity_img{
    width: 100%;
    max-width: 400px;
    margin: 0 auto 40px auto;
}
.celebrity_title{
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}



.description{
    margin: 80px auto 0 auto;
    width: 90%;
}
@media screen and (min-width: 1400px){
    .main_tape{
        flex-direction: row;
        width: 90%;
        margin: 20px auto;
        justify-content: space-between;
        align-items: flex-start;
    }
    .main_tape_row1,.main_tape_row2{
        width: 48%;
        align-items: flex-start;
    }

    .main_tape_2 > div,.main_tape_3 > div{
        width: 100%;
        height: inherit;
        overflow: hidden;
    }
    .main_tape_2 > div{
        max-width: 500px;
    }
    .main_tape_2 img,.main_tape_3 img{
        width: 100%;
        max-width: 500px;
        max-height: 500px;
    }
    .main_tape_3{
        width: 55%;
    }
    .main_tape_4{
        width: 40%;
        display: flex;
        gap: 50px;
        flex-direction: column;
        justify-content: space-between;
        background-color: #FFFFFF;
        padding: 40px;
    }

    .calc_title_secondary{
        font-size: 28px;
    }
}
@media screen and (max-width: 800px) {

    .advantages{
        flex-direction: column;
        align-items: center;
        height: unset;
        gap: 20px;
    }
    .advantage{
        flex-direction: row;
        width: 90%;
        max-width: 440px;
        gap: 30px;
        justify-content: unset;
    }
    .advantage_logo{
        justify-content: unset;
        width: calc(53px + 40 * ((100vw - 320px)/(800 - 320)));
        height: calc(53px + 40 * ((100vw - 320px)/(800 - 320)));
    }
    .advantage_logo > img{
        width: calc(53px + 40 * ((100vw - 320px)/(800 - 320)));
        height: calc(53px + 40 * ((100vw - 320px)/(800 - 320)));
    }
    .advantage_text{
        text-align: left;
        font-size: calc(10px + 6 * ((100vw - 320px)/(800 - 320)));
    }

    .main_tape{
        padding-bottom: 20%;
    }



    .calc_container{
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    .calc_title_secondary{
        min-height: 30px;
        justify-content: center;
        text-align: center;
    }
    .calculator_container{
        padding: 20px;
    }
    #calc_correction,#calc_grow,#calc_delete,#calc_grow_yours{
        width: 100%;
    }
    .input_number_container{
        flex-direction: column;
    }
    #calc_total{
        position: unset;
    }
    #button_to_procedure{
        width: 100%;
    }


    .about_us_container{
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(6,auto);
    }
    .about_us_elem1{
        grid-column: 1;
    }
    .about_us_elem11{
        grid-column: 1;
    }
    .about_us_elem2{
        grid-row: 3/4;
        grid-column: 1;
    }
    .about_us_elem21{
        grid-row: 2/3;
        grid-column: 1;
    }
    .about_us_elem3{
        grid-column: 1;
    }
    .about_us_elem31{
        grid-column: 1;
    }


    .masters_grid{
        display: grid;
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6,auto);
        row-gap: 30px;
    }
    .masters_grid_11{
        grid-column:1/1;
        padding: 20px;
    }
    .masters_grid_12{
        grid-column: 1/1;
    }
    .masters_grid_21{
        grid-column: 1/1;
    }
    .masters_grid_22{
        padding: 20px;
        grid-column: 1/1;
    }
    .masters_grid_31{
        grid-column: 1/1;
    }
    .masters_grid_32{
        grid-column: 1/1;
    }
    .to_lessons{
        bottom: -65px;
    }

    .our_guests_container{
        flex-direction: column;
    }
    .our_guests_text{
        width: 100%;
    }
    .slider_main_guests{
        width: 100%;
    }

    .about_us_elem1, .about_us_elem2, .about_us_elem3{
        margin: unset;
        text-align: unset;
    }
    .our_guests_container{
        align-items: unset;
    }
}
@media screen and (max-width: 600px){

    .paginator_container{
        position: absolute;
        bottom: -10%;
        width: 100%;
    }
    .main_tape{
        padding-bottom: 40%;
    }

    .main_tape_2 img,.main_tape_3 img{
        width: 100%;
        max-width: 350px;
    }
    .main_tape_2 > div,.main_tape_3 > div{
        max-width: 350px;
    }
    .main_tape_2,.main_tape_3{
        display: flex;
        justify-content: center;
    }
    .main_tape_3{
        order: 2;
    }
    .main_tape_4{
        order: 1;
    }

    .main_tape_row2,.main_tape_row1{
        flex-direction: column;
        gap: 20px;
    }
    .main_tape_row1{
        margin-bottom: 12%;
    }
    .main_tape_1,.main_tape_2,.main_tape_3,.main_tape_4{
        width: 100%;
    }
}
