@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* varibles */

:root {
    --color-white: #fff;
    --color-black: #372222;
    --color-green: #324B4E;
    --color-l-grey: #F4F5F9;
    --color-pink: #b17a21;
    --color-grey: #22242F;

    --bg-grey:#22242F;
    --bg-pink:#b17a21;
    --bg-black: #372222;

}

* {
    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;

}

/* .promo {
    background: var(--color-l-grey);
    background-image: url(../img/promo_bg.png);
    background-repeat: no-repeat;
    background-position: center;
} */

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--color-white);
    min-width: 320px;
    background-color: var(--bg-black);
}

.hiden{
    overflow-y: hidden;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
}

header{
    height: 64px;
}


.burger{
    display: none;
}

.header-fixed{
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: var(--bg-black);
}

.header__wrapper {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-list{
    display: flex;
    gap: 30px;

}

.menu-list li a {
    font-size: 16px;
}


.header-block {
    display: flex;
    gap: 20px;
}

.header-btn {
    background: var(--bg-pink);
    border-radius: 8px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-white);
}

.header-btn:first-child {
    width: 80px;
}

.header-btn:last-child {
    width: 148px;
}

.hero {
    background: url(../img/vector_right.png) no-repeat right center;
    background-size: contain;
}

.hero__wrapper {
    padding: 30px 0 0 0;
}

.hero-img {
    display: flex;
    justify-content: center;
}

.hero h1 {
    max-width: 1240px;
    margin: 50px auto;
    text-align: center;
}


.hero-list li a {
    font-weight: 400;
    font-size: 18px;
    line-height: 40px;
    color: var(--color-white);
}

article a {
    color: var(--color-pink);
}

.wrapper {
    background: url(../img/vector_left.png) no-repeat left center;
    background-size: auto;
}


h1 {
    font-weight: 700;
    font-size: 44px;
    line-height: 64px;
    text-align: left;
    color: var(--color-white);
    word-wrap: break-word;
    margin: 50px 0;

}

h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 34px;
    color: var(--color-pink);
    margin: 40px 0;
    text-align: center;
}

h3 {
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    color: var(--color-pink);
    margin: 40px 0;
    text-align: center;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-white);
    text-indent: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.content {
    padding: 0px 0 10px 0;

}

.content ul {
    font-weight: 400;
    font-size: 16px;
    line-height: 34px;
    color: var(--color-white);
    margin: 30px 30px 30px 60px;
    list-style-type: none;
}

.content ul li::before {
    content: "\2022";
    color: var(--color-pink);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.content ol {
    font-weight: 400;
    font-size: 16px;
    line-height: 34px;
    color: var(--color-white);
    margin: 30px 30px 30px 60px;
    list-style-type: none;
    counter-reset: li;
}

.content ol li {
    counter-increment: li
}

.content ol li::before {
    content: counter(li);
    color: var(--color-pink);
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
    margin-right: 0.5em;
    text-align: right;
    direction: rtl
}


.content img {
    display: block;
    margin: 30px auto;
}

/* table */

table {
    width: 100%;
    margin-top: 50px;
}

table tbody {
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
    width: 100%;
}

.rou {
    display: grid;
    gap: 30px;
    align-items: center;
}

.four-colums {
    grid-template: auto/repeat(4, 1fr);
    color: var(--color-white);
    padding: 20px;
    border-top: 1px solid var(--color-white);
}

.four-colums:last-child {
    border-bottom: 1px solid var(--color-white);
}

.three-colums {
    grid-template: auto/repeat(3, 1fr);
    color: var(--color-white);
    padding: 20px;
    border-top: 1px solid var(--color-white);

}

.two-colums {
    grid-template: auto/repeat(2, 1fr);
    color: var(--color-white);
    padding: 20px;
    border-top: 1px solid var(--color-white);
}

.three-colums:last-child {
    border-bottom: 1px solid var(--color-white);
}

.two-colums:last-child {
    border-bottom: 1px solid var(--color-white);
}

.number {
    justify-self: center;
}

.textEnd {
    justify-self: flex-end;
    text-align: right;
}

/*  footer */

footer {
    padding: 46px 10px;
    display: flex;
    justify-content: center;
}

.footer_copyright {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-white);
    margin-bottom: 0;
    text-indent: 0;
    text-align: center;
}

@media(max-width:1250px) {

    .container,
    .header__wrapper {
        padding: 0 10px;
    }

    .hero {
        padding: 30px 14px 50px 14px;
    }

}


@media(max-width:1200px) {

    body {
        background: var(--bg-black);
    }

    .header {
        padding: 10px 10px;

    }

    .hero {
        padding: 30px 14px 50px 14px;
    }

    .content {
        padding: 0 14px 20px 14px;

    }

    h1 {
        color: var(--color-white);
    }

    .hero-list li a {
        color: var(--color-white);
    }

}

@media(max-width:850px) {

    .menu {
        position: absolute;
        z-index: 3;
        background: var(--bg-grey);
        left: -100%;
        right: 100%;
        top: 0;
        bottom: 0;
        height: 100vh;
        padding: 170px 30px 30px 30px;
        overflow-x: hidden;
        transition: 0.4s linear;
    }

    .menu.open{
        left: 0;
        right: 30%;
    }

    .menu-list{
        flex-direction: column;
        gap: 50px;
    }

    .burger{
        display: block;
        width: 30px;
        height: 30px;
        background-image: url(../img/burger_white.png);
        background-repeat: no-repeat;
        background-position: top center;
        position: relative;
        z-index: 4;
        transition: 0.3s linear;

        
    }


    .burger.active{
        background-image: url(../img/close.png);
        background-position: center;
    }

    h1 {
        font-size: 45px;
        line-height: 65px;

    }
}

@media(max-width:768px) {

    .hero h1 {
        margin: 30px 0;
    }

    h1 {
        font-size: 32px;
        line-height: 50px;
    }

    h2 {
        font-size: 30px;
        line-height: 36px;
        margin: 30px 0;
    }

    h3 {
        font-size: 28px;
        line-height: 36px;
        margin: 30px 0;
    }


}

@media(max-width:590px) {


    .content {
        padding: 0 14px 50px 14px;
    }

    h1 {
        text-align: center;
    }



    .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;
    }

    .three-colums {
        padding: 20px 0;
    }

    .two-colums {
        padding: 20px 0;
    }

    footer {
        padding: 40px 10px;
    }

}


@media(max-width:450px) {

    header{
        height: 234px;
    }
    .header-fixed{
        padding: 30px 10px;
    }

    .burger {
        position: absolute;
        left: 30px;
    }

    .header__wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .header-block {
        flex-direction: column;
        align-items: center;
    }

    .header-btn:first-child {
        width: 250px;
    }

    .header-btn:last-child {
        width: 250px;
    }

    .hero {
        padding: 30px 14px 30px 14px;
    }

    .content {
        padding: 0 14px 20px 14px;


    }

    table {
        font-size: 14px;
        line-height: 20px;
    }
}

@media(max-width:380px) {
    .content {
        padding: 0 9px 50px 9px;

    }

    table {
        font-size: 12px;
        line-height: 20px;
    }
}