@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

/* varibles */

:root {
    --ff-jost: 'Jost', sans-serif;
    --color-white: #fff;
    --color-black: #000;
    --color-primary: #F2E8CF;
    --color-dark-grey: #222831;
    --color-l-grey: #393E46;
    --color-orange: #FD7013;
    --color-blue: #1F375B;
    --color-l-blue: #1386E9;
    --color-green: #386641;
    --color-l-green: #A7C957;
    --color-red: #BC4749;

    --bg-dark-grey: #222831;
    --bg-blue: #1F375B;
    --bg-l-blue: #1386E9;
    --bg-white: #fff;
    --bg-primary: #F2E8CF;
    --bg-green: #386641;
    --bg-l-green: #A7C957;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.btn {
    border: none;
    background: transparent;
    cursor: pointer;
}

body {
    font-family: var(--ff-jost);
    font-weight: 400;
    font-size: 18px;
    color: var(--color-black);
    min-width: 320px;
    background-color: var(--bg-primary);
}

.skroll {
    overflow-y: hidden;
}

.burger {
    display: none;
}

article a {
    color: var(--color-red);
    text-decoration: none;
}

h1 {
    font-weight: 700;
    font-size: 42px;
    line-height: 64px;
    text-align: center;
    color: var(--color-red);
    word-wrap: break-word;
    margin: 50px 0;

}

h2 {
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    text-align: center;
    color: var(--color-red);
    margin: 40px 0;
}

h3 {
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    color: var(--color-red);
    margin: 40px 0;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-dark-grey);
    text-indent: 20px;
    margin-bottom: 20px;
}

/* main-style */
.wrapper {
    display: flex;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto;

}



/* header */

.header {
    height: 64px;
}

.header-content {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    padding: 10px 10px;
    background: var(--bg-dark-grey);
}

.burger {
    display: none;
}

.header__wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    max-width: 200px;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-white);
}


.menu-list {
    display: flex;
    gap: 30px;

}

.menu-list li,
.menu-list li a {
    font-size: 16px;
    color: var(--color-white);
}


.header-block {
    display: flex;
    gap: 20px;
}

.header-btn {
    background: var(--bg-l-green);
    border-radius: 12px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-dark-grey);
}

.btn-one {
    background: transparent;
    border: 2px solid var(--color-l-green);
    color: var(--color-l-green);
}

.header-btn:first-child {
    width: 80px;
}

.header-btn:last-child {
    width: 150px;
}


/* end header */

.header {
    padding-top: 50px;
}

main {
    max-width: 1040px;
    background: var(--bg-primary);
}

.ankor-list {
    display: none;
}


.aside-logo.logo {
    margin-bottom: 50px;
}

.aside-header button:first-of-type {
    margin-bottom: 20px;
}

.aside-list {
    width: 350px;
    margin: 0 auto;
}

.aside-link {
    font-weight: 400;
    line-height: 46px;
    color: var(--color-white);
}


article {
    padding: 30px 0 50px;
    background-color: var(--bg-primary);
}

.ankor-list ul {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    list-style: none;
    margin: 30px 0 30px 20px;
}

article ul {
    color: var(--color-dark-grey);
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    margin: 30px 0 30px 20px;
    list-style: none;
}

article ul li::before {
    content: "\2022";
    color: var(--color-red);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.ankor-list li::before {
    display: none;
}

article ol {
    color: var(--color-dark-grey);
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    list-style: none;
    counter-reset: li;
    margin: 30px 0 30px 20px;
}

article ol li {
    counter-increment: li;
}

article ol li::before {
    content: counter(li);
    color: var(--color-red);
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
    margin-right: 0.5em;
    text-align: right;
    direction: rtl;
}


article img {
    margin: 0 auto 30px;
    border-radius: 22px;
}

.number {
    justify-self: center;
}

.textEnd {
    justify-self: flex-end;
    text-align: right;
}

footer {
    padding: 26px 10px;
}

.footer_copyright {
    text-align: center;
    text-indent: 0;
    margin-bottom: 0;
    color: var(--color-black);
}


@media(max-width:1050px) {
    .aside-wrapper{
        padding-left: 40px;
    }
}

@media(max-width:980px) {
    .aside {
        display: none;
    }

    .header {
        padding: 50px 35px 0;
    }


    .ankor-list {
        display: block;
    }

    .header-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .header-logo.logo {
        margin-bottom: 10px;
    }

    ul.ankor-list  {
        font-weight: 400;
        font-size: 18px;
        line-height: 34px;
        list-style: none;
        margin: 30px 0 30px 20px;
    }

    a.ankor-link {
        color: var(--color-black);
    }



}

@media(max-width:850px) {

    .menu-list li,
    .menu-list li a {
        color: var(--color-white);
    }

    .burger {
        display: block;
        width: 30px;
        height: 30px;
        background-repeat: no-repeat;
        background-position: top center;
        position: relative;
        z-index: 4;
        transition: 0.3s linear;
    }


    .burger.active {
        background-position: center;
    }
}

@media(max-width:768px) {

    h1 {
        width: 98%;
        font-size: 38px;
        line-height: 48px;
        margin: 30px auto;
        word-break: break-word;
    }

    h2 {
        font-size: 34px;
        line-height: 34px;
        margin: 30px 0;
    }

    h3 {
        font-size: 30px;
        line-height: 34px;
        margin: 30px 0;
    }

    .header {
        padding: 50px 25px 0;
    }

    .three-colums,
    .two-colums {
        padding: 20px 0;
    }

    .four-colums {
        padding: 20px 0 0;
        grid-template: min-content 1px min-content/repeat(2, 1fr);
        gap: 40px 0;
    }

    .four-colums .tx-right {
        justify-self: right;
    }

    .four-colums .tx-left {
        justify-self: left;
    }



}

@media(max-width:590px) {

    .header {
        padding: 50px 14px 0;
    }

    article {
        padding: 70px 14px 50px 14px;
    }
}

@media(max-width:450px) {

    .header {
        height: 221px;
    }

    .header__wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        top: 221px;
    }

    .header-content {
        padding: 30px 10px;
    }

    .burger {
        position: absolute;
        top: 30px;
        left: 30px;
    }

    .header-block {
        flex-direction: column;
        align-items: center;
    }

    .header-block .header-btn {
        width: 250px;
    }

    table {
        font-size: 14px;
        line-height: 20px;
    }
}
table {
    margin: 30px 0;
    width: 100%;
}
td, th {
    word-break: break-all;
    text-align: center;
    padding: 5px;
    border: 1px solid var(--color-red);
}
