@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');


/* varibles */

:root {
    --color-white: #fff;
    --color-black: #000000;
    --color-grey: #18181C;
    --color-l-grey: #9E9E9E;
    --color-blue: #8054FF;

    --color-red: #ff2400;
    --color-green: #00cfa6;

    --bg-red: #ff2400;
    --bg-green: #00cfa6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--color-l-grey);
    min-width: 320px;
    background-color: var(--color-black);
    background-image: url(../img/bg_bt.png);
    background-repeat: no-repeat;
    background-position: left 0 bottom 3.5%;

}

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: 1000px;
    margin: 0 auto;
}

.header {
    padding: 28px 165px;
}

.header__wrapper {
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    text-align: center;
    }
    

.header-block {
    display: flex;
    gap: 20px;
}

.header-btn {
    background: var(--bg-red);
    border-radius: 5px;
    padding: 12px 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-white);
}

.btn-enter {
    background: transparent;
    border: 2px solid var(--color-red);

}

.header-btn:first-child {
    width: 90px;
}

.header-btn:last-child {
    width: 140px;
}

.entry {
    padding: 50px 0;
    position: relative;
    background-image: url(../img/ellipse_top.png), url(../img/ellipse_top.png), url(../img/ellipse_center.png), url(../img/Subtract.png);
    background-repeat: no-repeat;
    background-position: left 18% top 5%, right 18% top 29%, center center, center bottom;
    background-size: auto, auto, auto, 100% 54%;
}

.entry-block {
    padding: 50px;
    background-color: var(--color-grey);
    border-radius: 20px;
}


.entry-img {
    display: flex;
    justify-content: center;
}

.entry-img img {
    border-radius: 18px;
}

.entry-list li a {
    font-weight: 400;
    font-size: 18px;
    line-height: 40px;
    color: var(--color-l-grey);
}

article a {
    color: var(--color-red);
    text-decoration: none;
}

.content {
    padding: 0 0 100px 0;
}

h1 {
    font-weight: 500;
    font-size: 60px;
    line-height: 84px;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 50px 0;
    word-wrap: break-word;

}

h2 {
    font-weight: 500;
    font-size: 34px;
    line-height: 44px;
    text-align: center;
    color: var(--color-red);
    margin: 40px 0;
}

h3 {
    font-weight: 500;
    font-size: 26px;
    line-height: 38px;
    text-align: left;
    color: var(--color-red);
    margin: 40px 0;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    color: var(--color-l-grey);
    margin-bottom: 20px;
}

.content ul {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-l-grey);
    margin: 30px 0 30px 20px;
    list-style-type: none;
}

.content ul li::before {
    content: "\2022";
    color: var(--color-red);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.content ol {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-l-grey);
    margin: 30px 0 30px 20px;
    list-style-type: none;
    counter-reset: li;
}

.content ol li {
    counter-increment: li
}

.content 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;
}

.content img {
    display: block;
    margin: 30px auto;
    border-radius: 18px;
}

/* table */


.rou {
    display: grid;
    gap: 30px;
    align-items: center;
}

.four-colums {
    grid-template: auto/repeat(4, 1fr);
    color: var(--color-dark-blue);
    padding: 20px;
    border-top: 1px solid var(--color-l-grey);
}

.four-colums:last-child {
    border-bottom: 1px solid var(--color-l-grey);
}

.three-colums {
    grid-template: auto/repeat(3, 1fr);
    color: var(--color-dark-blue);
    padding: 20px;
    border-top: 1px solid var(--color-l-grey);

}

.colums2 {
    grid-template: auto/repeat(2, 1fr);
    color: var(--color-l-grey);
    padding: 20px;
    border-top: 1px solid var(--color-l-grey);
}

.three-colums:last-child {
    border-bottom: 1px solid var(--color-l-grey);
}

.colums2:last-child {
    border-bottom: 1px solid var(--color-l-grey);
}

.number {
    justify-self: center;
}

.textEnd {
    justify-self: flex-end;
    text-align: right;
}

/*  footer */

footer {
    background-color: var(--color-grey);
    padding: 16px 10px;
    display: flex;
    justify-content: center;
}

.footer_copyright {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-green);
    margin-bottom: 0;
    text-align: center;
}

/*  media quwery  */

@media (max-width: 1200px) {

    .header {
        padding: 28px 10px;
    }

    .entry__wrapper {
        padding: 0 14px;
    }

    .content {
        padding: 0 14px 50px 14px;
    }

}

@media(max-width:980px) {
    .entry {
        padding: 50px 10px;
        position: relative;
        background-image: url(../img/ellipse_center.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: auto;
    }
}

@media(max-width:850px) {
    h1 {
        font-size: 30px;
        line-height: 40px;
        margin: 40px 0;
    }

    h2 {
        font-size: 28px;
        line-height: 34px;
        margin: 30px 0;
    }

    h3 {
        font-size: 20px;
        line-height: 34px;
        margin: 30px 0;
    }

    .entry {
        padding: 50px 0 30px 0;
    }
}

@media(max-width:590px) {
    .four-colums {
        padding: 20px 0 0;
        grid-template: min-content 1px min-content/repeat(2, 1fr);
        gap: 40px 0;
    }

    .three-colums {
        padding: 20px 0;

    }

    .colums2 {
        padding: 20px 0;
    }

    .four-colums .tx-right {
        justify-self: right;
    }

    .four-colums .tx-left {
        justify-self: left;
    }
}


@media(max-width:450px) {

    .header {
        padding: 40px 0 50px 0;
    }

    .header__wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .header-block {
        flex-direction: column;
        align-items: center;
    }

    .header-btn:first-child {
        width: 200px;
    }

    .header-btn:last-child {
        width: 200px;
    }


    .entry {
        padding: 0 0 30px 0;
        background: transparent;
    }

    .entry-block {
        padding: 0;
        background-color: transparent;
        border-radius: none;
    }

    p {
        margin-bottom: 30px;
    }

    table {
        font-size: 14px;
    }
    p.footer_copyright {
        font-size: 18px;
    }

}