@import 'new-reset.css';

body {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #1E1E1E;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
}

/* my style */
/* header */
.header {
    /* background-image: url(../img/index/top.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    margin-bottom: 50px;
    height: 100vh; */
}

.fucking_crutch {
    background-image: url(../img/index/top.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    margin-bottom: 50px;
    height: 100vh;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -999;
}

.header__inner {
    color: #fff;
    /* height: 100vh; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.header__item-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 30px;
}

.header__logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 91px;
}

.header__logo-link {}

.header__logo-images {
    width: 300px;
}

.header__item-bottom {
    display: flex;
    align-items: center;
    /* padding-bottom: 50px;
    display: block */
}

.header__list {
    /* display: flex;
    min-width: 400px;
    justify-content: space-between; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 70px;
    /* border-bottom: 1px solid #fff;
    border-top: 1px solid #fff; */
    margin: 0 5px;
    margin-right: 80px;
}

.header__list-item {}

.header__list-item+.header__list-item {
    margin-left: 30px;
    /**/
}

.header__list-item ::after {
    display: block;
    content: "";
    height: 3px;
    width: 0%;
    background-color: #ffffff;
    -webkit-transition: width .3s ease-in-out;
    -o-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out
}

.header__list-item :hover::after,
.header__list-item :focus::after {
    width: 100%
}

.header__list-link {
    color: #000;
    font-size: 18px;
    line-height: 21px;
    padding-bottom: 2px;
    transition: all 0.5s;
}

.header__list-link:hover {
    color: #000;
}




.header__tel {
    /* display: -webkit-box;
    display: -ms-flexbox; */
    /* display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center; */
    /* align-items: center */
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.header__item-tel {
    background: #71D56A;
    border: 1px solid #71D56A;
    border-radius: 22px;
    padding: 8px 20px;
    line-height: 21px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
}

.header__item-tel:hover {
    color: #000000;
    border: 1px solid #479c41;
    background: #479c41;
}

.header__item-tel-link {
    font-size: 20px;
    line-height: 32px;
    color: #000;
    text-align: center;
    transition: all 0.7s;
    font-weight: 600;
}

.header__item-tel-link:hover {
    color: #16ff01;
}

.header__inner-title {
    margin: 130px auto auto auto;
    height: 100vh;
    font-size: 90px;
    font-weight: 700;
    line-height: 130%;
    color: #eee5e5;
    -webkit-text-stroke: 1px #000
}

/* end header */

/* section video */
.directions {
    margin-bottom: 50px;
    margin-top: -276px;
}

.directions__title {
    text-align: center;
    font-size: 32px;
    line-height: 52px;
    padding-bottom: 30px;
    margin-bottom: 35px;
    position: relative;
    text-transform: uppercase;

}

.directions__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* top: 0; */
    bottom: 0;
    width: 185px;
    height: 3px;
    border-radius: 3px;
    background: #3ed457;
    margin: 0 auto;
}

.directions__items {
    display: flex;
    justify-content: center;
}

.directions__list {}

.directions__list-video {
    width: 880px;
    height: 520px;
}

/* end section video */

/* section map */
.location {
    margin-bottom: 50px;
}

.location__title {
    text-align: center;
    font-size: 32px;
    line-height: 52px;
    padding-bottom: 30px;
    margin-bottom: 35px;
    position: relative;
    text-transform: uppercase;
}

.location__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* top: 0; */
    bottom: 0;
    width: 185px;
    height: 3px;
    border-radius: 3px;
    background: #3ed457;
    margin: 0 auto;
}

.location__text {
    max-width: 640px;
    font-size: 20px;
    color: #7E7E7E;
    line-height: 28px;
    text-align: center;
    margin: 0 auto 30px auto;

}

.location__items {}

.location__list {}

.location__list-map {}

/* end section map */

/* section form*/
.contact {
    margin-bottom: 50px;
}

.container {}

.contact__title {
    text-align: center;
    font-size: 32px;
    line-height: 52px;
    padding-bottom: 30px;
    margin-bottom: 35px;
    position: relative;
    text-transform: uppercase;
}

.contact__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* top: 0; */
    bottom: 0;
    width: 185px;
    height: 3px;
    border-radius: 3px;
    background: #3ed457;
    margin: 0 auto;
}

.contact__text {
    max-width: 640px;
    font-size: 20px;
    color: #7E7E7E;
    line-height: 28px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 30px;
}

.contact__items {}

.contact__list {}

.contact__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact__form-input {
    border: 2px solid #646464;
    border-radius: 40px;
    padding: 16px 26px;
    margin-bottom: 30px;
    /* max-width: 30px; */
    width: 550px;
}

.contact__form-input::placeholder {
    color: #a1a1a1;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    text-align: center;
}

.contact__form-area {
    /* width: 100%; */
    border: 2px solid #646464;
    border-radius: 24px;
    padding: 14px 17px;
    min-height: 125px;
    margin-bottom: 20px;
    width: 550px;
    resize: vertical;
}

.contact__form-area::placeholder {
    color: #a1a1a1;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    text-align: center;
}

/* .contact__form-btn {
    border: none;
    background-color: #363838;
    color: ivory;
    font-weight: 600;
    border-radius: 21px;
    padding: 6px 60px;
    cursor: pointer;
    width: 200px;
} */
.contact__form-btn {
    background: #71D56A;
    border: 1px solid #71D56A;
    border-radius: 40px;
    padding: 21px 70px;
    line-height: 21px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
}

.contact__form-btn:hover {
    color: #000000;
    border: 1px solid #479c41;
    background: #479c41;
}

/* end section form */

/* section layouts */
.layouts {
    margin-bottom: 80px;
}

.layouts__title {
    text-align: center;
    font-size: 32px;
    line-height: 52px;
    padding-bottom: 30px;
    margin-bottom: 35px;
    position: relative;
    text-transform: uppercase;
}

.layouts__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* top: 0; */
    bottom: 0;
    width: 185px;
    height: 3px;
    border-radius: 3px;
    background: #3ed457;
    margin: 0 auto;
}

.layouts__text {
    max-width: 640px;
    font-size: 20px;
    color: #7E7E7E;
    line-height: 28px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 50px;
}

.layouts__items {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.layouts__list {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.layouts__item {
    
    /* border: 1px solid #1b1818; */
    /* padding: 10px; */
    border-radius: 10px;
    width: 310px;
    height: 400px;
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    margin: 25px;
    /* justify-content: space-between; */
    /* text-align: center; */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.5s;
}
.layouts__item-anchor{
    width: 310px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.layouts__item:hover {
    transform: scale(1.25);
}

.layouts__item-link-text {
    margin-bottom: 20px;
    color: #000;

}

.layouts__item-link-img {
    border-radius: 10px 10px 0 0;
}

.layouts__item-link-footer {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 40px;
    background-color: #1e1e1e;
    border-radius: 0 0 10px 10px;
    align-items: center;
}

.layouts__item-link-footer-item {
    position: relative;
    transition: all 0.7s;
}

.layouts__item-link-footer-item::after {
    opacity: 0;
    position: absolute;
    content: attr(data-title);
    border: 1px solid #1e1e1e;
    background-color: #1e1e1e;
    padding: 0px 8px 2px 8px;
    border-radius: 15px;
    top: -40px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    transition: all 0.5s;
    /* transition-delay: .0s;  */
}

.layouts__item-link-footer-item:hover::after {
    opacity: 1;
    /* transition-delay: .5s; */

}

/* end section layouts */

/* footer */
.footer {
    background-color: #1e1e1e;
}

.footer__inner {
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.footer__item-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer__logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 120px;
}

.footer__logo-link {}

.footer__logo-images {}

.footer__item-bottom {
    display: flex;
    align-items: center;
    /* padding-bottom: 50px;
    display: block */
}

.footer__list {
    /* display: flex;
    min-width: 400px;
    justify-content: space-between; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 70px;
    /* border-bottom: 1px solid #fff;
    border-top: 1px solid #fff; */
    margin: 0 5px;
    margin-right: 20px;
}

.footer__list-item {}

.footer__list-item+.footer__list-item {
    margin-left: 30px;
    /**/
}

.footer__list-item ::after {
    display: block;
    content: "";
    height: 3px;
    width: 0%;
    background-color: #ffffff;
    -webkit-transition: width .3s ease-in-out;
    -o-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out
}

.footer__list-item :hover::after,
.footer__list-item :focus::after {
    width: 100%
}

.footer__list-link {
    color: #fff;
    font-size: 18px;
    line-height: 21px;
    padding-bottom: 2px;
    transition: all 0.5s;
}

.footer__list-link:hover {
    color: rgb(199, 237, 146);
}

.footer__tel {
    /* display: -webkit-box;
    display: -ms-flexbox; */
    /* display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center; */
    /* align-items: center */
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.footer__item-tel {
    background: #71D56A;
    border: 1px solid #71D56A;
    border-radius: 22px;
    padding: 8px 20px;
    line-height: 21px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
}

.footer__item-tel:hover {
    color: #000000;
    border: 1px solid #479c41;
    background: #479c41;
}

.footer__item-tel-link {
    font-size: 20px;
    line-height: 32px;
    color: #fff;
    text-align: center;
    transition: all 0.7s;
    margin-bottom: 10px;
}

.footer__item-tel-link:hover {
    color: #16ff01;
}

.footer__inner-title {
    margin: 130px auto auto auto;
    font-size: 90px;
    font-weight: 700;
    line-height: 130%;
    color: #eee5e5;
    -webkit-text-stroke: 1px #000
}

.footer__copyright {
    text-align: center;
    margin-bottom: 20px;
    color: #7E7E7E;
}

/* end footer */

/* modal */
#modal__item-tel {
    background: #71D56A;
    border: 1px solid #71D56A;
    border-radius: 42px;
    padding: 23px 100px;
    line-height: 21px;
    font-size: 30px;
    color: #fff;
    transition: all 0.3s;
    /* max-width: 200px; */
    margin: 20px auto 0 auto;
}

#modal__item-tel:hover {
    color: #000000;
    border: 1px solid #479c41;
    background: #479c41;
}
#modal__item-tel1 {
    background: #71D56A;
    border: 1px solid #71D56A;
    border-radius: 42px;
    padding: 23px 100px;
    line-height: 21px;
    font-size: 30px;
    color: #fff;
    transition: all 0.3s;
    /* max-width: 200px; */
    margin: 20px auto 0 auto;
}

#modal__item-tel1:hover {
    color: #000000;
    border: 1px solid #479c41;
    background: #479c41;
}

/* Модальный (фон) */
.modal {
    display: none;
    /* Скрыто по умолчанию */
    position: fixed;
    /* Оставаться на месте */
    z-index: 1;
    /* Сидеть на вершине */
    left: 0;
    top: 0;
    width: 100%;
    /* Полная ширина */
    height: 100%;
    /* Полная высота */
    overflow: auto;
    /* Включите прокрутку, если это необходимо */
    background-color: rgb(0, 0, 0);
    /* Цвет запасной вариант */
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    /* Черный с непрозрачностью */
}

/* Модальное содержание/коробка */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% сверху и по центру */
    padding: 20px;
    border: 1px solid #888;
    z-index: 99998;
    /* height: 45%; */
    /* width: 35%; */
    width: 400px;
    border-radius: 20px;
    /* display: flex;
    flex-direction: column; */
    /* Может быть больше или меньше, в зависимости от размера экрана */
}

/* Кнопка закрытия */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 99999;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.close2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 999;
}

.close2:hover,
.close2:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content__title {
    text-align: center;
    font-size: 32px;
    line-height: 52px;
    max-width: 300px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    margin: 0 auto 20px auto;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    
}

.modal-content__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* top: 0; */
    bottom: 0;
    width: 85px;
    height: 3px;
    border-radius: 3px;
    background: #3ed457;
    margin: 0 auto;
}
.modal-content__text {
    max-width: 300px;
    font-size: 16px;
    color: #7E7E7E;
    line-height: 20px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 15px;
}
.modal__form{
    display: flex;
flex-direction: column;
}
.modal__tel {
    border: 2px solid #646464;
    border-radius: 40px;
    padding: 16px 26px;
    width: 90%;
    margin: 10px auto;
    font-size: 16px;
    display: flex;

}

.modal__tel::placeholder {
    color: #a1a1a1;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    text-align: center;
}

/* modal */

/* end my style */



/* media  */
@media(max-width: 1000px) {
    .header__menu-burger {
        position: relative;
        width: 40px;
        height: 35px;
        display: block;
        margin-left: 10px;
        z-index: 57;
    }

    .header__menu-burger span,
    .header__menu-burger::after,
    .header__menu-burger::before {
        height: 3px;
        width: 100%;
        position: absolute;
        background: #515758;
        margin: 0 auto
    }

    .header__menu-burger span {
        top: 16px
    }

    .header__menu-burger::after,
    .header__menu-burger::before {
        content: ""
    }

    .header__menu-burger::after {
        bottom: 5px
    }

    .header__menu-burger::before {
        top: 5px
    }

    .header__menu-burger.open-menu span {
        opacity: 0;
        -webkit-transition: .5s;
        -o-transition: .5s;
        transition: .5s
    }

    .header__menu-burger.open-menu:before {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 16px;
        -webkit-transition: .4s;
        -o-transition: .4s;
        transition: .4s
    }

    .header__menu-burger.open-menu:after {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        bottom: 16px;
        -webkit-transition: .4s;
        -o-transition: .4s;
        transition: .4s
    }
    .header__list {
        width: 300px;
        display: block;
        position: absolute;
        top: -100%;
        background: #313131;
        right: 20px;
        -webkit-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
        border-radius: 6px;
        opacity: 0;
        z-index: 5
    }

    .header__list.open-menu {
        top: 60px;
        opacity: 1;
        height: 230px;
    }

    .header__list-item {
        margin: 40px 0 40px 40px;
        font-size: 14px;
    }
    .header__list-link {
        color: rgb(255, 255, 255);
       
    }
    .contact__form-input{
        width: 500px;
    }
    .contact__form-area{
        width: 500px;
    }
}

/* modal open  */


.popup-fade {
	display: none;
}
.popup-fade:before {
	content: '';
	background: #000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.7;
	z-index: 9999;
}
.popup {
	position: fixed;
	top: 20%;
	left: 50%;
	padding: 20px;
	width: 360px;
	margin-left: -200px;	
	background: #fff;
	border: 1px solid orange;
	border-radius: 4px; 
	z-index: 99999;
	opacity: 1;	
}
.popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
    font-size: 30px;
    font-weight: 700;
    padding: 10px;
}
/* end modal open */

/* contact */
.contact-top {
    margin: 30px 0 0 0;
    
}
.contact-top__flex{
    display: flex;
    justify-content: space-around
}
.contact-top__name {
    font-size: 24px;
    
}
.contact-top__tel {
    font-size: 24px;
    color: #624aff;
    transition: all 0.5s;
}
.contact-top__tel:hover {
    font-size: 24px;
    color: #118b29;
}

.about-company {
    background-color: #EBF2F5;
    height: 210px;
    margin: 60px 0 60px 0;
}
.about-company__title {
    font-size: 42px;
    line-height: 62px;
    /* text-align: center; */
    /* padding-left: 180px; */
}
.about-company__text {
    /* padding-left: 180px; */
    text-align: left;
    line-height: 21px;
    
}
.map{
    /* display: flex;
    justify-content: center; */
    margin: 5px auto;
    border: 1px solid #afaa83;
    width: 1400px;
}
/* end contact */
@media screen and (max-width: 1450px) {
    .map{
        width: 1100px;
    }
}
@media screen and (max-width: 1200px) {
    .map{
        width: 900px;
    }
}
@media screen and (max-width: 950px) {
    .directions__list-video {
        width: 680px;
        height: 420px;
    }
    .contact__form-input{
        width: 460px;
    }
    .contact__form-area{
        width: 460px;
    }
    .map{
        width: 700px;
    }
}

@media screen and (max-width: 760px) {
    .directions__list-video {
        width: 480px;
        height: 320px;
    }
    .contact__form-input{
        width: 440px;
    }
    .contact__form-area{
        width: 440px;
    }
    .map{
        width: 500px;
    }
}

@media screen and (max-width: 540px) {
    .directions__list-video {
        width: 300px;
        height: 200px;
    }
    .directions {
        margin-bottom: 50px;
        margin-top: -320px;
    }
    .directions__title{
        font-size: 22px;
        line-height: 32px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .location__title{
        font-size: 22px;
        line-height: 32px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .layouts__title{
        font-size: 22px;
        line-height: 32px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .contact__title{
        font-size: 22px;
        line-height: 32px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .header__inner-title{
        font-size: 40px;
    }
    .header__item-top{
        flex-wrap: wrap;
    }
    .footer__item-top{
        flex-wrap: wrap;
    }
    .contact__form-input{
        width: 340px;
    }
    .contact__form-area{
        width: 340px;
    }
    .header__list{
        margin-right: 20px;
    }
    .header__tel {
        
        margin: 0 auto;
    }
    .header__item-tel-link{
        margin-top: 15px;
    }
    .modal-content {
        width: 350px;
        
    }
    #modal__item-tel {

        padding: 20px 75px;
        line-height: 21px;
        font-size: 30px;
        margin: 20px auto 0 auto;
        display: flex;
    }
    #modal__item-tel1 {

        padding: 20px 75px;
        line-height: 21px;
        font-size: 30px;
        margin: 20px auto 0 auto;
    }
    .modal-content__title {
        font-size: 26px;
        max-width: 260px;
    }
    .map{
        width: 350px;
    }
    .about-company {
        height: 290px;
        margin: 20px 0 60px 0;
    }
    .contact-top__name {
        font-size: 16px;
        max-width: 220px;
        
    }
    .contact-top__tel {
        font-size: 18px;
        color: #624aff;
        transition: all 0.5s;
    }

}



/* media  */