@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@400;500;600;700&display=swap');
:root {
    --ff-yanone-kaffeesatz: 'Yanone Kaffeesatz', sans-serif;

    /* color */
    --color-violet: #A00DFA;
    --color-primary: #FFFFFF;
    --color-black: #000000;
    --color-link: #323D4F;

    /* bg-color */
    --bg-primary: #FFFFFF;
    --bg-black: #000000;
    --bg-dark: #3c133b;
    --bg-mobile: #323D4F;
}

/* default style */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

ol {
    margin-top: 20px;
    padding-left: 50px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    margin: auto;
    border-radius: 30px;
}

button {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}

.hidden {
    overflow-y: hidden;
}

h1 {
    font-weight: 700;
    font-size: 44px;
    line-height: 64px;
    margin: 50px 0;
    text-align: center;
}

h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 34px;
    text-align: center;
    margin: 40px 0;
}

h3 {
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    margin: 40px 0;
    text-align: center;
}

p {
    margin-bottom: 10px;
    text-indent: 20px;
    font-size: 18px;
    line-height: 34px;
}

h2+p {
    margin-bottom: 0;
}

picture+p {
    margin-top: 30px;
}

p>a {
    color: var(--color-link);
    text-decoration: underline;
}

/* main style */
body {
    font-family: var(--ff-yanone-kaffeesatz);
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    color: var(--color-primary);
    background-color: var(--bg-dark);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
}

/* header */

.header {
    background: url(../img/header-bg.jpg) no-repeat center;
    background-size: cover;
}

.header__top {
    padding: 15px 0;
}

.header__top-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.burger-menu {
    display: none;
}

.header__logo {
    display: block;
    width: 74px;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    color: var(--color-primary);
    cursor: pointer;
}

.menu {
    display: flex;
    gap: 29px;
    margin: 0;
}

.menu__link {
    font-size: 18px;
    line-height: 24px;
}

.header__block {
    width: 253px;
    display: flex;
    justify-content: space-between;
}

.header__block button:first-child {
    border: 1px solid var(--color-primary);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 10px;
    width: 82px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    padding: 10px 0;
    color: var(--bg-primary)
}

.header__block button:last-child {
    background: var(--bg-primary);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 10px;
    width: 151px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-black);
    padding: 10px 0;
}

.header__bottom {
    background-image: url(../img/star-left.png), url(../img/star-right.png), url(../img/line.png);
    background-repeat: no-repeat;
    background-position: left 10px top 105px, right 32px top 69px, right 0 bottom 29px;
}

.header__bottom-wrapper {
    padding: 30px 0 0px;
}

.header__bottom-wrapper li {
    font-size: 18px;
    line-height: 40px;
}

/* end header */

.article {
    padding: 0px 0 10px;
}

.article ul {
    list-style-type: disc;
    padding-left: 40px;

}

.article li {
    font-size: 18px;
    line-height: 34px;
}

/* table */

.table {
    max-width: 1040px;
    width: 100%;
    margin: 50px auto 0;
    border-collapse: collapse;
    border-spacing: 0px;
}

.table:not(:last-child) {
    margin-bottom: 50px;
}

tbody tr {
    border-top: 1px solid var(--color-primary);
    display: grid;
    grid-template: auto/repeat(4, 1fr);
    align-items: center;
}

.table-snd tbody tr {
    grid-template: auto/repeat(3, 1fr);
}

.table-ls tbody tr {
    grid-template: auto/repeat(2, 1fr);
}

tbody tr:last-child {
    border-bottom: 1px solid var(--color-primary);

}

tbody td {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    padding: 20px;
    text-align: center;
}

tbody td:first-child {
    text-align: left;
}

tbody td:last-child {
    text-align: right;
}

/* end table */

.footer {
    padding: 40px 0;
}

.footer>p {
    margin-bottom: 0;
    text-align: center;
    font-size: 18px;
    line-height: 28px;
    text-indent: 0;
}

@media(max-width:1250px) {
    .container {
        padding: 0 14px;
    }

    .article ul,
    .article ol {

        padding-bottom: 20px;
    }
}

@media(max-width:1100px) {
    .header__bottom {
        background-image: url(../img/line.png);
        background-repeat: no-repeat;
        background-position: right 0 bottom 29px;
    }
}

@media(max-width:768px) {
    .header {
        background: transparent;
    }

    .header__top {
        display: flex;
        align-items: center;
    }

    .header__top-wrapper {
        flex: 1;
    }

    .header__bottom {
        background: transparent;
    }

    .burger-menu {
        display: block;
        position: relative;
        z-index: 5;
        width: 30px;
        height: 30px;
        background: url(../img/burger.svg) no-repeat center;
        margin: 0 15px 0 30px;
        transition: 0.3s linear;
        transform: rotate(0deg);
    }

    .burger-menu.active {
        background: url(../img/close.svg) no-repeat center;
        transform: rotate(180deg);
    }

    .nav {
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: var(--bg-mobile);
        padding: 180px 0 0 30px;
        overflow-x: hidden;
        transform: translateX(-100%);
        transition: 0.3s linear;
    }

    .nav.active {
        transform: translateX(0);
        right: 30%;
    }

    .menu {
        flex-direction: column;
    }

    .menu__link {
        color: white;
    }


    h1 {
        font-size: 35px;
        line-height: 55px;
    }


    .table-fs tbody tr {
        grid-template: auto/repeat(2, 1fr);
    }

    .table-fs tbody tr td:nth-child(odd) {
        text-align: left;
    }

    .table-fs tbody tr td:nth-child(even) {
        text-align: right;
    }
}

@media(max-width:590px) {
    h1 {
        font-size: 32px;
        line-height: 50px;
    }

    tbody td {
        padding: 20px 0;
    }
}

@media(max-width:450px) {
    .header {
        padding: 30px 0;
    }

    .header__top-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .header__bottom-wrapper {
        padding: 0px 0 0px;
    }

    .header__block {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .burger-menu {
        position: absolute;
        z-index: 5;
        top: 30px;
        left: 30px;
        margin: 0;
    }

    .header__block button:first-child {
        width: 250px;
    }

    .header__block button:last-child {
        width: 250px;
    }

    h1 {
        margin: 30px 0;
        word-wrap: break-word;
        word-break: break-all;
    }

    h2 {
        font-size: 30px;
        line-height: 40px;
        margin: 30px 0;
    }

    h3 {
        font-size: 28px;
        line-height: 34px;
        margin: 30px 0;
    }

    p {
        text-indent: 0px;
    }

    .table-fs {
        margin-top: 73px;
    }

    tbody td {
        font-size: 14px;
        line-height: 16px;
    }
}

@media(max-width:390px) {
    h1 {
        font-size: 23px;
        line-height: 30px;
        padding-top: 30px;
    }

    tbody td {
        font-size: 12px;
    }

    footer p span {
        display: block;
    }
}