@font-face {
    font-family: 'RobotoRegular';
    src: url('../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'ComfortaaRegular';
    src: url('../fonts/Comfortaa-Regular.ttf');
}

@font-face {
    font-family: 'ComfortaaLight';
    src: url('../fonts/Comfortaa-Light.ttf');
}

@font-face {
    font-family: 'Mirra Auriolic';
    src: url('../fonts/mirra.ttf');
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 10px;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.header {
    width: 100%;
    height: 111vh;
    position: relative;
}

.header__contacts {
    width: 100%;
}

.header__contacts_box {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'RobotoRegular', "sans-serif";
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

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

.header__contacts_box > a {
    font-family: 'RobotoRegular', "sans-serif";
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.header__contacts_box > a:visited {
    color: #000000;
}

.header__contacts_box > a:hover {
    color: #A6A6A6;
}

.header__preview {
    height: calc(100% - 70px);
    background-image: url("../img/header_bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header__navbar {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    height: 30px;
    margin-right: 20px;
    padding: 8px 0 0 15px;
    background-image: url("../img/logo.png");
    background-repeat: no-repeat;
    font-family: 'ComfortaaLight', "sans-serif";
    font-size: 15px;
    font-weight: 300;
    color: #A6A6A6;
}

.header__nav {
    max-width: 600px;
    width: 100%;
}

.header__nav_list {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.header__nav_item > a {
    padding: 0 3px;
    font-family: 'RobotoRegular', "sans-serif";
    font-size: 16px;
    font-weight: 400;
    color: #A6A6A6;
    transition: all ease .2s;
}

.header__nav_item > a:visited {
    color: #A6A6A6;
}

.header__nav_item > a:hover {
    color: rgba(166, 166, 166, 0.5);
}

.header__title {
    max-width: 100%;
}

h1 {
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 49px;
    font-weight: 400;
    color: #F2D4B0;
}

.header__title > h1 {
    max-width: 820px;
    margin: 70px 0 130px 0;
}

.header__intro {
    max-width: 700px;
    margin: 0 0 0 auto;
    /* padding-left: 400px; */
}

.header__intro p {
    font-family: 'RobotoRegular', "sans-serif";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.header__intro p:last-child {
    margin-bottom: 0;
}

.request__btn {
    font-family: 'RobotoRegular', "sans-serif";
    font-size: 24px;
    color: #fff;
    width: 295px;
    height: 70px;
    background: #C9914F;
    border: none;
    border-radius: 5px;
    margin: 115px 0 95px 0;
    transition: all ease .2s;
}

.request__btn:hover {
    color: rgba(214, 214, 214, 0.76);
    cursor: pointer;
}

.contact__link {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.contact__link a {
    margin-right: 45px;
    transition: all ease .2s;
}

.contact__link a:hover {
    opacity: 50%;
}

.popup {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, .7);
}

.popup > form {
    max-width: 400px;
    margin: 0 auto;
}

.popup__body {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    position: relative;
    max-width: 606px;
    min-height: 500px;
    background-color: #fff;
    text-align: center;
    margin: 200px auto;
    font-family: 'RobotoRegular', "sans-serif";
    border-radius: 9px;
}

.popup__body__top {
    height: 20%;
    background-color: #1E1E1E;
    border-bottom: 2px solid #C9914F;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.popup__body__top p {
    padding: 25px 10% 15px;
    color: #F2D4B0;
    font-size: 24px;
}

.close__popup {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #C9914F;
}

.close__popup:hover {
    color: red;
}

.popup__body input {
    display: block;
    margin: 0 auto;
    width: 85%;
    height: 50px;
    border-radius: 7px;
    border: 1px solid #C9914F;
    outline: none;
    padding: 7px;
    font-size: 24px;
}

.popup__body span {
    text-align: center;
    position: absolute;
    left: 44%;
    top: 56%;
    color: #1E1E1E;
}

.popup__body__bottom {
    background-color: #1E1E1E;
    width: 100%;
    border-top: 2px solid #C9914F;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.popup__body__bottom input {
    width: 80%;
    color: #fff;
    background-color: #C9914F;
    border: none;
    border-radius: 7px;
    padding: 23px 0 47px;
    margin: 15px auto;
}

.popup__body__bottom input:hover {
    color: rgba(214, 214, 214, .7);
    cursor: pointer;
} 


/* =======================================================header__completed============================================================= */

.description__box {
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.title__description {
    text-align: center;
    width: 345px;
    height: 438px;
    display: flex;
    align-items: center;
    margin: 22px;
    color: #C9914F;
    flex-wrap: wrap
}

.corner__bottom {
    width: 100%;
    text-align: right;
}

.title__description p {
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 48px;
    font-weight: 400;
    padding: 0 17px; 
}

.text__description {
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 19px;
    font-weight: 400;
    max-width: 816px;
    line-height: 2;
}

.main__activity {
    background: #1E1E1E;
    padding-bottom: 90px;
}

.activity h4 {
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 48px;
    font-weight: 400;
    color: #F2D4B0;
    text-align: center;
    padding-top: 85px;
}

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

.left-box {
    margin-top: 140px;
    width: 480px;
}

.left-box p {
    margin-left: 48px;
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 2.1;
}

ul li {
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 2.1;
}

li span {
    color: #C9914F;
    margin-right: 25px;
    font-size: 24px;
}

.right__box {
    width: 630px;
    height: 605px;
    margin-top: 139px;
}

.top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.top svg {
    position: relative;
    bottom: 43px;
    left: 44px;
}

.bottom {
    display: flex;
    justify-content: flex-start;
} 

.bottom svg {
    position: relative;
    top: 244px;
    right: 44px;
}

.adv__title {
    text-align: center;
    margin: 80px 0;
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 48px;
    font-weight: 400;
    color: #C9914F;
}

.adv__img {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 60px;
}

figure {
    width: 261px;
    text-align: center;
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 20px;
    font-weight: 400;
}

figure img {
    margin-bottom: 34px;
}

.main__contacts {
    background: #1E1E1E;
    padding-bottom: 70px;
}

.container h5 {
    text-align: center;
    font-family: 'Mirra Auriolic', "sans-serif";
    font-size: 48px;
    font-weight: 400;
    color: #F2D4B0;
    padding: 80px 0 45px;
}


.location {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 55px;
}

.contacts {
    display: flex;
    align-items: center;
    height: 441px;
    width: 40%;
    min-width: 290px;
    font-family: 'ComfortaaLight', "sans-serif";
    font-size: 20px;
    font-weight: 200;
    line-height: 1.5;
    color: #fff;
    position: relative;
    
}

.contacts p {
    padding-left: 43px;
}

.cnt__marker {
    background: url(img/Vector.png) no-repeat 0px 0px;
}

.cnt__phone {
    background: url(img/clock.png) no-repeat 0px;
}

.cnt__mail {
    background: url(img/phone.png) no-repeat 0px 33px;
}

.cnt__time {
    background: url(img/mail.png) no-repeat 0px 37px;
}

.cnt {
    max-width: 295px;
    margin: 0 auto;
}

.cnt__top {
    position: absolute;
    top: 0;
    left: 0;
}

.cnt__bottom {
    position: absolute;
    bottom: 0;
    right: 0;
}

.services {
    padding-bottom: 93px;
}

h6 {
    text-align: center;
    font-family: 'ComfortaaLight', "sans-serif";
    font-size: 48px;
    font-weight: 400;
    color: #C9914F;
    padding: 80px 0 45px;
}

.services__btn {
    width: 100%;
    height: 86px;
    background-color: white;
    border: none;
    outline: none;
    border-top: #C9914F solid 1px;
    border-bottom: #C9914F solid 1px;
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 24px;
    font-weight: 300;
    text-align: start;
    padding: 0 23px 0 33px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.services__btn > img {
    transform: rotate(180deg);
    transition: transform ease-in .1s;
}

.services__btn_active > img {
    transform: rotate(0deg);
}

.services__box {
    height: 0;
    display: flex;
    margin: 0;
    overflow: hidden;
    transform: translateY(-30%);
    transition: transform ease-in .3s;
}

.services__box_active {
    height: auto;
    transform: translateX(0px);
    margin: 45px 15px;
}

.services__box__left {
    width: 50%;
}

.services__box__left__long {
    width: 87%;
}

.services__box li {
    color: #000;
}


/* =======================================================main__completed============================================================= */

footer {
    background: #1E1E1E;
    border-top: solid #F2D4B0 2px;
}

footer > .header__navbar {
    margin-bottom: 47px;
}

.copyrights {
    margin-left: 20px;
}

.copyrights p {
    color: #A6A6A6;
    font-family: 'ComfortaaRegular', "sans-serif";
    font-size: 16px;
    font-weight: 500;
}

/* =======================================================footer__completed============================================================= */


/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@RESPONSIV@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

/*
>= 1200
992 - 1199
768 - 991
576 - 768
460 - 576
414 - 460
375 - 414
328 - 375
*/

@media (max-width: 1030px) {
    .map {
        display: flex;
        width: 53%;
    }
}

@media (max-width: 890px) {

    h1 {
        font-size: 36px;
    }

    .title__description p {
        font-size: 36px;
    }

    .activity h4 {
        font-size: 36px;
    }

    .adv__title {
        margin: 65px 0;
        font-size: 36px;
    }

    .container h5 {
        font-size: 36px;
        padding: 60px 0 30px;
    }

    h6 {
        font-size: 36px;
        padding: 60px 0 35px;
    }

    .main__contacts {
        height: 1050px;
    }

    .contacts {
        width: 423px;
        min-width: 320px;
        margin-bottom: 20px;
    }

    .map {
        margin-bottom: 40px;
        width: 100%;
        display: contents;
    }

    .location {
        justify-content: center;
        flex-wrap: wrap;
    }


    .left-box {
        margin-top: 37px;
        width: 470px;
    }

    ul li {
        font-size: 18px;      
        line-height: 1.6;
    }

    .left-box p {   
        font-size: 18px;
        line-height: 1.6;
    }

    .right__box {
        width: 45%;
        margin-top: 80px;
        height: 400px;
    }

    .right__box img {
        width: 65%
    }

    .right__box svg {
        width: 20%;
    }

    .bottom svg {
        position: relative;
        top: 109px;
        right: 44px;
    }

    .services {
        padding-bottom: 20px;
    }

    .services__btn {
        height: 60px;
        font-size: 18px;
        margin-bottom: 25px;
    }

}

@media (max-width: 810px) {

    .text__description {
        font-size: 14px;
    }

    .right__box {
        min-width: 385px;
    }

    .adv__img {
        max-width: 774px;
        flex-wrap: wrap;
    }

    figure {
        margin-bottom: 25px;
    }

    footer .header__navbar {
        display: block;
        padding: 40px 0 10px;
    }

    footer .header__logo {
        left: 5%;
        position: relative;
        margin-bottom: 25px;
    }

    footer .header__nav {
        margin: 0 auto 25px;
    }
    
    .copyrights {
        position: static;
        text-align: center;
    }
}

@media (max-width: 700px) {
    header .header__navbar {
        flex-wrap: wrap;
    }

    header .header__nav {
        max-width: 100%;
    }

    header .header__nav_list {
        justify-content: space-around;
        margin-top: 20px;
    }

    .request__btn {
        width: 255px;
    }

    h1 {
        font-size: 32px;
    }

    .description__box {
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 50px;
    }

    .title__description {
        height: 300px;
    }
    
    .title__description p {
        font-size: 32px;
    }

    .activity h4 {
        font-size: 32px;
    }

    .adv__title {
        font-size: 32px;
    }

    h6 {
        font-size: 32px;
    }
    
    .services__btn {
        font-size: 14px;
    }
}

@media (max-width: 600px) {

    .header__contacts_box {
        font-size: 14px;
        flex-wrap: wrap;        
    }


    header .header__navbar {
        display: block;
        padding: 35px 0;
    }

    header .header__logo {
        margin: 0 0 15px 5%; 
    }

    header .header__nav {
        margin: 0 auto;
    }

    header .header__nav_list {
        flex-wrap: wrap;
    }

    header .header__nav_list a {
        font-size: 14px;
    }

    .header__title > h1 {
        font-size: 28px;
        margin: 40px 0 90px 0;
    }

    .header__intro {
        max-width: 100%;
        margin: -60px 0 0 0;
        padding-left: 0;
        text-align: left;
    }

    .activity__box {
        justify-content: center;
    }

    .right__box {
        display: none;
    }  

    .services__box li {
        font-size: 13px;
    }

    li span {
        margin: 0 10px 0 5px;
    }
}

@media (max-width: 414px) {
    .header__title > h1 {
        margin: 30px 0 70px 0;
    }
}

