/* Front page */

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border: 0;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #dfe6e9;
}

a {
    background-color: transparent;
}

a:focus {
    outline: unset;
}

b,
strong {
    font-weight: 700;
}

small {
    font-size: 0.875em;
}

main img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

button,
input {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button {
    text-transform: none;
}

button {
    -webkit-appearance: button;
}

button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring {
    outline: 1px dotted #fff;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
    color: #333;
    background: #fff;
}

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/* ibm-plex-sans-300 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-regular - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-500 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-600 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-700 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.svg#IBMPlexSans') format('svg');
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
    position: relative;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #000;
    line-height: 1.76;
    background-color: #fff;
    overflow-x: hidden;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

p:empty,
p:last-of-type {
    margin-bottom: 0;
}

.site-container-wrap {
    position: relative;
    overflow-x: hidden;
}

.site-container {
    position: relative;
    margin: auto;
    max-width: 1300px;
    width: 100%;
}

.hide {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}

@media screen and (max-width: 1350px) {
    .site-container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 980px) {
    .site-container {
        overflow: hidden;
    }
}

/* ## Headings */

h2,
h3,
h4,
h5,
.h1,
.h2 {
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 700;
}

h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.5;
    font-weight: 700;
}

h2,
.h2 {
    font-size: 36px;
}

h3,
.h3 {
    font-size: 26px;
}

.h3,
.h4,
.h5,
.h6 {
    font-weight: 600;
    line-height: 1.4;
}

.h4 {
    font-size: 22px;
}

.h5 {
    font-size: 20px;
}

.h6 {
    font-size: 17px;
}

@media screen and (max-width: 640px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6 {
        word-break: break-word;
    }
}

/* ## Links */

a,
button,
input:focus {
    transition: 0.3s;
}

a {
    color: #215684;
    text-decoration: none;
}

/* ## Buttons */

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    display: block;
    padding: 14px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    background-color: #5fa711;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    transition: .3s;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
    outline: unset;
}

button:not(.search-submit):hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
    opacity: .7;
}

.cross {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cross:before,
.cross:after {
    content: "";
    width: 1px;
}

.cross:before {
    transform: rotate(45deg);
}

.cross:after {
    transform: rotate(-45deg);
}

/* ## Form */

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="text"],
textarea,
select {
    display: block;
    margin: 0;
    padding: 15px 20px;
    width: 100%;
    font-size: 16px;
    color: #303549;
    line-height: 1.3;
    background-color: #fff;
    border: 1px solid #e3e3e3;
}

select:hover {
    cursor: pointer;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border: 1px solid #e6eaee;
    outline: none
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
    width: auto
}

label {
    display: block;
}

select {
    padding-right: 50px;
    color: #808080;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAFCAYAAACXU8ZrAAAANUlEQVQImYXMuw0AIAwD0Qv7ZVoGPBqK8BGksWw9JYDO52LmC2aUcoMJ0NRl2AEAKgUeH1UGNA0P+kwys8wAAAAASUVORK5CYII=);
    background-position: right 20px center;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none !important;
}

select::-ms-expand {
    display: none;
}

/* ## Placeholder */

::placeholder {
    font-size: 16px;
    color: #414143;
    text-overflow: ellipsis;
    opacity: 0.3;
    transition: opacity ease 0.3s;
}

input:focus::placeholder {
    opacity: 0;
}

/* ## Search */

.search-form {
    display: flex;
    align-items: center;
    padding-right: 5px;
    height: 56px;
    background-color: #fff;
    box-shadow: 0px 0px 29px 0px rgba(183, 167, 148, 0.2);
    border-radius: 10px;
}

.site-header .search-form {
    flex-basis: 400px;
    max-width: 100%;
}

.search-form .search-submit {
    flex-shrink: 0;
    padding: 0;
    width: 50px;
    height: 50px;
    background-image: url(../img/search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
}

.search-form .search-submit:hover {
    opacity: .5;
}

.search-form input[type="search"] {
    padding-left: 20px;
    padding-right: 0;
    border: 0;
    background: none;
}

.search-form input[type="search"]:focus {
    border: none;
}

@media screen and (max-width: 640px) {
    .search-form {
        flex-basis: unset;
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
    position: relative;
    padding-bottom: 40px;
}

.site-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    z-index: -1;
    display: block;
    height: 100%;
    width: 100vw;
    background-color: #f1f5f8;
}

.site-header>picture {
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    z-index: -1;
    width: 100vw;
    overflow: hidden;
}

.site-header>picture img {
    position: relative;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 1240px) {}

@media screen and (max-width: 1040px) {}

@media screen and (max-width: 980px) {
    .site-header>picture {
        display: none;
    }
}

/* ## Header top */

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 50px;
}

.header-top>*:not(:last-child) {
    margin-right: 50px;
}

@media screen and (max-width: 1140px) {
    .header-top {
        flex-wrap: wrap;
    }

    .header-top .search-form {
        margin-right: 0;
    }
}

@media screen and (max-width: 980px) {
    .header-top {
        padding-bottom: 0;
    }

    .header-top .search-form {
        flex: 1;
        margin-right: 30px;
    }
}

@media screen and (max-width: 800px) {
    .header-top .search-form {
        margin-right: 0;
    }
}

/* ## Logo */

.logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: #000;
}

.logo h1,
.logo .h1 {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.logo h1 span,
.logo .h1 span {
    font-weight: 300;
}

.site-header .logo picture {
    display: flex;
    margin-right: 30px;
}

@media screen and (max-width: 980px) {
    .logo {
        margin-bottom: 30px;
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .site-header .logo picture {
        margin-right: 15px;
    }

    .site-header .logo picture img {
        width: 50px;
        height: auto;
    }

    .logo h1,
    .logo .h1 {
        font-size: 18px;
    }
}

/* ## Moon calendar */

.moon-calendar {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 80px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    line-height: 1.56;
}

.moon-calendar:before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 29px);
    width: 58px;
    height: 58px;
    background-image: url(../img/moon.png);
    background-position: center;
    background-repeat: no-repeat;
}

.moon-calendar span {
    font-size: 12px;
    font-weight: 300;
}

@media screen and (max-width: 1140px) and (min-width: 981px) {
    .moon-calendar {
        margin-top: 30px;
        margin-left: auto;
    }
}

@media screen and (max-width: 980px) {
    .header-top .moon-calendar {
        display: none;
    }

    .primary-menu .moon-calendar {
        margin: 20px 15px;
        color: #fff;
    }

    .primary-menu .moon-calendar span {
        display: none;
    }
}

/* ## Social */

.social {
    position: relative;
    z-index: 99;
    display: flex;
    align-items: center;
}

.social a {
    position: relative;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 1px;
    border-style: solid;
    border-color: #efede7;
    border-radius: 50%;
}

.social a:not(:last-child) {
    margin-right: 8px;
}

.vk {
    background-image: url(../img/vk.png);
}

.pin {
    background-image: url(../img/pin.png);
}

.ok {
    background-image: url(../img/ok.png);
}

.social a:hover {
    border-color: transparent;
}

@media screen and (max-width: 980px) {
    .header-top .social {
        display: none;
    }

    .primary-menu .social {
        justify-content: center;
        margin-top: 10px;
    }
}

@media screen and (max-width: 640px) {
    .social a {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 400px) {
    .header-menu .social {
        display: none;
    }

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

    .social a {
        margin-bottom: 10px;
    }
}

/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/

.menu {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    line-height: 1;
    list-style: none;
}

.menu a:hover {
    text-decoration: underline;
}

@media screen and (min-width: 981px) {
    .header-menu {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* ## Primary menu */
    .header-menu .primary-menu {
        width: 100%;
        background-color: #fff;
        box-shadow: 0px 0px 29px 0px rgba(183, 167, 148, 0.2);
        border-radius: 10px;
    }

    .primary-menu>ul>li {
        position: relative;
        display: flex;
        white-space: nowrap;
    }

    .primary-menu a {
        color: #000;
    }

    .primary-menu>ul>li>a {
        position: relative;
        padding: 22px 25px;
        font-weight: 600;
        font-size: 16px;
        color: #000;
    }

    .primary-menu>ul>li:first-child>a:only-child {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .primary-menu>ul>li:first-child:hover>a:not(:only-child) {
        border-top-left-radius: 10px;
    }

    .primary-menu>ul>li:last-child>a:only-child {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .primary-menu>ul>li:last-child:hover>a:not(:only-child) {
        border-top-right-radius: 10px;
    }

    .primary-menu>ul>li:hover>a,
    .primary-menu>ul>.current-menu-item>a {
        background-color: #fde236;
        text-decoration: none;
    }

    .primary-menu li:hover>.sub-menu {
        display: flex;
    }

    .primary-menu li ul {
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 3;
        display: none;
        flex-direction: column;
        margin: 0;
        padding: 12px 0;
        min-width: 250px;
        height: auto;
        list-style: none;
        background-color: #fde236;
        border-radius: 0 0 10px 10px;
    }

    .primary-menu li ul li {
        position: relative;
    }

    .primary-menu li ul a,
    .primary-menu .hide-menu a {
        display: block;
        padding: 8px 30px;
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
    }

    .primary-menu li ul a:hover {
        text-decoration: underline;
    }

    .primary-menu li ul ul {
        top: 0;
        left: 100%;
    }

    /* ## Hide menu */
    .primary-menu .hide-menu {
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: auto;
        cursor: pointer;
    }

    .primary-menu .hide-menu .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        height: 100%;
        border-top-right-radius: 10px;
        transition: 0.3s;
    }

    .primary-menu .hide-menu:hover .burger {
        background-color: #fde236;
    }

    .primary-menu .hide-menu .burger span,
    .primary-menu .hide-menu .burger span:before,
    .primary-menu .hide-menu .burger span:after {
        width: 15px;
        height: 3px;
        background-color: #000;
        border-radius: 2px;
        transition: 0.3s;
    }

    .primary-menu .hide-menu .burger span {
        position: relative;
    }

    .primary-menu .hide-menu .burger span:before,
    .primary-menu .hide-menu .burger span:after {
        content: "";
        position: absolute;
    }

    .primary-menu .hide-menu .burger span:before {
        top: -7px;
    }

    .primary-menu .hide-menu .burger span:after {
        top: 7px;
    }

    .primary-menu .hide-menu ul {
        left: unset;
        right: 0;
    }
}

/* ## Mobile menu */

.mobile-menu-button,
#mobile-menu-toggle {
    display: none;
}

@media screen and (max-width: 980px) {
    .header-menu {
        position: absolute;
        top: 50px;
        right: 0;
    }

    .mobile-menu-button {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        margin-left: 30px;
        width: 60px;
        height: 60px;
        background-color: #ffcf27;
        border-radius: 5px;
        transition: 0.3s;
        cursor: pointer;
    }

    .mobile-menu-button span {
        position: relative;
    }

    .mobile-menu-button span,
    .mobile-menu-button span:before,
    .mobile-menu-button span:after {
        width: 25px;
        height: 2px;
        background-color: #000;
        transition: 0.3s;
    }

    .mobile-menu-button span:before,
    .mobile-menu-button span:after {
        content: "";
        position: absolute;
    }

    .mobile-menu-button span:before {
        top: -8px;
    }

    .mobile-menu-button span:after {
        top: 8px;
    }

    .primary-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding-top: 35px;
        width: 320px;
        font-size: 17px;
        color: #e2e2e2;
        background-color: #303030;
        box-shadow: 0px 0px 29px 0px rgba(104, 136, 209, 0.16);
        transition: -webkit-transform 0.35s ease-out;
        transition: transform 0.35s ease-out;
        transition: transform 0.35s ease-out, -webkit-transform 0.35s ease-out;
        transform: translate3d(-400px, 0, 0);
        overflow-y: scroll;
    }

    .primary-menu ul {
        display: block;
        line-height: 1;
    }

    .primary-menu .top-menu {
        margin-bottom: 0;
    }

    .primary-menu li {
        position: relative;
        border-top: 1px solid #4d4d4d;
    }

    .primary-menu .menu>li:first-child {
        border-top: 0;
    }

    .primary-menu li a {
        display: flex;
        padding: 20px 15px;
        color: #e2e2e2;
    }

    .primary-menu .sub-menu {
        padding: 0;
        list-style: none;
    }

    .top-menu .sub-menu {
        display: none;
    }

    .primary-menu .sub-menu li {
        text-transform: none;
    }

    .primary-menu .sub-menu li a {
        align-items: center;
        padding-left: 40px;
    }

    .primary-menu .sub-menu li a:before {
        content: "";
        flex-shrink: 0;
        margin-right: 10px;
        width: 3px;
        height: 10px;
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFAQMAAAC6v8ThAAAABlBMVEVHcEwAmqjMic0bAAAAAXRSTlMAQObYZgAAABBJREFUeNpjaGA4wPAAiBsAEOoDYca3kSkAAAAASUVORK5CYII=);
        filter: grayscale(100%);
        opacity: 0.8;
        background-position: center;
        background-repeat: no-repeat;
    }

    #mobile-menu-toggle:checked~.primary-menu {
        transform: translate3d(0, 0, 0);
    }

    .primary-menu .cross {
        position: absolute;
        top: 0;
        right: 10px;
        z-index: 100;
        margin-bottom: 5px;
        margin-top: 10px;
        width: 30px;
        height: 30px;
    }

    .primary-menu .cross:before,
    .primary-menu .cross:after {
        height: 30px;
        background-color: #fff;
    }

    body.mobile-menu-active {
        overflow: hidden;
    }

    /* ## Menu toggle */
    .toggle {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 57px;
        background-color: rgba(255, 255, 255, 0.09);
        cursor: pointer;
    }

    .toggle:hover {
        background-color: rgba(255, 255, 255, 0.13);
    }

    .toggle:before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnN2Z2pzPSJodHRwOi8vc3ZnanMuY29tL3N2Z2pzIiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgeD0iMCIgeT0iMCIgdmlld0JveD0iMCAwIDYxMiA2MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGcgaWQ9Il94MzFfMF8zNF8iPgoJCTxnPgoJCQk8cGF0aCBkPSJNNjA0LjUwMSwxMzQuNzgyYy05Ljk5OS0xMC4wNS0yNi4yMjItMTAuMDUtMzYuMjIxLDBMMzA2LjAxNCw0MjIuNTU4TDQzLjcyMSwxMzQuNzgyICAgICBjLTkuOTk5LTEwLjA1LTI2LjIyMy0xMC4wNS0zNi4yMjIsMHMtOS45OTksMjYuMzUsMCwzNi4zOTlsMjc5LjEwMywzMDYuMjQxYzUuMzMxLDUuMzU3LDEyLjQyMiw3LjY1MiwxOS4zODYsNy4yOTYgICAgIGM2Ljk4OCwwLjM1NiwxNC4wNTUtMS45MzksMTkuMzg2LTcuMjk2bDI3OS4xMjgtMzA2LjI2OEM2MTQuNSwxNjEuMTA2LDYxNC41LDE0NC44MzIsNjA0LjUwMSwxMzQuNzgyeiIgZmlsbD0iI2ZmZmZmZiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgc3R5bGU9IiIgY2xhc3M9IiI+PC9wYXRoPgoJCTwvZz4KCTwvZz4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8L2c+PC9zdmc+);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 20px;
        opacity: 0.5;
    }

    .toggle:hover:before {
        opacity: 0.8;
    }

    .primary-menu .sub-menu {
        display: none;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99;
        background: #000;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.35s ease-in;
    }

    .menu-overlay.active {
        visibility: visible;
        opacity: 0.5;
    }
}

@media screen and (max-width: 640px) {
    .header-menu {
        top: 40px;
    }
}

@media screen and (max-width: 400px) {
    .mobile-menu-button {
        width: 50px;
        height: 50px;
    }

    .primary-menu {
        padding-bottom: 20px;
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Front page
--------------------------------------------------------------*/

.content-wrap {
    position: relative;
}

.main-block {
    position: relative;
}

.main-block:not(:last-child) {
    margin-bottom: 70px;
}

.main-block h2 {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 45px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

.main-block h2 span {
    font-size: 26px;
    font-weight: 300;
}

@media screen and (max-width: 640px) {
    .main-block:not(:last-of-type) {
        margin-bottom: 50px;
    }

    .main-block h2 {
        font-size: 24px;
    }
}

/* ### Content */

.item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

a.item {
    color: #000
}

.item-desc {
    font-size: 16px;
    line-height: 1.67;
}

.item-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.item-image img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ## Item meta */

.item-meta {
    display: flex;
    align-items: center;
}

/* ### Item author */

.post-author,
.item-author {
    position: relative;
    display: flex;
    align-items: center;
}

.item-author:not(:only-child) {
    margin-right: 30px;
}

.post-author:before,
.item-author:before {
    content: 'Автор:';
    margin-right: 10px;
    font-size: 14px;
    opacity: .5;
}

.avatar-container {
    --dia: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
    width: var(--dia);
    height: var(--dia);
    border-radius: 50%;
    overflow: hidden;
}

.avatar-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-name {
    --size: 14px;
    display: flex;
    flex-direction: column;
    flex-basis: 180px;
    flex-shrink: 0;
    color: #000;
    font-size: var(--size);
    line-height: 1;
}

.author-name a {
    color: #000;
}

.author-name a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 800px) {
    .post-meta .post-author:before {
        content: none;
    }
}

@media screen and (max-width: 640px) {
    .author-text {
        margin-top: 10px;
    }
}

/* ## Articles list */

.articles-list {
    --minmax: 205px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--minmax), 1fr));
    grid-gap: 30px;
}

.ie .articles-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.articles-list .item {
    position: relative;
    padding: 25px 20px;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #ebf1f4;
    border-radius: 20px;
}

.articles-list .item:hover {
    border-color: #fde236;
    box-shadow: inset 0 0 0 1px #fde236;
}

.articles-list .item-image {
    margin-left: -20px;
    margin-top: -25px;
    margin-bottom: 20px;
    height: 150px;
    width: calc(100% + 40px);
    border-radius: 20px;
}

.articles-list .h8 {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.67;
}

.articles-list .small-green {
    margin-top: 15px;
    font-size: 14px;
    color: #5fa711;
    line-height: 1.4;
}

@media screen and (max-width: 400px) {
    .articles-list .item {
        padding: 0;
        border-color: transparent;
    }

    .articles-list .item:hover {
        border-color: transparent;
    }

    .articles-list .item-image {
        margin-left: 0;
        width: 100%;
    }
}

/* ## Top block */

.top-block.main-block {
    padding-top: 30px;
    padding-bottom: 75px;
}

.categories-top {
    display: grid;
    grid-template-columns: minmax(450px, 600px) repeat(2, minmax(250px, 1fr));
    grid-template-rows: max-content;
    grid-gap: 30px;
    margin-bottom: 30px;
}

.categories-bottom {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: max-content;
    grid-gap: 30px;
}

.top-block:before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    z-index: -2;
    display: block;
    height: 100%;
    width: 100vw;
    background-color: #f1f5f8;
}

.top-block:after {
    content: "";
    position: absolute;
    top: calc(50% - 300px);
    left: calc(50% - 103px);
    z-index: -1;
    width: 271px;
    height: 207px;
    background-image: url(../img/center.png);
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1040px) {
    .categories-top {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .top-block.main-block {
        padding-top: 0;
    }

    .categories-top,
    .categories-bottom {
        grid-template-columns: auto;
    }
}

/* ## Top */

.top-info {
    align-self: center;
}

.top-info h1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    font-size: 46px;
    line-height: 1.2;
}

.top-info h1 span {
    font-size: 32px;
    font-weight: 300;
}

.top-info .text {
    font-size: 16px;
    line-height: 1.56;
}

@media screen and (max-width: 1040px) {
    .top-info {
        grid-column: span 2;
    }
}

@media screen and (max-width: 640px) {
    .top-info {
        grid-column: unset;
    }

    .top-info h1 {
        font-size: 32px;
    }

    .top-info h1 span {
        font-size: 26px;
    }
}

/* ## Categories */

.categories [class^="cat-"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    min-height: 250px;
    color: #1d2e4b;
    line-height: 1.4;
    background-color: #fff;
    background-repeat: no-repeat;
    border-width: 1px;
    border-style: solid;
    border-color: #ebf1f4;
    border-radius: 30px;
    transition: .3s;
}

.categories [class^="cat-"]:hover {
    border-color: #fde236;
    box-shadow: inset 0 0 0 1px #fde236;
}

.categories .cat-1 {
    background-image: url(../img/cat-1.png);
    background-position: bottom right -15px;
}

.categories .cat-2 {
    background-image: url(../img/cat-2.png);
    background-position: bottom right;
}

.categories .cat-3 {
    grid-column: span 5;
    grid-row-end: span 2;
    background-image: url(../img/cat-3.png);
    background-position: top right;
}

.categories .cat-4 {
    grid-column: span 3;
    background-image: url(../img/cat-4.png);
    background-position: bottom right;
}

.categories .cat-5 {
    grid-column: span 3;
    background-image: url(../img/cat-5.png);
    background-position: bottom right;
}

.categories .cat-6 {
    grid-column: span 3;
    background-image: url(../img/cat-6.png);
    background-position: bottom right;
}

.categories .cat-7 {
    grid-column: span 4;
    background-image: url(../img/cat-7.png);
    background-position: bottom right;
}

.categories .cat-8 {
    grid-column: span 5;
    background-image: url(../img/cat-8.png);
    background-position: bottom right;
}

.categories [class^="cat-"] .text {
    margin-top: 15px;
    max-width: 170px;
    font-size: 14px;
}

.categories .cat-2 .text {
    max-width: 190px;
}

.categories .cat-3 .text {
    max-width: 310px;
}

.categories .articles-column {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.categories .articles-column a {
    position: relative;
    padding-left: 25px;
    font-size: 16px;
}

.categories .articles-column a:not(:last-of-type) {
    margin-bottom: 13px;
}

.categories .articles-column a:hover {
    text-decoration: underline;
}

.categories .articles-column a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid #a7d164;
    border-radius: 50%;
}

.categories .more {
    margin-top: 30px;
    padding: 10px 25px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    background-color: #fde236;
    border-radius: 10px;
}

@media screen and (max-width: 1040px) {
    .categories .cat-3 {
        grid-column: span 6;
    }

    .categories .cat-4 {
        grid-column: span 4;
    }

    .categories .cat-5 {
        grid-column: span 4;
    }

    .categories .cat-6 {
        grid-column: span 4;
    }

    .categories .cat-7 {
        grid-column: span 4;
    }

    .categories .cat-8 {
        grid-column: span 8;
    }
}

@media screen and (max-width: 800px) {
    .categories .cat-3 {
        grid-column: span 8;
    }

    .categories .cat-4 {
        grid-column: span 6;
    }

    .categories .cat-5 {
        grid-column: span 6;
    }

    .categories .cat-6 {
        grid-column: span 7;
    }

    .categories .cat-7 {
        grid-column: span 7;
    }

    .categories .cat-8 {
        grid-column: span 14;
    }
}

@media screen and (max-width: 640px) {
    .categories [class^="cat-"] {
        grid-column: unset;
    }
}

@media screen and (max-width: 400px) {
    .categories [class^="cat-"] {
        background-position: bottom right -40px;
    }

    .categories .cat-3 {
        background-position: top right -40px;
    }

    .categories [class^="cat-"] .h3 {
        font-size: 20px;
    }
}

/* ## Tips */

.gardener-tips-list {
    display: grid;
    grid-template-columns: minmax(450px, 650px) repeat(2, minmax(210px, 1fr));
    grid-gap: 40px;
}

.gardener-tips-list .item.big .item-image {
    margin-bottom: 30px;
    width: 100%;
	max-height: 400px;
    border-radius: 30px;
}

.gardener-tips-list .h2 {
    margin-bottom: 20px;
    font-size: 30px;
}

.gardener-tips-list .item.big .item-meta {
    margin-bottom: 20px;
}

.items-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.gardener-tips-list .items-wrap .item:first-child {
    margin-bottom: 40px;
}

.gardener-tips-list .items-wrap:first-of-type .item:last-child,
.gardener-tips-list .items-wrap:last-of-type .item:first-child {
    height: 100%;
}

.gardener-tips-list .item.small {
    padding: 30px;
    border-width: 1px;
    border-style: solid;
    border-color: #eeede9;
    border-radius: 30px;
}

.gardener-tips-list .item.small:hover {
    border-color: #fde236;
    box-shadow: inset 0 0 0 1px #fde236;
}

.gardener-tips-list .item.small .item-meta {
    margin-top: 10px;
}

.gardener-tips-list .item.small .item-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: auto;
}

.gardener-tips-list .item.small .h6 {
    margin-top: 20px;
}

.gardener-tips-list .item-expert {
    position: relative;
    display: flex;
    align-items: center;
}

.gardener-tips-list .item-expert>span {
    font-size: 12px;
    font-weight: 600;
    color: #68bd18;
}

.gardener-tips-list .item-expert:before {
    content: '';
    flex-shrink: 0;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    background-image: url(../img/expert.png);
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 980px) {
    .gardener-tips-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .items-wrap {
        flex-direction: row;
    }

    .gardener-tips-list .item.small {
        flex: 1;
    }

    .gardener-tips-list .items-wrap .item:first-child {
        margin-bottom: 0;
        margin-right: 40px;
    }
}

@media screen and (max-width: 540px) {
    .items-wrap {
        flex-direction: column;
    }

    .gardener-tips-list .items-wrap .item:first-child {
        margin-bottom: 30px;
        margin-right: 0;
    }

    .gardener-tips-list .item.big .item-meta {
        flex-wrap: wrap;
    }

    .gardener-tips-list .item-expert {
        margin-top: 15px;
    }
}

/* ## Blocks */

.blocks.main-block {
    display: flex;
    justify-content: space-between;
    margin-left: -60px;
    margin-right: -60px;
    padding: 50px 60px;
    min-height: 400px;
    background-image: -moz-linear-gradient(90deg, rgb(241, 245, 248) 0%, rgb(246, 246, 245) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(241, 245, 248) 0%, rgb(246, 246, 245) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(241, 245, 248) 0%, rgb(246, 246, 245) 100%);
    border-radius: 40px;
}

.blocks>picture {
    position: absolute;
    bottom: 0;
    left: calc(50% - 224px + 50px);
    z-index: 2;
    display: flex;
}

@media screen and (max-width: 1140px) {
    .blocks>picture {
        z-index: 1;
    }
}

@media screen and (max-width: 800px) {
    .blocks.main-block {
        flex-direction: column;
    }

    .blocks>picture {
        left: unset;
        right: -60px;
    }
}

@media screen and (max-width: 640px) {
    .blocks>picture {
        display: none;
    }
}

/* ### Actual */

.blocks .actual {
    position: relative;
    z-index: 3;
    max-width: 450px;
}

.blocks .actual h2 {
    margin-bottom: 30px;
    font-size: 26px;
}

.actual .articles-small {
    display: flex;
    flex-direction: column;
    margin-left: -20px;
}

.actual .articles-small .item {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-radius: 10px;
}

.actual .articles-small .item:hover {
    background-color: #fff;
}

.actual .articles-small .item:not(:last-child) {
    margin-bottom: 10px;
}

.actual .articles-small .h7 {
    line-height: 1.56;
}

.actual .articles-small .item-image {
    margin-bottom: 0;
    margin-left: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

@media screen and (max-width: 800px) {
    .blocks .actual {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 640px) {
    .actual .articles-small {
        margin-left: 0;
    }

    .actual .articles-small .item {
        flex-direction: column;
        align-items: flex-start;
    }

    .actual .articles-small .item-image {
        margin-bottom: 20px;
        margin-left: 0;
        width: 100px;
        height: 100px;
    }
}

/* ### Advices */

.right.advice {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 50px 40px;
    max-width: 380px;
    min-width: 350px;
    background-color: #fff;
    border-radius: 30px;
}

.advice h2 {
    position: relative;
    margin-bottom: 30px;
    font-size: 26px;
    color: #215684;
}

.advice h2:after {
    content: '';
    position: absolute;
    right: 0;
    top: calc(50% - 31px);
    margin-left: 20px;
    width: 62px;
    height: 62px;
    background-image: url(../img/advice.png);
    background-position: center;
    background-repeat: no-repeat;
}

.advice .text {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.56;
    text-align: center;
}

.advice .button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    color: #215684;
    cursor: pointer;
}

.advice .button-next:before {
    content: '';
    margin-right: 10px;
    width: 24px;
    height: 24px;
    background-image: url(../img/more.png);
    background-position: center;
    background-repeat: no-repeat;
    transition: .3s;
}

.advice .button-next:hover:before {
    transform: scale(1.2);
}

@media screen and (max-width: 640px) {
    .right.advice {
        max-width: 100%;
    }
}

/* ## Tabs */

.tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 50px;
    padding-bottom: 30px;
    padding-right: 220px;
    line-height: 1;
    border-bottom: 1px solid #ebf1f4;
}

.tab-item-wrap {
    display: flex;
    align-items: center;
}

.tab-item-wrap:not(:last-of-type) {
    margin-right: 40px;
}

.tab-item {
    position: relative;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s;
}

.tab-item:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #8fc825;
    opacity: 0;
    transition: .2s;
}

.tab-item.active:after,
.tab-item:hover:after {
    opacity: 1;
}

.tab-item~.all {
    position: absolute;
    right: 0;
    display: none;
    font-size: 14px;
}

.tab-item.active~.all {
    display: block;
}

.tab-item~.all:hover {
    text-decoration: underline;
}

.tab-content {
    display: none
}

.tab-content.active {
    display: block
}

@media screen and (max-width: 980px) {
    .tabs {
        overflow-x: auto;
        white-space: nowrap
    }

    .tab-item:after {
        content: none
    }

    .tab-item.active,
    .tab-item:hover {
        color: #8fc825;
    }

    .tab-item.active~.all {
        display: none;
    }
}

/* ## About */

.about h2 {
    margin-bottom: 35px;
    font-weight: 700;
}

.about .text {
    font-size: 16px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 45px;
    padding-bottom: 50px;
    margin-top: 80px;
}

.site-footer:after {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    z-index: -1;
    display: block;
    height: 100%;
    width: 100vw;
    background-image: -moz-linear-gradient(90deg, rgb(241, 245, 248) 0%, rgb(246, 246, 245) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(241, 245, 248) 0%, rgb(246, 246, 245) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(241, 245, 248) 0%, rgb(246, 246, 245) 100%);
}

.site-footer>div {
    position: relative;
    z-index: 1;
}

.site-footer>div:not(:last-child) {
    margin-right: 45px;
}

.site-footer>div:first-child {
    flex: 1.1;
}

.site-footer .logo .h1 {
    font-size: 20px;
}

.site-footer .logo picture {
    display: flex;
    margin-right: 20px;
}

.copyright {
    margin-top: 30px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.7;
}

@media screen and (max-width: 1140px) {
    .site-footer {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 980px) {
    .site-footer {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .site-footer>div:not(:last-child) {
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
    }

    .site-footer .logo {
        justify-content: center;
        text-align: left;
    }

    .site-footer .logo .h1 {
        font-size: 18px;
    }
}

/* ## Footer small menu */

.small-menu {
    flex: 1;
}

.small-menu .menu {
    flex-direction: column;
    align-items: flex-start;
}

.small-menu a {
    position: relative;
    display: block;
    padding: 6px 10px 7px 25px;
    font-size: 14px;
    color: #215684;
    line-height: 1;
}

.small-menu a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid #a7d164;
    border-radius: 50%;
}

.small-menu a:hover {
    text-decoration: underline;
}

.small-menu .sub-menu {
    display: none
}

@media screen and (max-width: 980px) {
    .small-menu .menu {
        justify-content: center;
        align-items: center;
        margin-left: 0;
    }

    .small-menu {
        text-align: center;
        width: 100%;
    }
}

/* ## Column */

.site-footer>div:nth-child(3) {
    flex: 1.4;
}

.site-footer .social {
    margin-bottom: 20px;
}

.site-footer .social:after {
    content: 'Присоединяйтесь в социальных сетях';
    margin-left: 15px;
    max-width: 120px;
    font-size: 12px;
    line-height: 1.4;
    opacity: .5;
}

@media screen and (max-width: 980px) {
    .site-footer .social {
        justify-content: center;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 640px) {
    .site-footer .social:after {
        content: none;
    }
}

/* ## Last column */

.site-footer>div:last-of-type {
    position: relative;
    flex: 1;
    padding-left: 20px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.67;
}

.footer-info:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 11px;
    height: 11px;
    background-image: url(../img/star.png);
    background-position: center;
    background-repeat: no-repeat;
}


@media screen and (max-width: 640px) {
    .site-footer>div:last-of-type {
        padding-left: 0;
    }

    .footer-info:before {
        content: none;
    }
}

/* ## Scroll to top */

#scroll-button {
    position: fixed;
    right: 25px;
    bottom: 40px;
    z-index: 1099;
    display: flex;
    flex-direction: column;
    width: 35px;
    text-align: center;
}

#scroll-button_up,
#scroll-button_down {
    margin-top: 5px;
    margin-bottom: 5px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
}

#scroll-button_up svg,
#scroll-button_down svg {
    display: block;
    margin: auto;
    width: 14px;
    height: 16px;
}

#scroll-button_up:hover,
#scroll-button_down:hover {
    opacity: 1;
}

#scroll-button_middle {
    font-size: 10px;
    font-weight: 700;
    opacity: 0.5;
}

@media screen and (max-width: 800px) {
    #scroll-button {
        display: none;
    }
}