@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/*   font-family: "Roboto", sans-serif; */

/* general */
html {
    height: 100%;
}

body {
    position: relative;
    font-family: "Roboto", sans-serif;
    background: #ffffff;
    color: #111111;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Header */
.header-block {
    padding: 20px;
}

.header-block__layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.return {
    display: block;
    border: none;
    outline: 0;
    background: none;
    border: 2px solid #111;
    padding: 0;
    position: relative;
    font-size: 24px;
    line-height: 28px;
    border-radius: 30px;
    z-index: 0;
    width: 36px;
    height: 36px;
    margin-right: 25px;
    text-indent: -1000px;
    overflow: hidden;
    cursor: pointer;
}

.return::before {
    display: block;
    content: '';
    background: url(../images/rightarrow.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    z-index: 9;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    filter: brightness(0.15);
    transform: rotateZ(180deg);
}

/* General */
.general-block {
    padding: 30px 20px;
}

.general-block__top {
    margin-bottom: 30px;
}

.general-title {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.general-subtitle {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: #020101B8;
    margin-bottom: 20px;
}

.general-middle__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    grid-gap: 10px;
    margin-bottom: 20px;
}

.general-middle__item {
    cursor: pointer;
    position: relative;
    font-size: 24px;
    line-height: 28px;
    background: #F5A623;
    border-radius: 30px;
    min-height: 90px;
    z-index: 0;
}

.general-middle__item::after {
    content: '';
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.general-middle__item::before {
    content: '';
    width: 34px;
    height: 36px;
    background-image: url(../images/rightarrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    z-index: 9;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    pointer-events: none;
}

.general-middle__item:nth-child(1)::after {
    background-color: #E75C08;
}

.general-middle__item:nth-child(2)::after {
    background-color: #080DE7;
}

.general-middle__item:nth-child(3)::after {
    background-color: #E70808;
}

.general-middle__item:nth-child(4)::after {
    background-color: #08E71E;
}

.general-middle__item a {
    width: 100%;
    height: 100%;
    padding: 10px 80px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* pointer-events: none; */
}

.general-middle__item.link a {
    pointer-events: all;
}

.general-middle__img {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto 20px;
}

.general-block__info {
    margin-bottom: 30px;
}

.general-block__info h3 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.general-block__info p {
    margin-bottom: 30px;
}

/* Footer */

.footer-block {
    background: #F7F8FF;
    padding: 30px 20px;
}

.footer-nav__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-nav__item {
    border-bottom: 3px solid transparent;
    padding: 10px 20px;
    transition: .3s;
}

.footer-nav__item:hover {
    border-bottom: 3px solid #020101B8;
}

.footer-text {
    text-align: center;
}

/* Popup */

.popup-block {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.popup-block__layout {
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 20px;
}

.popup-block__content {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info page */
.page-info {
    display: none;
}

.page-info__layout {
    background: #ffffff;
    overflow-y: auto;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-info__section {
    margin-bottom: 20px;
    flex: 1 0 auto;
}

.page-info__section {
    padding: 20px 20px;
}

.page-info__block {
    border: 1px solid #e3e3e3;
    padding: 20px;
    box-shadow: 0 2px 2px #ECECEC;
}

.page-info__block h2 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.page-info__block p {
    margin-bottom: 30px;
}

#page-imprint .page-info__block p {
    max-width: 250px;
    width: 100%;
}

.page-info__block ul {
    list-style-type: disc;
    padding-left: 20px;
}

.page-info__block ol {
    list-style-type: decimal;
    padding-left: 20px;
}

.page-info__block li {
    margin-bottom: 10px;
}

.page-info__block a {
    display: inline-block;
    color: #d1d2d4;
}

.page-info__block figure {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}



@media (max-width: 1024px) {
    .footer-nav__list {
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .general-middle__item {
        font-size: 20px;
        line-height: 24px;
    }

    .general-middle__item::after {
        width: 44px;
        height: 44px;
    }

    .general-middle__list {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

    .page-info__block {
        border: none;
        padding: 0;
        box-shadow: none;
    }
}

@media (max-width: 500px) {
    .header-block {
        padding: 10px 20px;
    }

    .general-block {
        padding: 20px;
    }

    .header-block__layout {
        justify-content: center;
        padding: 0 50px;
    }

    .return {
        position: absolute;
        top: 23px;
        left: 20px;
    }

    .general-middle__item {
        font-size: 20px;
        line-height: 24px;
    }

    .general-middle__item::after {
        width: 44px;
        height: 44px;
    }

    .general-middle__list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .footer-nav__item {
        font-size: 14px;
        line-height: 18px;
    }

    .general-middle__item::before {
        width: 25px;
        height: 30px;
    }
}