/* Pages */

.first_screen {
    position: relative;
    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: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.first_screen .wrapper {
    position: relative;
}

.flower_1 {
    position: absolute;
    width: 22.29vw;
    height: 21.56vw;
    top: 20.5vw;
    left: -5vw;
    z-index: -1;
}

.flower_2 {
    position: absolute;
    width: 10.63vw;
    height: 10.26vw;
    top: 13vw;
    left: auto;
    right: 24vw;
    z-index: -1;
}

.flower_3 {
    position: absolute;
    width: 8.91vw;
    height: 8.59vw;
    top: -3.39vw;
    left: auto;
    right: -1.82vw;
    z-index: -1;
}

.block_1 {
    position: relative;
    z-index: 5;
}

.block_1 a {
    transition: all .2s linear;
}

.block_1 a:hover {
    transition: all .2s linear;
    transform: scale(1.05);
}

.block_1 .left {
    max-width: 36.56vw;
    width: 100%;
}

.block_1 .right {
    max-width: 25.26vw;
    width: 100%;
}

h1 {
    font-family: var(--third-family);
    line-height: 1;
    color: #282828;
}

h1 span {
    color: #096;
}

h2 {
    font-family: var(--third-family);
    line-height: 1.2;
}

.phone_icon {
    width: 1.56vw;
}

.viber_icon {
    width: 1.61vw;
}

.social_block a {
    width: 3.39vw;
    height: 3.39vw;
    background: #ffdc37;
}

.social_block a .image_block {
    width: 2.5vw;
}

.block_2 {
    background-color: rgba(2, 131, 53, 0.72);
    backdrop-filter: blur(4.699999809265137px);
    color: #fff;
    position: relative;
}

.block_2 .text_block {
    max-width: 30.36vw;
}

.block_2 p:not(:last-child) {
    margin: 0 0 0.78vw;
}

.block_2 p strong {
    color: #ffdc37;
}

.block_2 .image_block {
    position: absolute;
    top: -9vw;
    right: 2vw;
    width: 50.52vw;
}

.block_3 a, .error-404 a {
    background: #f08c20;
    width: 23.96vw;
    height: 3.02vw;
    border-radius: 3.8vw;
    transition: all .2s linear;
    color: #fff;
    font-family: var(--third-family);
}

.block_3 a:hover, .error-404 a:hover {
    background: #ffbd38;
    transition: all .2s linear;
    color: #fff;
}

.block_3 .btn_block p {
    text-transform: uppercase;
    text-align: center;
}

.block_4 .left, .block_4 .right {
    max-width: 48%;
}

.block_4 .left p:not(:last-child) {
    margin: 0 0 2.08vw;
}

.block_4 .left p strong {
    font-size: 1.25vw;
}

.block_4 .right .item:not(:last-child) {
    margin: 0 0 3.13vw;
}

.block_4 .right .image_block {
    width: 3.39vw;
    min-width: 3.39vw;
}

.block_4 .right .item .title span {
    font-weight: 700;
}

.block_5 {
    font-family: var(--font-family);
    line-height: 124%;
    text-align: center;
    color: #087c56;
}

.error-404 {
    height: 100vh;
    min-height: 47vw;
    position: relative;
    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: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.error-404 .wrapper {
    color: #fff;
}

.error-404 .wrapper .title {
    font-size: 15.63vw;
    font-weight: 700;
    line-height: 1;
}




/* Media */

@media screen and (max-width: 1440px) {
    body {
        font-size: 1.39vw !important;
    }

    .container {
        padding: 0 1.39vw;
    }

    .error-404 {
        min-height: 62.67vw;
        padding-top: 16.67vw;
    }

    .flower_1 {
        width: 29.72vw;
        height: 28.75vw;
        top: 27.33vw;
        left: -6.67vw;
    }

    .flower_2 {
        width: 14.17vw;
        height: 13.68vw;
        top: 17.33vw;
        right: 32vw;
    }

    .flower_3 {
        width: 11.88vw;
        height: 11.45vw;
        top: -4.52vw;
        right: -2.43vw;
    }

    .block_1 .left {
        max-width: 48.75vw;
    }

    .block_1 .right {
        max-width: 33.68vw;
    }

    .phone_icon {
        width: 2.08vw;
    }

    .viber_icon {
        width: 2.15vw;
    }

    .social_block a {
        width: 4.51vw;
        height: 4.51vw;
    }

    .social_block a .image_block {
        width: 3.33vw;
    }

    .block_2 .text_block {
        max-width: 40.48vw;
    }

    .block_2 p:not(:last-child) {
        margin: 0 0 1.04vw;
    }

    .block_2 .image_block {
        top: -9vw;
        right: 2.67vw;
        width: 61.36vw;
    }

    .block_3 .btn_block {
        width: 30%;
    }

    .block_3 a {
        width: 100%;
        height: 4.03vw;
        border-radius: 5.07vw;
    }

    .block_4 .left p:not(:last-child) {
        margin: 0 0 2.77vw;
    }

    .block_4 .left p strong {
        font-size: 1.67vw;
    }

    .block_4 .right .item:not(:last-child) {
        margin: 0 0 4.17vw;
    }

    .block_4 .right .image_block {
        width: 4.52vw;
        min-width: 4.52vw;
    }

    .block_5 p {
        font-size: 3.33vw !important;
    }

    .error-404 .wrapper .title {
        font-size: 20.83vw;
    }
}

@media screen and (orientation: portrait) {
    body {
        font-size: 1.95vw !important;
    }

    .container {
        padding: 0 1.95vw;
    }

    .error-404 {
        min-height: 88.13vw;
        padding-top: 23.44vw;
    }

    .block_1 .left {
        max-width: 68.55vw;
    }

    .phone_icon {
        width: 2.93vw;
    }

    .viber_icon {
        width: 3.02vw;
    }

    .social_block a {
        width: 6.35vw;
        height: 6.35vw;
    }

    .social_block a .image_block {
        width: 4.69vw;
    }

    .block_2 {
        flex-direction: column;
    }

    .block_2 .text_block {
        max-width: 100%;
    }

    .block_2 p:not(:last-child) {
        margin: 0 0 1.46vw;
    }

    .block_2 .image_block {
        top: 0;
        right: calc(50% - 34vw);
        width: 100%;
        position: relative;
    }

    .block_3 a {
        height: 5.67vw;
        border-radius: 7.13vw;
    }

    .block_3 .btn_block p {
        min-height: 4.69vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .block_4 .left p:not(:last-child) {
        margin: 0 0 3.90vw;
    }

    .block_4 .left p strong {
        font-size: 2.35vw;
    }

    .block_4 .right .item:not(:last-child) {
        margin: 0 0 5.86vw;
    }

    .block_4 .right .image_block {
        width: 6.36vw;
        min-width: 6.36vw;
    }

    .block_5 p {
        font-size: 4.68vw !important;
        line-height: 1;
    }

    .flower_1, .flower_2, .flower_3 {
        display: none;
    }

    .block_1 {
        flex-direction: column;
    }

    .block_1 .left {
        max-width: 66vw;
        text-align: center;
        margin: 0 0 4.88vw;
    }

    .block_1 .right {
        max-width: 50vw;
        text-align: center;
        align-items: center;
        row-gap: 2.93vw;
    }

    .phone {
        width: fit-content;
        column-gap: 1.95vw;
        margin: 0 !important;
    }

    .address {
        margin: 0 !important;
    }

    .error-404 .wrapper .title {
        font-size: 29.3vw;
    }
}

@media screen and (max-width: 1100px) and (orientation: landscape) {
    body {
        font-size: 1.95vw !important;
    }

    .container {
        padding: 0 1.95vw;
    }

    .error-404 {
        min-height: 88.13vw;
        padding-top: 23.44vw;
    }

    .block_1 .left {
        max-width: 68.55vw;
    }

    .phone_icon {
        width: 2.93vw;
    }

    .viber_icon {
        width: 3.02vw;
    }

    .social_block a {
        width: 6.35vw;
        height: 6.35vw;
    }

    .social_block a .image_block {
        width: 4.69vw;
    }

    .block_2 {
        flex-direction: column;
    }

    .block_2 .text_block {
        max-width: 100%;
    }

    .block_2 p:not(:last-child) {
        margin: 0 0 1.46vw;
    }

    .block_2 .image_block {
        top: 0;
        right: calc(50% - 34vw);
        width: 100%;
        position: relative;
    }

    .block_3 a {
        height: 5.67vw;
        border-radius: 7.13vw;
    }

    .block_3 .btn_block p {
        min-height: 4.69vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .block_4 .left p:not(:last-child) {
        margin: 0 0 3.90vw;
    }

    .block_4 .left p strong {
        font-size: 2.35vw;
    }

    .block_4 .right .item:not(:last-child) {
        margin: 0 0 5.86vw;
    }

    .block_4 .right .image_block {
        width: 6.36vw;
        min-width: 6.36vw;
    }

    .block_5 p {
        font-size: 4.68vw !important;
        line-height: 1;
    }

    .flower_1, .flower_2, .flower_3 {
        display: none;
    }

    .block_1 {
        flex-direction: column;
    }

    .block_1 .left {
        max-width: 66vw;
        text-align: center;
        margin: 0 0 4.88vw;
    }

    .block_1 .right {
        max-width: 50vw;
        text-align: center;
        align-items: center;
        row-gap: 2.93vw;
    }

    .phone {
        width: fit-content;
        column-gap: 1.95vw;
        margin: 0 !important;
    }

    .address {
        margin: 0 !important;
    }

    .error-404 .wrapper .title {
        font-size: 29.3vw;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 2.61vw !important;
    }

    .container {
        padding: 0 2.61vw;
    }

    .error-404 {
        min-height: 117.51vw;
        padding-top: 31.26vw;
    }

    .flower_1 {
        width: 55.73vw;
        height: 53.91vw;
        top: 51.24vw;
        left: -12.51vw;
    }

    .flower_2 {
        width: 26.57vw;
        height: 25.65vw;
        top: 32.49vw;
        right: 60vw;
    }

    .flower_3 {
        width: 22.28vw;
        height: 21.47vw;
        top: -8.48vw;
        right: -4.56vw;
    }

    .block_1 .left {
        max-width: 91.41vw;
    }

    .block_1 .right {
        max-width: 63.15vw;
        row-gap: 3.91vw;
    }

    .phone_icon {
        width: 3.90vw;
    }

    .viber_icon {
        width: 4.03vw;
    }

    .social_block a {
        width: 8.46vw;
        height: 8.46vw;
    }

    .social_block a .image_block {
        width: 6.25vw;
    }

    .block_2 .text_block {
        max-width: 75.90vw;
    }

    .block_2 p:not(:last-child) {
        margin: 0 0 1.95vw;
    }

    .block_2 .image_block {
        right: calc(50% - 32vw);
    }

    .block_3, .block_4 {
        flex-direction: column;
        row-gap: 6.51vw;
    }

    .block_3 .btn_block {
        width: 75%;
    }

    .block_3 a {
        height: 7.56vw;
        border-radius: 9.51vw;
    }

    .block_4 .left p:not(:last-child) {
        margin: 0 0 5.19vw;
    }

    .block_4 .left p strong {
        font-size: 3.13vw;
    }

    .block_4 .right .item:not(:last-child) {
        margin: 0 0 7.82vw;
    }

    .block_4 .right .image_block {
        width: 8.48vw;
        min-width: 8.48vw;
    }

    .block_4 .left, .block_4 .right {
        max-width: 100%;
    }

    .block_5 p {
        font-size: 6.24vw !important;
    }

    .error-404 .wrapper .title {
        font-size: 39.06vw;
    }

    .bg_image {
        height: 100vh !important;
    }

    .bg_image:after {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,.8);
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 4.17vw !important;
        background: #f1f6fc !important;
    }

    .container {
        padding: 0 4.17vw;
    }

    h1, h2 {
        line-height: 1.1 !important;
    }

    .error-404 {
        min-height: 188.01vw;
        padding-top: 50.01vw;
    }

    h1 {
        font-size: 9.42vw !important;
    }

    .block_1 .left {
        max-width: 100%;
    }

    .block_1 .right {
        max-width: 100%;
        row-gap: 6.25vw;
    }

    .phone_icon {
        width: 6.24vw;
        display: none !important;
    }

    .viber_icon {
        width: 6.45vw;
        display: none !important;
    }

    .social_block a {
        width: 13.54vw;
        height: 13.54vw;
    }

    .social_block a .image_block {
        width: 10vw;
    }

    .block_2 {
        padding: 5.21vw 5.21vw 45vw !important;
        margin: 0 0 20vw !important;
    }

    .block_2 .text_block {
        max-width: 100%;
    }

    .block_2 p:not(:last-child) {
        margin: 0 0 3.12vw;
    }

    .block_1, .block_3, .block_4, .block_5 {
        margin: 0 0 10.42vw !important;
    }

    .block_3 a {
        width: 100%;
        height: 12.09vw;
        border-radius: 15.21vw;
    }

    .block_4 .left p:not(:last-child) {
        margin: 0 0 8.31vw;
    }

    .block_4 .left p strong {
        font-size: 5.01vw;
    }

    .block_4 .right .item:not(:last-child) {
        margin: 0 0 12.51vw;
    }

    .block_4 .right .image_block {
        width: 13.56vw;
        min-width: 13.56vw;
    }

    .block_5 p {
        font-size: 9.99vw !important;
    }

    .address {
        font-size: 6.25vw !important;
    }

    .block_2 .image_block {
        right: calc(50% - 39vw);
        width: 105vw;
        position: absolute;
        top: 96vw;
    }
}