@font-face {
    font-family: 'Segoe UI';
    src: url('https://afonico.ru/cases/Megara/fonts/SegoeUI-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('https://afonico.ru/cases/Megara/fonts/SegoeUI-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PFDinTextCompPro';
    src: url('https://afonico.ru/cases/Megara/fonts/PFDinTextCompPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('https://afonico.ru/cases/Megara/fonts/SegoeUI.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* ------ Specification ------ */
.logo.works-post > a.logo-link + span {
	display: none;
}
body,
li,
ul,
a,
div,
h1,
h2,
h3,
nav,
p,
button,
img {
    margin: 0;
    padding: 0;
}

html,
body {}

body {
    box-sizing: border-box;
    background-color: #282936;
    color: #fff;
    font-size: 14px;
}

h1 {
    font-size: 95px;
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
}

h2 {
    font-size: 45px;
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
}

h3 {
    font-size: 34px;
    font-family: 'Segoe UI';
    font-weight: normal;
    text-transform: none;
}

ul {
    list-style-type: none;
}

p {
    font-size: 16px;
    font-family: 'Segoe UI';
    font-weight: normal;
    color: #fff;
}

a,
a:active {
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
}

a:hover {
    text-decoration: underline;
    color: #fff;
    transition: 0.5s;
}

button:active,
button:hover,
button:focus,
input:active,
input:hover,
input:focus,
button {
    outline: none !important;
    box-shadow: none !important;
}

section{
	overflow: hidden;
}

.animated,
.header__number {
    opacity: 0;
}

.animated_2 {
    opacity: 1;
}

body.single-works .page-title {
    color: #00538c;
}

/*            Хедер - начало            */

.header {
    background: url(https://afonico.ru/cases/Megara/img/fon-1.png) no-repeat top center;
    background-size: cover;
    padding-top: 140px;
    padding-bottom: 55px;
    position: relative;
    z-index: 0;
    background-color: #282936;
}

.header__logo {
    margin-left: 15px;
    background: linear-gradient(-70deg, transparent 35px, #282936 0);
    position: relative;
    height: 100px;
    width: 1500px;
    left: -1230px;
    display: flex;
    align-items: center;
    padding-left: 1220px;
}

.header__logo_img {
    width: 213px;
    height: 60px;
}

.header__email {
    font-size: 28px;
    font-family: 'Segoe UI';
    font-weight: normal;
    display: flex;
    align-items: center;
    transition: 0.5s;
}

.header__email:hover {
    color: #f5e897;
    transition: 0.5s;
}

.header__link {
    margin-left: 10px;
}

.header__addres {
    display: flex;
    justify-content: flex-end;
}

.heading-1 {
    margin-top: 30px;
    font-size: 95px;
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
}

.header__text {
    width: 75%;
    margin-top: 40px;
}

.header__cards {
    margin-top: 105px;
}

.header__card {
    text-align: center;
    vertical-align: middle;
    height: 415px;
    width: 100%;
}

.header__card_black {
    background: rgba(10, 11, 14, 0.4);
    margin-top: 20px;
    height: 395px;
}

.header__card_blue {
    background: rgba(31, 36, 51, 0.4);
}

.header__card_img {
    margin-top: 100px;
    margin-bottom: 45px;
}

.header__card:last-child {
    padding-top: 20px;
}

.header__card_text {
    margin-top: 18px;
}

.typed-cursor {
    display: none;
    opacity: 0;
}

/*            Хедер - конец            */






/*            Задачи - начало            */

.task {
    background: #0a0b0e;
    display: flex;
    justify-content: center;
}

.task__card {
    background: #1f2433;
    width: 100%;
    padding-bottom: 70px;
    position: relative;
    z-index: 10;
}

.task__title {
    margin-top: 90px;
    margin-bottom: 30px;
}

.task__text {
    margin-left: 25px;
    width: 90%;
}

.task__text li {
    margin-bottom: 13px;
    font-size: 16px;
}

.task__text li:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #f5e897;
    position: absolute;
    left: 2px;
    margin-top: 7px;
}

.task__macbook_big {
    width: 1050px;
    margin-top: 40px;
    position: absolute;
    top: -550px;
    margin-left: 345px;
}

.cocoen {
    width: 71%;
    position: relative;
    top: -482px;
    left: 472px;
}

/*            Задачи - конец            */






/*            Цветовое решение - начало            */

.color {
    background: url(https://afonico.ru/cases/Megara/img/fon-2.png) no-repeat top center;
    background-size: cover;
    margin-bottom: -150px;
    margin-top: -460px;
    position: relative;
    z-index: 15;
}

.color__title {
    margin-top: 45px;
    margin-bottom: 30px;
}

.color__text {
    width: 80%;
}

.color__card {
    text-align: center;
}

.color__card_blue {
    background: linear-gradient(-75deg, transparent 65px, #1f2433 0) top right, linear-gradient(105deg, transparent 65px, #1f2433 0) top left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    height: 510px;
    width: 250px;
    margin-left: -20px;
}

.color__card_black {
    background: linear-gradient(-75deg, transparent 65px, #040405 0) top right, linear-gradient(105deg, transparent 65px, #040405 0) top left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    height: 510px;
    width: 250px;
    margin-left: -125px;
}

.color__card_yellow {
    background: linear-gradient(-75deg, transparent 65px, #f5e897 0) top right, linear-gradient(105deg, transparent 65px, #f5e897 0) top left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    height: 510px;
    width: 250px;
    margin-left: -125px;
}

.color__card_white {
    background: linear-gradient(-75deg, transparent 65px, #cfdceb 0) top right, linear-gradient(105deg, transparent 65px, #cfdceb 0) top left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    height: 510px;
    width: 250px;
    margin-left: -125px;
}

.color__card_yellow p,
.color__card_white p {
    color: #1f2433;
}

.color__card_title {
    margin-top: 100px;
    font-family: 'Segoe UI';
    font-weight: bold;
}

.color__card_text {
    font-size: 14px;
}

/*            Цветовое решение - конец            */






/*            Презентация проекта - начало            */
.container-video {
	height: 64rem;
}
.presentation__title {
    margin-top: -115px;
    position: relative;
}

.presentation__ipad {
    position: absolute;
    left: 30px;
    bottom: -835px;
    z-index: 100;
    pointer-events: none;
}

/*
.presentation__block--video {
    position: absolute;
    z-index: 12;
    top: 15px;
    left: 55px;
}
*/

.presentation__block--video {
    position: absolute;
    z-index: 12;
    top: 15px;
    left: 55px;
    width: 91%;
    height: 56rem;
}
.presentation__block_text {
    padding: 2rem;
    border: none;
    display: inline-block;
    position: absolute;
    background-color: #fff;
    margin-top: 8%;
    transform: none;
    right: 7%;
    z-index: 90;
    color: #040405;
}

.presentation__text_title {
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
    font-size: 30px;
    margin-bottom: 35px;
}

.presentation__list_text {
    margin-bottom: 15px;
}

.presentation__list_text img {
    margin-right: 10px;
}

/*            Презентация проекта - конец            */






/*            Дизайн концепт - начало            */

.design {
    background: url(https://afonico.ru/cases/Megara/img/fon-3.png) no-repeat top center;
    background-size: cover;
    position: relative;
    z-index: 10;
    height: 1200px;
    padding-bottom: 55px;
}

.design__title {
    margin-top: 255px;
}

.design__circle {
    position: absolute;
    top: -150px;
    left: -500px;
}

.design__text {
    margin-top: 35px;
    width: 90%;
}

.design__moc_up {
    position: relative;
    top: -600px;
    left: 400px;
}

.design__moc_up_1 {
    position: relative;
    z-index: 90;
    top: 140px;
    left: -70px;
}

.design__moc_up_2 {
    position: absolute;
    z-index: 80;
    top: 410px;
    left: -50px;
}

.design__moc_up_3 {
    position: absolute;
    z-index: 70;
    left: -50px;
    top: 670px;
}

.design__name {
    position: relative;
    top: -600px;
}

.design__name_service,
.design__name_contact {
    position: relative;
}

.design__service_text {
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
    font-size: 24px;
    margin-left: 140px;
    margin-top: 40px;
}

.design__service_line {
    left: 18px;
    bottom: 290px;
    width: 0;
    height: 0;
    position: relative;
    z-index: 1200;
    transition: 2s;
    opacity: 0;
}

.design__service_line_active {
    opacity: 1;
    width: 185px;
    height: 350px;
}

.design__service_botton {
    top: 350px;
    width: 0;
    border-bottom: 1px dashed #73848b;
    position: relative;
    z-index: 100;
    transition: 2s;
    opacity: 0;
}

.design__service_botton_active {
    opacity: 1;
    width: 185px;
}

.design__service_right {
    height: 0;
    border-left: 1px dashed #73848b;
    position: absolute;
    left: 185px;
    z-index: 100;
    transform: rotate(180deg);
    transition: 2s;
    opacity: 0;
}

.design__service_right_active {
    opacity: 1;
    height: 350px;
}

.design__service_line:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #f5e897;
    border-radius: 50%;
    position: absolute;
    left: 179px;
    top: -8px;
    z-index: 300;
}

.design__service_line:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #f5e897;
    border-radius: 50%;
    position: absolute;
    top: 344px;
    left: -8px;
    z-index: 300;
}

.design__project_text {
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
    font-size: 24px;
    margin-left: 60px;
    margin-top: -160px;
}

.design__project_line {
    left: 18px;
    bottom: 290px;
    width: 0;
    height: 151px;
    border-bottom: 1px dashed #73848b;
    position: relative;
    z-index: 1200;
    transition: 2s;
    opacity: 0;
}

.design__project_line_active {
    opacity: 1;
    width: 215px;
}

.design__project_line:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #f5e897;
    border-radius: 50%;
    position: absolute;
    left: 214px;
    top: 144px;
}

.design__project_line:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #f5e897;
    border-radius: 50%;
    position: absolute;
    top: 144px;
    left: -8px;
}

.design__name_contact {
    margin-top: -340px;
}

.design__contact_text {
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
    font-size: 24px;
    margin-left: 210px;
    margin-top: 170px;
}

.design__contact_line {
    left: 25px;
    bottom: 110px;
    width: 0;
    height: 0;
    position: relative;
    z-index: 1200;
    transition: 2s;
    opacity: 0;
}

.design__contact_line_active {
    opacity: 1;
    width: 299px;
    height: 325px;
}

.design__contact_botton {
    top: 298px;
    width: 0;
    border-bottom: 1px dashed #73848b;
    position: relative;
    z-index: 1200;
    transition: 2s;
    opacity: 0;
}

.design__contact_botton_active {
    opacity: 1;
    width: 325px;
}

.design__contact_right {
    left: 25px;
    height: 0;
    border-right: 1px dashed #73848b;
    position: absolute;
    left: 325px;
    z-index: 1200;
    transition: 2s;
    opacity: 0;
}

.design__contact_right_active {
    opacity: 1;
    height: 299px;
}

.design__contact_line:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #f5e897;
    border-radius: 50%;
    position: absolute;
    left: 319px;
    top: -8px;
}

.design__contact_line:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #f5e897;
    border-radius: 50%;
    position: absolute;
    top: 292px;
    left: -8px;
}

/*            Дизайн концепт - конец            */






/*            Отображение на мобильных устройствах - начало            */

.mobile {
    background: url(https://afonico.ru/cases/Megara/img/fon-4.png) no-repeat top center;
    background-size: cover;
    position: relative;
    z-index: 1;
    padding-bottom: 1000px;
}

.mobile__title {
    color: #1f2433;
    margin-top: 110px;
}

.mobile__text {
    color: #1f2433;
    width: 30%;
    margin-top: 30px;
    margin-left: 100px;
}

.mobile__img {
    position: relative;
}

.mobile__img_iPhone_1 {
    position: absolute;
    z-index: 5;
    margin-left: -140px;
}

.mobile__img_iPhone_2 {
    position: absolute;
    z-index: 10;
    margin-top: 130px;
    margin-left: -150px;
}

.mobile__img_iPhone_3 {
    position: absolute;
    z-index: 10;
    margin-top: 100px;
    margin-left: 150px;
}

.mobile__img_iPhone_4 {
    position: absolute;
    z-index: 5;
    top: -20px;
    margin-left: 500px;
}

.mobile__img_iPhone_5 {
    position: absolute;
    z-index: 10;
    top: 150px;
    margin-left: 700px;
}

.mobile__img_iPhone_6 {
    position: absolute;
    z-index: 5;
    margin-left: 820px;
}

.mobile__name_text {
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
    font-size: 24px;
    color: #1f2433;
    text-align: right;
    position: relative;
    z-index: 20;
}

.mobile__name {
    position: absolute;
    top: 1080px;
    left: auto;
    right: 220px;
    width: 500px;
}

.mobile__name_line {
    left: 25px;
    bottom: 46px;
    width: 0;
    border-bottom: 1px dashed #73848b;
    position: relative;
    z-index: 1200;
    transition: 2s;
    opacity: 0;
}

.mobile__name_line_active {
    opacity: 1;
    width: 215px;
}

.mobile__name_line:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #f5e897;
    border-radius: 50%;
    position: absolute;
    left: 215px;
    top: 65px;
}

.mobile__name_line:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #1f2433;
    border-radius: 50%;
    position: absolute;
    top: 65px;
    left: -6px;
}

/*            Отображение на мобильных устройствах - конец            */






/*            Как было - начало            */
.play {
    background-color: #282936;
    position: relative;
    z-index: 10;
}

.play__group_big {
    margin-top: 50px;
    margin-bottom: 5px;
}

.play__btn_big {
    width: 385px;
    height: 100px;
    font-size: 45px;
    margin-left: 0px;
}
.play__group_big .nav-item.apartment__header_btn:nth-child(1) {
	margin-right: 10px;
}
.play__btn_big-2 {
    margin-left: 0px;
    width: 385px;
    height: 100px;
    font-size: 45px;
}

.play__btn_small {
    width: 175px;
    height: 50px;
    font-size: 25px;
}

.play__big {
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
    color: #f5e897;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.play__btn {
    font-family: 'PFDinTextCompPro';
    font-weight: 300;
    color: #f5e897;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.apartment__header_btn {
    position: relative;
}

.play__big:before,
.play__btn_small:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    border: 1px solid #8f8967;
    transform: skewX(-18deg);
}

.play__btn_1:after {
    content: 'Главная';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play__btn_2:after {
    content: 'О компании';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play__btn_3:after {
    content: 'Объекты';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play__btn_4:after {
    content: 'Услуги';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play__btn_5:after {
    content: 'Оборудование';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play__btn_6:after {
    content: 'Контакты';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tab-pane-second .play__btn_6:after {
	content: 'Оборудование';
}
.play__btn_7:after {
    content: 'Как было';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play__btn_8:after {
    content: 'Как стало';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play__btn_9:after {
    content: 'Контакты';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apartment__header li {
    margin-right: 10px;
}

.apartment__header li:last-child {
    margin-right: 0px;
}

.play__btn_small:hover:before,
.play__big:hover:before,
.play__big:active:before {
    background-color: #f5e897;
    transform: skewX(-18deg);
    transition: 0.5s;
}

.play__btn:hover,
.play__big:hover,
.play__big:active {
    color: #282936 !important;
    transition: 0.5s;
}

.play__group_be {
    display: flex;
}

.play__group_become {
    opacity: 0;
    display: flex;
}

.play__img_sait {
    margin-top: -22px;
    width: 100%;
}

.play__img {
    width: 100%;
    margin-top: -8px;
}

.play__group_img {
    margin-top: 30px;
}

.play__img_be {
    height: 670px;
    overflow-y: scroll;
    margin-top: -8px;
}

.play__img_be_none {
    overflow-y: hidden;
}

.play__img {
    height: auto;
}

.nav-pills .active a:before,
.nav-pills .show > .nav-link:before {
    background: #f5e897;
    border: none;
}

.nav-pills .active a,
.nav-pills .show > .nav-link {
    color: #282936;
    background-color: transparent;
}

/*            Как было - конец            */






/*            Иконки в объекты - начало            */

.icon {
    background: url(https://afonico.ru/cases/Megara/img/fon-5.png) no-repeat top center;
    background-size: cover;
    background-color: #282936;
    padding-bottom: 100px;
}

.icon__title {
    margin-top: 125px;
    margin-bottom: 20px;
}

.icon__text {
    width: 650px;
}

.icon__group {
    display: flex;
    flex-wrap: wrap;
    margin-top: 53px;
}

.icon__card {
    text-align: center;
    width: 185px;
    margin-bottom: 40px;
}

.icon__card_bottom {
    margin-top: 20px;
    margin-bottom: 0px;
}

.icon__card_img {
    width: 34%;
}

.icon__card_img-big {
    width: 40%;
    margin-bottom: 2px;
}

.icon__card_img-big-2 {
    width: 46%;
}

.icon__card_text {
    font-family: 'Segoe UI';
    font-weight: normal;
    font-size: 13px;
    margin-top: 18px;
    color: #b0b0b6;
}

.icon__screen {
    margin-left: 20px;
    position: absolute;
    width: 634px;
}

/*            Иконки в объекты - конец            */






/*            Технологии разработки - начало            */

.footer {
    background-color: #282936;
}

.footer__img {
    background: url(https://afonico.ru/cases/Megara/img/workers.png) no-repeat left center;
    background-size: cover;
    height: 105%;
    width: 250%;
    margin-left: -450px;
    padding-top: 0;
}

.footer__title {
    margin-top: 145px;
}

.footer__cards {
    margin-left: 10px;
}

.footer__card {
    margin-top: 40px;
}

.footer__card_img {
    margin-right: 15px;
}

.footer__card_img:last-child {
    margin-right: 0px;
}

.footer__write {
    margin-top: 70px;
}

.footer__write_btn {
    padding: 11px 40px;
    background: #f5e897;
    transition: 0.5s;
    width: 250px;
    height: 52px;
}

.footer__write_btn:hover {
/*     text-decoration: underline; */
    color: #282936;
    transition: 0.5s;
}

.footer__write_btn img {
    width: 26px;
    height: 26px;
}

.footer__write_text {
    font-family: 'Segoe UI';
    font-weight: 300;
    color: #282936;
    font-size: 18px;
    margin-left: 10px;
}

.footer__write_text-2 {
    font-family: 'Segoe UI';
    font-weight: 300;
    color: #fff;
    font-size: 22px;
    margin-left: 40px;
    transition: 0.5s;
}

.footer__write_text-2:hover {
    text-decoration: underline;
    color: #fff;
    transition: 0.5s;
}

.footer__text {
    font-family: 'Segoe UI';
    font-weight: 300;
    font-size: 22px;
    margin-top: 97px;
    display: flex;
    align-items: center;
}

.footer__text_color {
    color: #f5e897;
    transition: 0.5s;
    margin-left: 5px;
    display: flex;
}

.footer__text_color:hover {
    text-decoration: underline;
    color: #f5e897;
    transition: 0.5s;
}

.footer__social {
    display: flex;
    margin-top: 190px;
    margin-bottom: 20px;
}

.footer__social_img {
    width: 30px;
    height: 30px;
}

.footer__social_logo {
    margin-left: 70px;
    margin-top: -5px;
}

.footer__social_fb,
.footer__social_tw,
.footer__social_vk {
    border: 1px solid #898562;
    width: 68px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    transition: 0.5s;
}

.footer__social_fb_img {
    background: url(https://afonico.ru/cases/Megara/img/fb.png) no-repeat center center;
    width: 10px;
    height: 18px;
}

.footer__social_tw_img {
    background: url(https://afonico.ru/cases/Megara/img/twitter.png) no-repeat center center;
    width: 21px;
    height: 18px;
}

.footer__social_vk_img {
    background: url(https://afonico.ru/cases/Megara/img/vk.png) no-repeat center center;
    width: 27px;
    height: 16px;
}

.footer__social_fb:hover,
.footer__social_tw:hover,
.footer__social_vk:hover {
    border: none;
    transition: 0.5s;
    background: #f5e897;
    transition: 0.5s;
}

.footer__social_fb:hover .footer__social_fb_img {
    background: url(https://afonico.ru/cases/Megara/img/fb_active.png) no-repeat center center;
}

.footer__social_tw:hover .footer__social_tw_img {
    background: url(https://afonico.ru/cases/Megara/img/twitter_active.png) no-repeat center center;
}

.footer__social_vk:hover .footer__social_vk_img {
    background: url(https://afonico.ru/cases/Megara/img/vk_active.png) no-repeat center center;
}

/*            Технологии разработки - конец            */

/* СКРЫВАЕМ ОПИСАНИЕ В БЛОКЕ ВИДЕО */
.presentation__block--text,
.question-block {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.question-block {
	display: none;
}
