@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,700&display=swap&subset=cyrillic,cyrillic-ext');
@import url('https://fonts.googleapis.com/css?family=Amatic+SC:400,700&display=swap');
@font-face {
    font-family: Clip;
    src: url("../fonts/Clip.ttf");
}

html {
    min-height:100%;
    min-width:320px;
    width:100%;
    scroll-behavior: smooth;
}
body {
    font-family: 'Alegreya Sans SC', sans-serif;
    text-shadow: rgba(0,0,0,.01) 0 0 1px;
    min-height:100%;
    min-width:320px;
    width:100%;
    letter-spacing: 2px;
    color: #c6c0c0;
    background: radial-gradient(#404040, #0e0e0e);
}
a, a:hover {
    color: #c6c0c0;
    text-decoration: none;
}
h1 {
    font-size:36px;
}
h3 {
    color: #502551;
    padding: 20px 40px;
    margin: 0 auto;
    letter-spacing: 7px;
    text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    animation: shine 2s forwards;
    text-align:center;
    font-family: 'Amatic SC';
    font-size:32px;
    font-weight:700;
    position: relative;
}
h3:after {
    position: absolute;
    width:100%;
    bottom: 0;
    left:0;right:0;
    content: '';
    height:4px;
    background-color: #ffe6ff;
    box-shadow:0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    border-radius: 10px;
    overflow: hidden;
}
.header-subtext {
    font-size:22px;
    color:#848181;
    opacity: 0;
    transform: translateX(150%) scale(3);
    animation: headerSubtext 0.8s ease-in-out forwards;
    animation-delay: 1s;
}
@keyframes headerSubtext {
    5% {
        transform: translateX(120%) scale(3);
        opacity:0.05;
    }

    75% {
        transform: translateX(80%) scale(2);
        opacity: 0.7;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}
.main_wrapper {
    width:100%;
    min-height:100%;
}
.menu ul {
    list-style:none;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}
.menu ul li {
    width: 300px;
    height: 50px;
    text-align:center;
    margin: 0 5px;
}
.menu ul li a {
    color: #c6c0c0;
    height: 100%;
    width: 100%;
    display: block;
    transition: 0.3s;
    padding: 15px 5px;
    font-size: 18px;
    font-family: 'Alegreya Sans SC', sans-serif;
    letter-spacing: 2px;
}
.menu ul li a:hover {
    text-decoration:none;
    letter-spacing: 4px;
}
.menu ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: rgba(255,255,255,0.5);
    border-bottom-color: rgba(255,255,255,0.5);
    transform: scale(0.1, 1);
}
.menu ul li a.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    transition: all 0.3s;
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: transparent;
    border-bottom-color: rgba(255,255,255,0.5);
    transform: scale(1, 1);

}
.menu ul li a:hover::before {
    opacity: 1;
    transform: scale(1, 1);
}
.menu ul li a span {
    padding: 13px;
    display: block;
}
.select-lang {
    display:none;
    position: absolute;
    top: 30px;
    right: 30px;
    padding-left: 0;
    transition: 0.3s;
    max-height: 28px;
    overflow: hidden;
    transition: 0.7s;
    z-index: 99;
}
.select-lang.active {
    max-height: 300px;
}
.select-lang.active li a.selected {
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}
.select-lang li {
    display: block;
}
.select-lang li a {
    text-align: center;
    margin-bottom: 30px;
    display: block;
    font-size:20px;
    width:50px;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transition:0.3s;
}
.select-lang li a:hover {
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}
.select-lang li a:active:not(.selected) {
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-left: 1px solid white;
    border-right: 1px solid white;
}
.header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
}
.content {
    min-height:100vh;
}
#renovation-paint {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.renovations-block {
    position: relative;
    min-height:100vh;
    overflow:hidden;
}
.renovations-block_fade {
    background-color: rgba(0, 0, 0, 0.7);
    position:relative;
    min-height:100vh;
}
.renovations-wrapper {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ui {
    width:900px;
    margin: 50px auto;
    box-shadow: none;
}
.ui ul {
    margin: 0px 30px 10px 0px;
    padding: 0;
    list-style-type: none;
    font-size: 11px;
    font-weight: 400;
    line-height: 20px;
}
.ui .drop {
    opacity: 0;
    width: 100%;
    background: #1f1f1f;
    position: absolute;
    color: white;
    bottom: 0;
    -webkit-transition-property: bottom,opacity;
    transition-property: bottom,opacity;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
}
.ui .drop p {
    color: #f8fbfa;
}
.ui_box {
    width: 300px;
    height: 200px;
    position: relative;
    background: #1f1f1f;
    float: left;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition-property: background,-webkit-transform;
    transition-property: background,-webkit-transform;
    transition-property: transform,background;
    transition-property: transform,background,-webkit-transform;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
}
.ui:after, .ui_box:after {
    position: absolute;
    width:100%;
    top: 0;
    left:0;right:0;
    content: '';
    height:4px;
    background-color: #ffe6ff;
    box-shadow:0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    border-radius: 10px;
    overflow: hidden;
}
.ui_box:not(:first-of-type) {
    box-shadow: -1px 0px #292929;
    box-shadow: -1px 0px #29292952;
}
.ui_box__inner {
    padding: 30px;
}
.ui_box__inner span {
    font-size: 36px;
    font-weight: 700;
}
.ui_box__inner .progress {
    width: 100%;
    margin-top: 10px;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    overflow: initial;
}
.ui_box__inner .progress_graph {
    float: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    width: 85px;
    text-align: center;
    position: relative;
    padding-left: 20px;
    top: 24px;
}
.ui_box__inner .progress_graph__bar--1 {
    width: 10px;
    height: 20px;
    background: #4FA584;
    float: left;
    margin-right: 10px;
    position: relative;
    bottom: -10px;
    -webkit-animation: graph 1s;
}
.ui_box__inner .progress_graph__bar--2 {
    width: 10px;
    -webkit-animation: graph2 1s;
    height: 30px;
    float: left;
    margin-right: 10px;
    background: #4FA584;
}
.ui_box__inner .progress_graph__bar--3 {
    width: 10px;
    height: 24px;
    margin-right: 10px;
    -webkit-animation: graph3 1s;
    background: #4FA584;
    float: left;
    position: relative;
    bottom: -6px;
}
.ui_box__inner .progress_graph__bar--4 {
    width: 10px;
    height: 14px;
    -webkit-animation: graph4 1s;
    bottom: -16px;
    position: relative;
    background: #4FA584;
    float: left;
}
.ui_box__inner .progress_bar {
    height: 6px;
    float: left;
    width: 34%;
    background-color: #ffe6ff;
    box-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    -webkit-animation: bar 2s;
}
.ui_box__inner .progress_bar--two {
    height: 6px;
    float: left;
    width: 76%;
    background-color: #ffe6ff;
    box-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    -webkit-animation: bar2 2s;
}
.ui_box h2 {
    font-weight: normal;
    font-size: 16px;
    margin: -4px 0px 3px 0px;
}
.ui_box p {
    font-size: 11px;
    color: #b6b6b6;
    clear: left;
    font-weight: 300;
    width: 160px;
    margin: 2px 0px 15px 0px;
}
.ui_box a {
    font-size: 11px;
    color: #b6b6b6;
    clear: left;
    font-weight: 300;
    width: 100%;
    height: 100%;
    display: block;
    padding: 8px 1px 4px 30px;
    cursor: pointer;
}
.ui_box:hover {
    background: #323131;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition-property: background,-webkit-transform;
    transition-property: background,-webkit-transform;
    transition-property: transform,background;
    transition-property: transform,background,-webkit-transform;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.ui_box:hover > .ui_box__inner p {
    color: #b3dacb;
}

.ui_box:hover > .drop {
    -webkit-transition-property: bottom,opacity;
    transition-property: bottom,opacity;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    bottom: -32px;
    opacity: 1;
}

.ui_box .drop:hover {
    background-color: #323131;
}

.ui_box:hover > .drop .arrow {
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transform: rotate(765deg);
    transform: rotate(765deg);
}

.ui_box:hover > .ui_box__inner .progress_graph > div {
    background: white;
}

.ui_box:hover > .ui_box__inner .progress .progress_bar, .ui_box:hover > .ui_box__inner .progress .progress_bar--two {
    background: white;
}

.stat_left {
    float: left;
}

.arrow {
    width: 4px;
    height: 4px;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 1px solid #CDEAD3;
    border-right: 1px solid #CDEAD3;
    float: right;
    position: relative;
    top: -14px;
    right: 15px;
}

@-webkit-keyframes bar {
    from {
        width: 0px;
    }
    to {
        width: 34%;
    }
}

@keyframes bar {
    from {
        width: 0px;
    }
    to {
        width: 34%;
    }
}
@-webkit-keyframes bar2 {
    from {
        width: 0px;
    }
    to {
        width: 76%;
    }
}
@keyframes bar2 {
    from {
        width: 0px;
    }
    to {
        width: 76%;
    }
}
@-webkit-keyframes graph {
    from {
        height: 0px;
    }
    to {
        height: 20px;
    }
}
@keyframes graph {
    from {
        height: 0px;
    }
    to {
        height: 20px;
    }
}
@-webkit-keyframes graph2 {
    from {
        height: 0px;
    }
    to {
        height: 30px;
    }
}
@keyframes graph2 {
    from {
        height: 0px;
    }
    to {
        height: 30px;
    }
}
@-webkit-keyframes graph3 {
    from {
        height: 0px;
    }
    to {
        height: 24px;
    }
}
@keyframes graph3 {
    from {
        height: 0px;
    }
    to {
        height: 24px;
    }
}
@-webkit-keyframes graph4 {
    from {
        height: 0px;
    }
    to {
        height: 13px;
    }
}
@keyframes graph4 {
    from {
        height: 0px;
    }
    to {
        height: 13px;
    }
}
.renovations-block_button {
    margin-top:40px;
}
.portfolio-block {
    margin-top: -10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transition: all 0.3s ease 0s;
    position:relative;
    padding:200px 0;
}
.portfolio_fade {
    background-color: rgba(0, 0, 0, 0.7);
    position:absolute;
    width:100%;
    height:100%;
    left:0;right:0;
    top:0;bottom:0;
}
.index-logo {
    text-align:center;
    position:absolute;
    top:250px;
    left:0;
    right:0;
    margin:auto;
    transition:0.3s;
    animation: shine 2s forwards, flicker 3s infinite;
}

.index-logo_text-big {
    font-size:160px;
    color: #ffe6ff;
    text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    animation: logoAnimate 0.8s ease-in-out forwards, shine 2s 0.8s forwards, flicker 3s infinite;
    text-align: center;
    transition: 0.1s;
}
@keyframes blink {
    0%,
    22%,
    36%,
    75% {
        color: #ffe6ff;
        text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    }
    28%,
    33% {
        color: #1f1f1f;
        text-shadow: none;
    }
    82%,
    97% {
        color: #1f1f1f;
        text-shadow: none;
    }
}

.flicker {
    animation: shine 2s forwards, blink 3s 2s infinite;
}

.fast-flicker {
    animation: shine 2s forwards, blink 10s 1s infinite;
}

@keyframes shine {
    0% {
        color: #a99eff;
        text-shadow: none;
    }
    100% {
        color: #ffe6ff;
        text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #a99eff, -0.2rem 0.1rem 1rem #7b76c1, 0.2rem 0.1rem 1rem #959dd8, 0 -0.5rem 2rem #6e62b5, 0 0.5rem 3rem #dfdee8;
    }
}

@keyframes flicker {
    from {
        opacity: 1;
    }

    4% {
        opacity: 0.9;
    }

    6% {
        opacity: 0.85;
    }

    8% {
        opacity: 0.95;
    }

    10% {
        opacity: 0.9;
    }

    11% {
        opacity: 0.922;
    }

    12% {
        opacity: 0.9;
    }

    14% {
        opacity: 0.95;
    }

    16% {
        opacity: 0.98;
    }

    17% {
        opacity: 0.9;
    }

    19% {
        opacity: 0.93;
    }

    20% {
        opacity: 0.99;
    }

    24% {
        opacity: 1;
    }

    26% {
        opacity: 0.94;
    }

    28% {
        opacity: 0.98;
    }

    37% {
        opacity: 0.93;
    }

    38% {
        opacity: 0.7;
    }

    39% {
        opacity: 0.96;
    }

    42% {
        opacity: 1;
    }

    44% {
        opacity: 0.97;
    }

    46% {
        opacity: 0.94;
    }

    56% {
        opacity: 0.9;
    }

    58% {
        opacity: 0.9;
    }

    60% {
        opacity: 0.99;
    }

    68% {
        opacity: 1;
    }

    70% {
        opacity: 0.9;
    }

    72% {
        opacity: 0.95;
    }

    93% {
        opacity: 0.93;
    }

    95% {
        opacity: 0.95;
    }

    97% {
        opacity: 0.93;
    }

    to {
        opacity: 1;
    }
}
@keyframes logoAnimate {
    from {
        letter-spacing:-101px;
        opacity:0;
    }
    to {
        opacity:1;
        letter-spacing: 39px;
    }
}
.logo-evolution {
    font-size: 180px;
    font-family: 'Clip';
}
.logo-craft {
    display:block;
    font-size:100px;
    font-weight:400;
    margin-top: -105px;
    margin-left: 25px;
    letter-spacing: 30px;
    font-family: 'Amatic SC';
}
.construction-block {
    position: relative;
    margin-top: -10px;
}
#house-construction {
    width: 100%;
}
.h3-on-bg {
    position: absolute;
    z-index: 5;
    width: 500px;
    max-width:90%;
    margin: 100px auto;
    left: 0;
    right: 0;
    top:0;
}
.construction-block_content {

}
.construction-block_fade {
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 0;
    bottom: 7px;
    left: 0;
    right: 0;
}
.start_construction {
    margin: 30px auto;
}
.construction_intro {
    text-align:center;
    font-size:36px;
}
.construction_outro {
    display: none;
}
#flip {
    height:50px;
    overflow:hidden;
}

#flip > div > div {
    color:#fff;
    padding:0px 12px;
    height:45px;
    margin-bottom:36px;
    display:inline-block;
}

#flip div:first-child {
    animation: show 8s linear infinite;
}

#flip div div {
    background:#42c58a;
}
#flip div:first-child div {
    background:#4ec7f3;
}
#flip div:last-child div {
    background:#DC143C;
}

@keyframes show {
    0% {margin-top:-81px;}
    10% {margin-top:-81px;}
    20% {margin-top:-162px;}
    30% {margin-top:-162px;}
    40% {margin-top:-243px;}
    50% {margin-top:-243px;}
    60% {margin-top:-324px;}
    70% {margin-top:-324px;}
    80% {margin-top:0px;}
    90% {margin-top:0px;}
    99.99% {margin-top:-81px;}
}
.construction-more {
    position:absolute;
    text-align:center;
    bottom:40px;
    left: 0;
    right: 0;
}
.construction-more a {
    color: #c6c0c0;
    font-weight: 700;
    transition: 0.3s;
    position: relative;
    border-bottom: 2px solid #c6c0c0;
    padding: 5px;
}
.construction-more a::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #c6c0c0;
    transform: scale(0.1, 1);
}
.construction-more a:hover {
    letter-spacing: 4px;
}
.construction-more a:hover::before {
    opacity: 1;
    transform: scale(1, 1);
}
.construction-info_block {
    display: block;
    padding: 20px;
    background-color: #c6c0c0;
    background-color: #c6c0c0a1;
    color: #2b2b2b;
    font-weight: 700;
    font-size: 20px;
    margin: 10px 0;
    transition: 0.3s;
}

.construction_outro--left-side {
    text-align: left;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.construction_outro--left-side .construction-info_block {
    -webkit-transform: rotateY(40deg);
    transform: rotateY(40deg);
}

.construction_outro--right-side {
    text-align: right;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.construction_outro--right-side .construction-info_block {
    -webkit-transform: rotateY(-40deg);
    transform: rotateY(-40deg);
}
.construction_outro--left-side .construction-info_block:hover, .construction_outro--right-side .construction-info_block:hover {
    background-color: #c6c0c0;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    color: #2b2b2b;
}
.logo-placeholder {
    width:100%;
    min-height:600px;
}
.page-content .logo-placeholder {
    min-height:390px;
}
.seo-block {
    padding: 300px 0 150px 0;
    position: relative;
}
.callback-form {
    background-color: #c6c0c0;
    height: 300px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.brief_callback_form input {
    padding: 0.4em 1.5em;
    margin: 1em 0.8em;
    font-size: 35px;
    font-family: 'Amatic SC';
    letter-spacing: 5px;
    width: 100%;
    background: transparent;
    border: 4px solid #1f1f1f;
}
.brief_callback_form input:focus {
    outline:none;
    border-color:#585858;
}
.modal-wrapper {
    display: none;
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    background-color: rgba(0, 0,0, 0.8);
    z-index: 100;
}
.modal-wrapper.active {
    opacity: 1;
    display: flex;
}
.modal-window {
    padding: 50px;
    width: 50%;
    height: 80%;
    color: black;
    position: relative;
    background-color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.close {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}
.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}
.modal_content {
    max-height: 95%;
    margin: auto;
    overflow: auto;
    max-width: 100%;
}
.modal_content form {
    text-align: center;
}
.modal_content input, .modal_content textarea {
    padding: 0.4em 1.5em;
    margin: 1em 0;
    font-size: 20px;
    font-family: 'Amatic SC';
    letter-spacing: 5px;
    width: 100%;
    background: transparent;
    border: 4px solid #1f1f1f;
}
