*{padding: 0;margin: 0;border: 0;}
*,*:before,*:after{-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display: block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: inherit;}

html,
body {
    font-family: 'Roboto', sans-serif;
    transition: .2s linear;
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.title {
    font-size: 40px;
    font-weight: 400;
    position: relative;
    padding-bottom: 10px;
    color: #585858;
}

.title::after {
    display: block;
    content: '';
    width: 100px;
    height: 3px;
    background-color: #29b6bb;
    position: absolute;
    bottom: 0;
    left: 0;
}

.subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #585858;
    padding: 60px 0 20px;
    position: relative;
}

.subtitle::after {
    display: block;
    content: '';
    width: 70px;
    height: 2px;
    background-color: #29b6bb;
    position: absolute;
    bottom: 0;
    left: 0;
}

.active {
    color: #29b6bb !important;
}

.quote {
    font-style: italic;
    font-size: 25px;
}

/*       HEADER
========================*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: #fff;
    transition: .4s linear;

}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: initial;
}

.header__items {
    display: flex;
    flex-direction: row;
}

.header__items > dl, ul ,li {
    margin-bottom: 0;
}

.header__item {
    padding: 30px 30px;
}

.header__link {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    transition: .2s linear;
}

.header__link:hover {
    color: #29b6bb;
}

.header__contact {
    font-size: 20px;
    font-weight: 400;
    padding-right: 5px;
}

.header__contact-a {
    color: #fff;
    transition: .2s linear;
}

.header__contact-a:hover {
    color: #29b6bb;
}

.header__contact-tel {
    padding-bottom: 15px;
}

.header__visibility {
    background-color: #000;
}

.header__burger {
    display: none;
    width: 40px;
    height: 28px;
    position: relative;
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
}

.burger__line_first {
    top: 0;
}

.burger__line_second {
    top: 50%;
    transform: translateY(-50%);
}

.burger__line_third {
    bottom: 0;
}


/*       INTRO
========================*/

.intro {
    height: 100vh;
    background: #29b6bb url("../img/background.jpg") center no-repeat;
    background-size: cover;
    padding: 263px 0 223px;
}

.intro__content {
    color: #fff;
    text-align: center;
}

.intro__title {
    font-size: 50px;
    font-weight: 500;
    padding-bottom: 30px;
}

.intro__subtitle {
    font-size: 34px;
    font-weight: 400;
    padding-bottom: 60px;
}

.intro__text {
    font-size: 24px;
    font-weight: 300;
    padding-bottom: 100px;
}

.intro__button {
    padding: 15px 30px;
    background-color: initial;
    border: 1px solid #29b6bb;
    border-radius: 4px;
    color: #fff;
    transition: .2s linear;
}

.intro__button:hover {
    background-color: #29b6bb;
}
.intro__button:hover .intro__link{
    color: #fff;
}

.intro__link {
    font-size: 22px;
    font-weight: 400;
    color: #29b6bb;
}


/*       ILLUSION
========================*/

.illusion {
    padding: 100px 15px 50px;
    background-color: #f6f6f6;
    box-shadow: 0 0 8px rgba(34, 60, 80, 0.2);
}

.illusion__title {
    font-size: 30px;
    font-weight: bold;

}

.illusion i {
    font-size: 15px;
}

.illusion__text {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
    text-align: justify;
    padding-top: 40px;
    color: #585858;
}

.illusion__text p {
    text-indent: 1.5em;
    padding-bottom: 15px;
}


/*       SERVICES
========================*/

.services {
    padding: 100px 15px;
    background-color: #f6f6f6;
    box-shadow: 0 0 8px rgba(34, 60, 80, 0.2);
}

.services__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services__item {
    width: 45%;
    padding-left: 20px;
}

.services__title i {
    color: #29b6bb;
    font-size: 35px;
    padding-bottom: 10px;
}

.services__text {
    padding: 10px 0;
    color: #585858;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2;
    text-align: justify;
}



/*       EDUCATION
========================*/

.education {
    height: auto;
    padding: 100px 15px 40px;
    position: relative;
}

.education__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.education__item {
    padding: 0 30px 0 10px;
    width: 50%;
}

.education__item:last-child {
    padding: 0 0 0 30px;
}

.education__quote {
    padding: 20px 0;
    font-style: italic;
    font-size: 15px;
}

.education__text {
    padding: 10px 0;
    color: #585858;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2;
    text-align: justify;
}
.education__text p {
    text-indent: 1.5rem;
}

.education__desc {
    height: 2.5rem;
    overflow: hidden;
}

.desc__title {
    padding: 10px 0;
    color: #585858;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
}
.desc__title:hover {
    color: #29b6bb;
    transition: .2s linear;
}

.desc__text {
    padding: 10px 0;
    color: #585858;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    text-align: justify;
}

.desc__text-item {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #585858;
}

.show-content {
    height: 28em;
}

.pay {
    max-width: 600px;
    position: relative;
    bottom: 0;
    right: 0;
}


/*       ABOUT
========================*/

.about {
    padding: 100px 15px;
    background-color: #f6f6f6;
    box-shadow: 0 0 8px rgba(34, 60, 80, 0.2);
}

.about__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about__content {
    width: 50%;
}

.about__text {
    max-width: 650px;
    padding: 40px 20px;
    color: #585858;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2;
    text-align: justify;
}

.about__menu {
    padding: 15px 20px;
}

.about__menu-title {
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 15px;
}

.about__text-item {
    font-size: 18px;
    font-weight: 300;
    padding-bottom: 10px;
    line-height: 1.2;
    color: #585858;
}
.about__item {
    padding-bottom: 10px;
}
.about__item::before {
    content: "\2022";
    color: #29B6BBFF;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.about__image {
    margin-top: 90px;
}

.about__image-pic {
    width: 100%;
}


/*       CONTACTS
========================*/


.contacts {
    padding: 100px 15px 50px;
    /*background-color: #f6f6f6;*/
    /*box-shadow: 0 0 8px rgba(34, 60, 80, 0.2);*/
}

.contacts__inner {
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
}

.contacts__content {
    width: 35%;
}

.contacts__text {
    padding-top: 20px;
}

.contact__text-item {
    color: #585858;
    font-size: 18px;
    font-weight: 300;
    padding: 20px;
}

.contact__text-item i {
    color: #29b6bb;
    padding-right: 20px;
}


.contacts__input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.contact-a {
    color: #585858;
    transition: .2s linear;
}

.contact-a:hover {
    color: #29b6bb;
}

input {
    width: 312px;
    height: 30px;
    font-size: 18px;
    margin: 20px 20px 0 0;
    padding: 20px 20px;
    color: #585858;
    border: 1px solid rgba(34, 60, 80, 0.2);
}

textarea {
    width: 97%;
    margin-top: 20px;
    font-size: 18px;
    padding: 20px 20px;
    color: #585858;
    border: 1px solid rgba(34, 60, 80, 0.2);
}

input::placeholder,textarea::placeholder  {
    font-size: 14px;
    font-weight: 300;
}

.button {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: initial;
    border: 1px solid #29b6bb;
    border-radius: 4px;
    color: #29b6bb;
    transition: .2s linear;
}

.button:hover {
    background-color: #29b6bb;
    color: #fff;
}



/*       FOOTER
========================*/

.footer {
    background-color: #222222;
    color: #777;
}
.footer__content {
    padding: 20px 35px;
}

.footer__link {
    text-decoration: none;
    color: #979595;
}

.footer__link:hover {
    color: #f6f6f6;
    transition: .2s linear;
}

@media screen and (max-width: 1240px) {
    .intro {
        height: auto;
    }
    .header__inner {
        padding: 0 20px;
    }
    .header__contact {
        padding-top: 10px;
        font-size: 15px;
    }
    .header__item {
        padding: 5px;
    }
    .header__link {
        font-size: 13px;
    }
    .services__item {
        width: 100%;
    }
    .services__text {
        font-size: 22px;
    }
    .education {
        height: auto;
        padding: 100px 15px 0;
    }
    .education__item {
        padding: 0 30px;
        width: 100%;
    }
    .pay {
        max-width: 600px;
        position: relative;
        right: 0;
        margin-bottom: 50px;
    }
    .about__content {
        width: 100%;
    }
    .about__text {
        max-width: 1024px;
    }
    .about__image {
        margin: 0 auto;
    }
}

@media screen and (max-width: 769px) {
    .header__contact {
        margin: 20px 15px;
        padding: 0;
        font-size: 20px;
    }
    .header__burger {
        display: block;
        margin: 0 15px;
        cursor: pointer;
    }
    .header__nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #000;
        z-index: 10;
        padding: 75px;
        transform: translateX(100%);
        transition: .2s linear;
    }
    .header__nav-active {
        transform: translateX(0);
    }
    .header__items {
        display: flex;
        flex-direction: column;
    }
    .header__item {
        padding: 15px;
    }
    .header__link {
        font-size: 20px;
        font-weight: 500;
        padding-bottom: 10px;
    }
    .header__nav-close {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 25px;
        right: 40px;
        z-index: 11;
        cursor: pointer;
    }
    .header__nav-close-line {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        top: 50%;
    }
    .header__nav-close-line:first-child {
        transform: translateY(-50%) rotate(45deg);
    }
    .header__nav-close-line:last-child{
        transform: translateY(-50%) rotate(-45deg);
    }
    .intro {
        padding-top: 200px;
        padding-bottom: 223px;
    }
    .desc__title {
        padding: 0;
    }
    .show-content {
        height: 42em;
    }
    .services__item {
        width: 100%;
    }
    .services__text {
        font-size: 22px;
    }
    .contacts__content {
        width: 100%;
    }
    textarea {
        width: 64%;
    }

}

@media screen and (max-width: 380px) {
    .title {
        font-size: 34px;
    }
    .intro {
        height: 100vh;
        padding: 160px 15px 223px;
    }
    .intro__title {
        font-size: 35px;
    }
    .intro__subtitle {
        font-size: 30px;
    }
    .intro__text {
        padding-bottom: 50px;
    }
    .header__contact {
        margin: 5px 15px 10px;
        font-size: 15px;
    }
    .illusion {
        padding: 50px 15px;
    }
    .illusion__text {
        font-size: 16px;
    }
    .services {
        padding: 350px 15px 50px;
    }
    .services__item {
        width: 100%;
    }
    .services__text {
        font-size: 16px;
    }
    .education {
        height: auto;
        padding: 50px 15px;
    }
    .education__item {
        padding: 40px 15px;
        width: 100%;
    }
    .education__item:last-child {
        padding: 0 15px;
    }
    .education__desc {
        height: 3.5rem;
        overflow: hidden;
    }
    .show-content {
        height: 42em;
    }
    .pay {
        max-width: 600px;
        position: absolute;
        bottom: -22%;
        right: 0;
        margin-bottom: 50px;
    }
    .about {
        padding: 70px 10px;
    }
    .about__image {
        margin: 0;
    }
    .contacts__content {
        width: 100%;
    }
    input, textarea {
        width: 97%;
    }
}
