@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/Montserrat-Regular.eot');
	src: local('☺'), url('../fonts/Montserrat-Regular.woff') format('woff'), url('../fonts/Montserrat-Regular.ttf') format('truetype'), url('../fonts/Montserrat-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/Montserrat-SemiBold.eot');
	src: local('☺'), url('../fonts/Montserrat-SemiBold.woff') format('woff'), url('../fonts/Montserrat-SemiBold.ttf') format('truetype'), url('../fonts/Montserrat-SemiBold.svg') format('svg');
	font-weight: 600;
	font-style: normal;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.lock {
    overflow: hidden;
}

/*------HEADER------*/
.header {
    background-color: rgb(200, 255, 255);
    display: grid;
    grid-template-columns: 2fr 5fr 2fr;
    grid-template-rows: 135px 400px;
    align-items: center;
}


.header_logo {
    display: flex;
    width: 350px;
    margin: 0 auto;
}

/*
.header_logo {
    text-align: center;
    cursor: pointer;
    font-size: 44px;
    color: white;
    text-shadow: 1px 0px 1px black, 0px 1px 1px black;
}

.header_logo span{
    cursor: pointer;
    font-size: 44px;
    font-family: 'Philosopher', sans-serif;
    color: #00eb00;
    text-shadow: none;
}
*/

.header_nav {
    display: flex;
    text-align: center;
    text-decoration: none;
    font-size:20px;
    justify-content: space-around;
}

.nav_link {
    color: black;
    padding: 7px 10px 7px 10px;
    border-radius: 15px;
    transition: .3s;
    text-decoration: none;
    width: 125px;
}

.nav_link:hover {
    background-color: white;
    box-shadow: 0px 0px 15px rgb(125, 206, 255);
}
.header_contact{
    text-align: center;
}

.header_callback_btn {
    position: relative;
    font-size: 20px;
    display: inline-block;
    background-color: white;
    border-radius: 15px;
    padding: 10px 20px;
    transition: .3s;
    cursor: pointer;
}


.header_callback_btn:hover {
box-shadow: 0px 0px 15px rgb(125, 206, 255);
}

.header_contact label {
    cursor:pointer;
    
}

.header_content {
    grid-column: 2/3;
    padding-top: 30px;
}

.header_title {
    font-weight: 600;
    font-size: 40px;
}
.header_subtitle {
    padding-top: 20px;
    font-size: 25px;
    grid-row: 2/3;
    font-size: 25px;
}

/*---------BURGER---------*/

.header__burger {
    cursor: pointer;
    position: relative;
    opacity: 0;
    visibility: hidden;
    width: 30px;
    height: 20px;
    z-index: 2;
    }

.header__burger::before,
.header__burger::after {
    content: '';
    position: absolute;
    background-color: black;
    width: 100%;
    height: 2px;
    left: 0;
    transition: .3s ease 0s;
}
    
.header__burger::before {
    top:0;
}

.header__burger::after {
    bottom: 0;
}

.header__burger span {
    position: absolute;
    background-color: black;
    width: 100%;
    height: 2px;
    left: 0;
    top: 9px;
    transition: .3s ease 0s;
    
}

.header__burger.active::before {
    transform: rotate(45deg);
    top:9px;
}
.header__burger.active::after {
    transform: rotate(-45deg);
    bottom:9px;
}

.header__burger.active span {
    transform: scale(0);
}


.burger__menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: .3s;
}

.sidebar {
    position: absolute;
    width: 55%;
    height: 100%;
    background-color: #fff;
    right: -100%;
    transition: .5s;
}
.sidebar.active {
    right: 0%;
}
.burger__menu.active {
    opacity: 1;
    visibility: visible;
}



.sidebar__body {
    margin-top:30%;
    display: flex;
    flex-direction: column;
    
}

.mobile-nav_link {
    text-decoration: none;
    color:black;
    margin-top: 40px;
    font-size: 26px;
}


/*---------BURGER---------*/

/*--------pop up start--------*/

.button {
    align-items: center;
}
#header_callback {
    width: 0;
    height: 0;
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
}
#header_callback:checked ~ #popup {
    opacity: 1;
    visibility: visible;
}

.callback__btn {
    margin-left: 10%;
    margin-top: 25px;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width:250px;
    height: 60px;
    box-shadow: 0px 0px 15px rgb(125, 206, 255);
    background-color: white;
    border-radius: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: .3s;
}

.callback__icon {
    max-width: 40px;
    margin-left: 15px;
}


.callback__btn:hover {
    box-shadow: 5px 5px 5px  rgb(125, 206, 255), 
    0 5px 15px rgb(125, 206, 255), 
    -5px 0 15px rgb(125, 206, 255), 
    0 -5px 15px rgb(125, 206, 255)
}

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
    z-index: 2;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup_body {
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 10px;
}
.popup_content {
    width: 560px;
    display: flex;
    position: relative;
    flex-direction: column;
    background-color: white;
    justify-content: center;
    justify-items: center;
    align-items: center;
    padding: 40px 30px 30px 30px;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
}
.popup_content.active {
    opacity: 1;
    visibility: visible;
}

.popup_close {
    font-size: 25px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.popup_title {
    font-size: 26px;
    margin: 20px 0 20px 0;
    font-weight: 600;
    letter-spacing: 2px;
}
 
.popup input {
    background-color: #f1f1f1;
    font-size: 20px;
    display: block;
    width: 100%;
    border: none;
    height: 50px;
    line-height: 25px;
    margin: 10px 0;
    padding: 0 15px;
    border-radius: 10px;
}
.popup input:focus {
    
    box-shadow: 5px 5px 5px  rgb(125, 206, 255), 
    0 5px 15px rgb(125, 206, 255), 
    -5px 0 15px rgb(125, 206, 255), 
    0 -5px 15px rgb(125, 206, 255)
}

.popup input:last-child{
    font-size: 24px;
    background-color: rgb(125, 206, 255);
    padding: 10px 0 10px 0;
    border-radius: 15px;
}

.popup input:last-child:focus {
    box-shadow: none;
}
.popup textarea {
    background-color: #f1f1f1;
    margin: 10px 0;
    border-radius: 15px;
    resize: none;
    width: 100%;
    height: 150px;
    padding: 10px 0 10px 0;
    line-height: 25px;
    font-size: 20px;
    padding: 10px 15px;
    overflow-y: auto;
}

.popup textarea:focus {
    
    box-shadow: 5px 5px 5px  rgb(125, 206, 255), 
    0 5px 15px rgb(125, 206, 255), 
    -5px 0 15px rgb(125, 206, 255), 
    0 -5px 15px rgb(125, 206, 255);
}



.submit {
    height: 50px;
    cursor: pointer;
    background-color: white;
}

/*--------pop up end--------*/
.bubble_small {
    position: relative;
    width: 100%;
    left: -30%;
}

/*------HEADER------*/

/*------ABOUT------*/

.about_content {
    display: grid;
    grid-template-columns: 2fr 5fr 2fr;
}

.about_text {
    grid-column: 2/3;
    font-size: 22px;
    padding-top: 15px;
    line-height: 1.4;
}
.benefit_section {
    grid-column: 2/3;
    margin: 0 auto;
}

.benefit_title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin: 15px 0 15px 0;
}

.benefit_container {
    display: flex;
    flex-direction: column;
}

.benefit {
    display: flex;
    padding-top: 20px;
}
.benefit_icon {
    width: 100px;
}

.benefit_text {
    align-self: center;
    font-size: 26px;
    padding-left: 30px
}
/*------ABOUT------*/

/*------SERVICES------*/
.services {
    display: grid;
    grid-template-columns: 2fr 4fr 2fr;
    padding-bottom: 30px;
}

.section_title {
    grid-column: 2;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-top: 40px;
}

.service_img {
    max-width: 175px;
    border-radius: 50%;
}

.services_row {
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
    grid-column: 2/3;
}
.section_col {
    width: 260px;
    text-align: center;
    padding: 30px 0px 30px 0px;
    transition: 0.5s;
    align-self: center;
}
.section_col:hover {
    background-color: rgb(200, 255, 255);
    border-radius: 50%;
    box-shadow: 0px 0px 15px rgb(200, 255, 255);
}

.services_title {
    font-size: 35px;
    color: rgb(125, 206, 255);
    margin: 0;
    margin-top: -40px;
    text-shadow: 1px 1px 1px  black, 
    0 1px 1px black, 
    -1px 0 1px black, 
    0 -1px 1px black
}
.services_text {
    display: block;
    padding-top: 10px;
    font-size: 24px;
}
/*------SERVICES------*/



/*------PRICES------*/
.prices {
    display: grid;
    background-color: rgb(200, 255, 255);
    grid-template-columns: 2fr 5fr 2fr;
}
.accordion__wraper {
    width: 100%;
    grid-column: 2/3;
    margin: 20px 0 20px 0;
}

.accordion__item {
    max-width: 100%;
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.accordion__title {
    padding: 20px;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: .3s;
    cursor: pointer;
}

.accordion__title_active {
    color: red;
}

.accordion__content{
    border-top: none;
    display: none;
    font-size: 24px;
}



.content__wrapper {
    width: 100%;
    padding-top: 20px;
}

.accordion__table {
    width: 100%;
}

tr {
    line-height: 3; 
    margin-top: 10px;
}



.service {
    width: 40%;
    border-bottom: dotted;
    text-align: start;
    
}

.bonus {
    line-height: 1;
    font-size: 20px;
    text-align: center;
}   

.price_special {
    text-align: center;
    max-width: 15%;
}

.price {
    text-align: center;
    border-bottom: dotted;
    width: 25%;
}

.accordion__subtitle {
    font-size: 34px;
    font-weight: 600;
}
.accordion__subtitle.second {
    padding-top: 20px;
}

.prices__description {
    text-align: center;
    font-size: 22px;
    line-height: 1.3;
}

.description__title {
    margin-top:15px;
    font-size: 36px;
    font-weight: 600;
}

.prices__description span {
    font-weight: 600;
}
/*------PRICES------*/

/*------CONTACTS------*/

.contacts {
    
}

.contacts__wrapper {
    margin: 0 auto;
    max-width: 500px;
    padding: 15px;
}

.form-contacts__input {
    background-color: #f1f1f1;
    font-size: 20px;
    display: block;
    max-width: 500px;
    border: none;
    height: 100%;
    line-height: 25px;
    margin: 10px 0;
    padding: 0 15px;
    border-radius: 10px;
    height: 50px;
}

.contacts__form {
    display: flex;
    flex-direction: column;
}

.form-contacts__submit {
    font-size: 24px;
    background-color: rgb(125, 206, 255);
    padding: 10px 0 10px 0;
    border-radius: 15px;
    cursor: pointer;
    max-width: 500px;
    grid-row: 4/5;
    height:50px;
}

.form-contacts__input:focus {
    box-shadow: 5px 5px 5px  rgb(125, 206, 255), 
    0 5px 15px rgb(125, 206, 255), 
    -5px 0 15px rgb(125, 206, 255), 
    0 -5px 15px rgb(125, 206, 255);
}

.form-contacts__textarea {
    background-color: #f1f1f1;
    margin: 10px 0;
    border-radius: 15px;
    resize: none;
    max-width: 500px;
    height: 100%;
    padding: 10px 0 10px 0;
    line-height: 25px;
    font-size: 20px;
    padding: 10px 15px;
    overflow-y: auto;
    grid-row: 3/4;
    height: 150px;
}

.form-contacts__textarea:focus {
    
    box-shadow: 5px 5px 5px  rgb(125, 206, 255), 
    0 5px 15px rgb(125, 206, 255), 
    -5px 0 15px rgb(125, 206, 255), 
    0 -5px 15px rgb(125, 206, 255);
}


/*------CONTACTS------*/


/*------FOOTER------*/

.footer {
    display: grid;
    grid-template-columns: 2fr 5fr 2fr;
}

.footer__container {
    grid-column: 2/3;
    padding: 30px 0 30px 0;
}

.footer__logo {
    display: block;
    width: 350px;
    margin: 0 auto;
}
.footer__info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;

}

.footer__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.nav__wrapper {
    text-align: center;
    padding-left: 5%; 
    margin-right: 10px;
}

.nav__title {
    font-size: 26px;
    font-weight: 600;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    font-size: 20px;;
}

.footer__nav-link {
    text-decoration: none;
    color: black;
    margin-top: 25px;
}

.footer__info-item {
    display: flex;
    padding-top: 20px;
}

.item__icon {
    width: 50px;
    height: 50px;
    align-self: center;
}

.item__text {
    align-self: center;
    font-size: 20px;
    text-decoration: none;
    color: black;
    margin-left: 20px;
}

.phones {
    display: flex;
    flex-direction: column;
}

.phone__special {
    margin-top: 15px;
}

.rules {
    background-color: black;
    font-weight: 600;
    text-align: center;
    grid-column: 1/4;
    padding: 15px 0 15px 0;
    font-size: 16px;
    letter-spacing: 1.5px;
    color: white;
}

/*------FOOTER------*/

@media (max-width: 1440px){
    .prices {
        grid-template-columns: 1.5fr 5fr 1.5fr;
    }
    .header_logo {
        width: 270px;
    }
}

@media (max-width: 1023px){
    .header_callback_btn {
        visibility: hidden;
        opacity: 0;
    }
    .header_nav {
        grid-column:2/4;
    }
    .services {
        grid-template-columns: 1fr 5fr 1fr;
    }
    .services_row {
        display: grid;
        grid-template-columns: repeat(2, 275px);
        grid-column: 2/3;
    }
    .bonus {
        
    }
}
@media (max-width: 770px){
    .services_row {
        margin-top: 0px;
        display: flex;
        grid-column: 2/3;
        flex-direction: column;
    }
    .header {
        grid-template-columns: 40px 5fr 1fr;
        grid-template-rows: 100px 400px;
    }
    .header_logo {
        grid-column: 2/3;
    }
    .header_nav {
        grid-column:3/4;
    }
    .nav_link {
        display: none;
    }
    .header_title {
        font-size: 30px;
    }
    .header_subtitle {
        font-size: 20px;
    }
    .header__burger {
        opacity: 1;
        visibility: visible;
    }
    .services {
    display: block;
    grid-template-columns: 2fr 4fr 2fr;
    }
    .header_content {
    grid-column: 2/3;
    padding-top: 0px;
    }
    .prices {
        grid-template-columns: 0.1fr 1fr 0.1fr;
    }
    .accordion__title {
        font-size: 26px;
        padding: 0;
        margin: 0 auto;
    }
    .service {
        font-size: 16px;
        border-bottom-width: 2px;
    }
    .price{
        font-size: 14px;
        border-bottom-width: 2px;
    }
    .bonus {
        font-size: 14px;
        border-bottom-width: 2px;
    }
    tr {
    line-height: 1.5; 
    }
    .price_special {
        width: 10%;
        font-size: 16px;
    }
    .section_title {
        font-size: 30px;
    }
    .rules {
        font-size: 12px;
    }
    .footer {
        grid-template-columns: 10px 1fr 10px;
    }
    .section_col:hover {
        background-color: white;
        border-radius: 0;
        box-shadow: none;
    }
    .footer__logo {
        max-width: 100%;
    }
    .accordion__subtitle {
        font-size: 20px;
    }
    .prices__description {
        font-size: 17px;
    }
    .description__title {
        font-size: 22px;
    }
    .benefit_title {
        font-size: 26px;
    }
    .benefit_text {
        font-size: 20px;
    }
    .benefit_icon {
        width: 75px;
        height: 75px;
    }
    .about_text {
        font-size: 18px;
    }
    .about_content {
        grid-template-columns: 20px 1fr 20px;
    }
    .item__icon {
        width: 40px;
        height: 40px;
    }
    .nav__title {
       padding-top: 20px;
        font-size: 28px;
    }
    .footer__wrapper {
        flex-direction: column;
    }
    .footer__nav-link {
        font-size: 24px;
    }
/*
    .bonus_mobile {
        font-size: 12px;
    }
*/
}

@media (max-width: 425px){
    .prices {
        grid-template-columns: 10px 1fr 10px;
    }
}



