@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/* varibles */

:root {
    --color-white: #fff;
    --color-black: #000;
    --color-dark-grey: #252B42;
    --color-green: #81BE00;
    --color-grey: #444444;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--color-white);
    min-width: 320px;
    background-color: var(--color-white);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.btn {
    border: none;
    background: transparent;
    cursor: pointer;

}

.container {
    max-width: 1040px;
    margin: 0 auto;
}

.header {
    padding: 24px 0;
    background-color: var(--color-black);

}

.header__wrapper {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.header-block {
    display: flex;
    gap: 20px;
}

.header-btn {
    background: #ff2400;
    border-radius: 5px;
    padding: 10px 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.2px;
    color: var(--color-white);
}

.header-btn:first-child {
    width: 94px;
}

.header-btn:last-child {
    width: 165px;
}

.hero {
    max-width: 100%;
    padding: 30px 0 50px 0;
    background: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.hero-img {
    display: flex;
    justify-content: center;
}

.hero h1 {
    max-width: 1040px;
    margin: 50px auto;
}


.hero-list li a {
    font-weight: 500;
    font-size: 20px;
    line-height: 40px;
    color: var(--color-white);
}

.content img.img-top {
    margin: 0 auto 30px;
}

.link-color {
    color: #ff2400;
    text-decoration: underline;
}

h1 {
    font-weight: 700;
    font-size: 50px;
    line-height: 64px;
    text-align: left;
    color: #ff2400;
    word-wrap: break-word;
    margin: 50px 0;

}

h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 34px;
    text-align: left;
    color: #ff2400;
    margin: 40px 0;
}

h3 {
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    text-align: left;
    color: #ff2400;
    margin: 40px 0;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-grey);
    text-indent: 20px;
    margin-bottom: 20px;
}

.content {
    padding: 50px 0 100px 0;

}

.content ul {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-grey);
    margin: 30px 0 30px 20px;
    list-style-type: circle;
}

.content ol {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-grey);
    margin: 30px 0 30px 20px;
    list-style-type: decimal;
}

.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-grey);
    padding: 20px;
    border-top: 1px solid var(--color-grey);
}

.four-colums:last-child {
    border-bottom: 1px solid var(--color-grey);
}

.three-colums {
    grid-template: auto/repeat(3, 1fr);
    color: var(--color-grey);
    padding: 20px;
    border-top: 1px solid var(--color-grey);

}

.two-colums {
    grid-template: auto/repeat(2, 1fr);
    color: var(--color-grey);
    padding: 20px;
    border-top: 1px solid var(--color-grey);
}

.three-colums:last-child {
    border-bottom: 1px solid var(--color-grey);
}

.two-colums:last-child {
    border-bottom: 1px solid var(--color-grey);
}

.number {
    justify-self: center;
}

.textEnd {
    justify-self: flex-end;
    text-align: right;
}

/*  footer */

footer {
    background-color: #ff2400;
    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:1200px) {
    .header {
        padding: 28px 10px;
    }

    .hero {
        padding: 30px 14px 50px 14px;
    }

    .content {
        padding: 50px 14px 100px 14px;

    }
}

@media(max-width:850px) {

    h1 {
        font-size: 45px;
        line-height: 65px;

    }
}

@media(max-width:768px) {

    h1 {
        font-size: 35px;
        line-height: 50px;
        margin: 30px 0;
    }

    h2 {
        font-size: 30px;
        line-height: 26px;
    }

    h3 {
        font-size: 28px;
        line-height: 26px;
    }


}

@media(max-width:590px) {

    .hero,
    .content {
        background: var(--color-black);

    }

    .content {
        padding: 0 14px 50px 14px;
        margin-top: -1px;
    }

    p,
    .content ul,
    .content ol,
    table td {
        color: var(--color-white);
    }

    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 {
        background-color: var(--color-black);
        padding: 40px 10px;
        margin-top: -1px;
    }

    .footer_copyright {
        color: #ff2400;
    }



}


@media(max-width:450px) {

    .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: 0 14px 30px 14px;
        margin-top: -1px;
    }

    .content {
        padding: 0 14px 50px 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;
    }
}