@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');


/* varibles */

:root {
    --color-white: #fff;
    --color-black: #000000;
    --color-dark-blue: #0E1035;
    --color-purple: #9b51e0;
    --color-green: #00d75b;

    --bg-black: #000;
    --bg-green: #00d75b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--color-white);
    min-width: 320px;
    background-color: var(--bg-black);
    background-image: url(../img/Green_chip.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: 16px 140px;
}

.header__wrapper {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
}

.header-block {
    display: flex;
    gap: 20px;
}

.header-btn {
    background: var(--bg-green);
    border-radius: 28px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-white);
}

.header-btn:first-child {
    width: 110px;
}

.header-btn:last-child {
    width: 180px;
}

.inner {
    padding: 30px 0;
    position: relative;
    background-color: var(--bg-black);
    background-image: url(../img/poker_2.png);
    background-repeat: no-repeat;
    background-position: right -40px bottom;
    border-radius: 30px;
}


.inner-img {
    display: flex;
    justify-content: center;
}

.inner-img img {
    border-radius: 18px;
}

.inner-list li a {
    font-weight: 400;
    font-size: 18px;
    line-height: 36px;
    color: var(--color-white);
}

article a {
    color: var(--color-purple);
}

.content {
    padding: 30px 0 100px 0;
}

h1 {
    font-weight: 600;
    font-size: 44px;
    line-height: 54px;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-purple);
    margin: 50px 0;
    word-wrap: break-word;
}

h2 {
    font-weight: 600;
    font-size: 34px;
    line-height: 44px;
    text-align: center;
    color: var(--color-purple);
    margin: 40px 0;
}

h3 {
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    text-align: left;
    color: var(--color-purple);
    margin: 40px 0;
}

p {
    font-weight: 400;
    font-size: 20px;
    line-height: 34px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.content ul {
    font-weight: 400;
    font-size: 20px;
    line-height: 34px;
    color: var(--color-white);
    margin: 30px 0 30px 20px;
    list-style-type: circle;
}

.content ol {
    font-weight: 400;
    font-size: 20px;
    line-height: 34px;
    color: var(--color-white);
    margin: 30px 0 30px 20px;
    list-style-type: decimal;
}

.content img {
    display: block;
    margin: 30px auto;
    border-radius: 16px;
}

/* table */

table {
    width: 100%;
    margin: 40px 0;
}

table tbody {
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
    width: 100%;

}

.rou {
    display: grid;
    gap: 30px;
    align-items: center;
}

.one-colums {
    grid-template: auto/repeat(1, 1fr);
    color: var(--color-white);
    padding: 20px;
    border-top: 1px solid var(--color-purple);
}

.one-colums:last-child {
    border-bottom: 1px solid var(--color-purple);
}

.colums4 {
    grid-template: auto/repeat(4, 1fr);
    color: var(--color-white);
    padding: 20px;
    border-top: 1px solid var(--color-purple);
}

.colums4:last-child {
    border-bottom: 1px solid var(--color-purple);
}

.three-colums {
    grid-template: auto/repeat(3, 1fr);
    color: var(--color-dark-blue);
    padding: 20px;
    border-top: 1px solid var(--color-dark-blue);

}

.colums2 {
    grid-template: auto/repeat(2, 1fr);
    color: var(--color-white);
    padding: 20px;
    border-top: 1px solid var(--color-purple);
}

.three-colums:last-child {
    border-bottom: 1px solid var(--color-dark-blue);
}

.colums2:last-child {
    border-bottom: 1px solid var(--color-purple);
}

.number {
    justify-self: center;
}

.textEnd {
    justify-self: flex-end;
    text-align: right;
}

/*  footer */

footer {
    background-color: var(--color-dark-blue);
    padding: 16px 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) {

    body,
    .inner {
        background: var(--bg-black);

    }

    .header {
        padding: 28px 10px;
    }

    .inner__wrapper {
        padding: 0 14px;
    }

    .content {
        padding: 0 14px 50px 14px;
    }

    p,
    .content ul,
    .content ol,
    table td {
        color: var(--color-white);
    }

    .colums4 {
        border-top: 1px solid var(--color-purple);
    }

    .colums4:last-child {
        border-bottom: 1px solid var(--color-purple);
    }

    .three-colums {
        border-top: 1px solid var(--color-purple);
    }

    .three-colums:last-child {
        border-bottom: 1px solid var(--color-purple);
    }

    .colums2 {
        border-top: 1px solid var(--color-purple);
    }

    .colums2:last-child {
        border-bottom: 1px solid var(--color-purple);
    }
}

@media(max-width:850px) {
    h1 {
        font-size: 38px;
        line-height: 48px;
        margin: 40px 0;
    }

    h2 {
        font-size: 30px;
        line-height: 38px;
        margin: 30px 0;
    }

    h3 {
        font-size: 26px;
        line-height: 34px;
        margin: 30px 0;
    }

    .inner {
        padding: 50px 0 30px 0;
    }
}

@media(max-width:590px) {
    .colums4 {
        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;
    }

    .colums4 .tx-right {
        justify-self: right;
    }

    .colums4 .tx-left {
        justify-self: left;
    }
}


@media(max-width:450px) {
    .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;
    }

    .inner {
        padding: 0 0 30px 0;
    }

    .header {
        padding: 30px 0 50px 0;
    }

    p {
        margin-bottom: 30px;
    }

    table {
        font-size: 18px;
    }

}