@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700&display=swap');


/* varibles */

:root {
    --ff-roboto-slab:  'Roboto Slab', serif;
    --color-white: #fff;
    --color-black: #000000;
    --color-grey: #18181C;
    --color-l-grey: #9E9E9E;
    --color-blue: #8054FF;
    --color-link: #fcf300;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: var(--ff-roboto-slab);
    font-weight: 300;
    font-size: 18px;
    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: 1140px;
    margin: 0 auto;
}

.header {
    padding: 28px 165px;
}

.header__wrapper {
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

span.header-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-link);
}

.header-block {
    display: flex;
    gap: 20px;
}

.header-btn {
    font-family: var(--ff-roboto-slab);
    background: linear-gradient(92.51deg, #FF9898 0.48%, #8054FF 100%);
    border-radius: 5px;
    padding: 12px 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-white);
}

.header-btn:first-child {
    width: 90px;
}

.header-btn:last-child {
    width: 140px;
}

.hero-block {
    padding: 50px;
    background-color: var(--color-grey);
    border-radius: 20px;
}


.hero-img {
    display: flex;
    justify-content: center;
}

.hero-list li a {
    font-weight: 500;
    font-size: 22px;
    line-height: 40px;
    color: var(--color-l-grey);
}

article a {
    color: var(--color-blue);
    text-decoration: none;
}

.content {
    padding: 0 0 50px 0;
    background-image: url(../img/ellipse_top.png), url(../img/ellipse_top.png), url(../img/ellipse_center.png);
    background-repeat: no-repeat;
    background-position: left 1% top 5%, right 18% top 29%, center center, center bottom;
    background-size: auto, auto, auto, 100% 54%;
}

h1 {
    font-weight: 700;
    font-size: 60px;
    line-height: 84px;
    text-align: center;
    color: var(--color-white);
    margin: 50px 0;
    word-wrap: break-word;

}

h2 {
    font-weight: 600;
    font-size: 44px;
    line-height: 34px;
    text-align: center;
    color: var(--color-link);
    margin: 40px 0;
}

h3 {
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    color: var(--color-link);
    margin: 40px 0;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.content ul {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-white);
    margin: 30px 0 30px 40px;
    list-style-type: circle;
}

.content ol {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-white);
    margin: 30px 0 30px 40px;
    list-style-type: decimal;
}

.content img {
    display: block;
    margin: 30px auto;
    border-radius: 20px;
    border: 2px solid var(--color-blue);
    padding: 20px;
}

/* table */

table {
    width: 100%;
    margin-top: 40px;
}

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-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);

}

.two-colums {
    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);
}

.two-colums: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: 46px 10px;
    display: flex;
    justify-content: center;
}

.footer_copyright {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: var(--color-white);
    margin-bottom: 0;
    text-align: center;
}

/*  media quwery  */

@media (max-width: 1200px) {

    .header {
        padding: 28px 10px;
    }

    .hero__wrapper {
        padding: 0 14px;
    }

    .content {
        padding: 0 14px 50px 14px;
    }

}

@media(max-width:980px) {
    .hero {
        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: 42px;
        line-height: 58px;
        margin: 40px 0;
    }

    h2 {
        font-size: 36px;
        line-height: 58px;
        margin: 30px 0;
    }

    h3 {
        font-size: 28px;
        line-height: 44px;
        margin: 30px 0;
    }

    .hero {
        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;

    }

    .two-colums {
        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;
    }


    .hero {
        padding: 0 0 30px 0;
        background: transparent;
    }

    .hero-block {
        padding: 0;
        background-color: transparent;
        border-radius: none;
    }

    h1 {
        font-size: 34px;
        line-height: 50px;
    }



    p {
        margin-bottom: 30px;
    }

    table {
        font-size: 14px;
    }
    p.footer_copyright {
        font-size: 18px;
    }

}