body, html {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    background-color: #fff;
    color: #202020;
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

header {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 40px;
}

header img {
    width: 112px;
    height: 36px;
}

body {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
}

.title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #000;
}

.title2 {
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
    color: #000;
}

.red {
    color: #cd1719;
    font-weight: 600;
}

main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 24px;
}

    main > div {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-left: 16px;
        padding-right: 16px;
        max-width: 854px;
        margin: 0 auto;
    }

.btn-primary {
    background-color: #cd1719;
    border: 1px solid #cd1719;
    border-radius: 4px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #fff;
    padding: 12px 0;
    text-align: center;
    display: inline-block;
    width: 308px;
    margin: 0 auto;
    text-decoration: none;
}

.btn-secondary {
    border: 1px solid #cd1719;
    border-radius: 4px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #cd1719;
    padding: 12px 0;
    text-align: center;
    display: inline-block;
    width: 308px;
    margin: 0 auto;
    text-decoration: none;
}

footer {
    background-color: #f7f7f7;
}

    footer .container {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

        footer .container .f-kytary {
            font-size: 12px;
            line-height: 18px;
            display: flex;
            flex-direction: column;
            gap: 24px;
            align-items: center;
        }

        footer .container .f-cont {
            width: 200px;
            height: 40px;
            position: relative;
        }

            footer .container .f-cont div {
                font-size: 16px;
                line-height: 28px;
                position: absolute;
                bottom: 0;
                right: 0;
                display: inline-flex;
                flex-direction: column;
                background-color: #fff;
                border: 1px solid #c5c5c5;
                border-radius: 4px;
                padding: 6px 10px;
                gap: 8px;
                width: 178px;
            }

                footer .container .f-cont div a {
                    display: none;
                    text-decoration: none;
                    padding-left: 32px;
                    padding-right: 21px;
                    background-repeat: no-repeat;
                    background-position: left center;
                    background-size: 24px 24px;
                    color: #7e7e7e;
                    text-align: left;
                }

                    footer .container .f-cont div a:hover {
                        text-decoration: underline;
                    }

                footer .container .f-cont div.expanded a {
                    display: block;
                }

                footer .container .f-cont div a:last-of-type {
                    position: relative;
                    display: inline-block;
                    text-decoration: none;
                    color: #000;
                }
                    footer .container .f-cont div a:last-of-type::after {
                        position: absolute;
                        top: calc(50% - 7px);
                        right: 0;
                        display: inline-block;
                        width: 10px;
                        height: 10px;
                        border-right: 2px solid #cd1719;
                        border-bottom: 2px solid #cd1719;
                        transform: rotate(45deg);
                        content: "";
                    }

                footer .container .f-cont div.expanded a:last-of-type::after {
                    top: calc(50% - 2px);
                    transform: rotate(-135deg);
                }

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1340px;
    }
}
            
@media (min-width: 992px) {
    header {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    header img {
        width: 218px;
        height: 70px;
    }

    .title {
        font-size: 24px;
        line-height: 32px;
    }

    .title2 {
        font-size: 20px;
        line-height: 28px;
    }

    main {
        gap: 24px;
    }

        main > div {
            gap: 16px;
        }

    footer .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

        footer .container .f-kytary {
            flex-direction: row;
            align-items: center;
        }

            footer .container .f-kytary span {
                margin-top: 10px;
            }
}
