@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* varibles */

:root {
    --color-white: #fff;
    --color-black: #000000;
    --color-grey: #22242F;
    --color-d-blue: #222435;
    --color-d-grey: #141720;
    --color-purple: #33006A;
    --color-green: #4FB41F;
    --color-blue: #0D6DFA;
    --color-violet: #A00DFA;
    --color-yellow: #F9F871;
    --color-orange: #FF4E00;


    --bg-grey: #22242F;
    --bg-d-grey: #141720;
    --bg-black: #21252A;
    --bg-d-blue: #222435;
    --bg-black: #000000;
    --bg-purple: #33006A;
    --bg-green: #4FB41F;
    --bg-blue: #0D6DFA;
    --bg-violet: #A00DFA;
    --bg-yellow: #F9F871;
    --bg-orange: #FF4E00;

}

* {
    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;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--color-white);
    background: var(--color-white);
    min-width: 320px;
    /* background-size: auto;
    background-repeat: no-repeat;
    background-position: top 50px left 50px; */
}

.skroll {
    overflow-y: hidden;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    
}


.header {
    height: 64px;
}

.header-content {
    position: fixed;
    z-index: 9;
    top: 0;
    right: 0;
    left: 0;
    padding: 10px 10px;
    background: var(--bg-d-grey);
}

.burger {
    display: none;
}

.header__wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    color: #eecb00;
}

.menu-list {
    display: flex;
    gap: 30px;
}

.menu-list li,
.menu-list li a {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
}


.header-block {
    display: flex;
    gap: 20px;
}

.header-btn {
    background: #004d34;
    border-radius: 8px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-white);
}

.btn-one{
    background: transparent;
    border: 1px solid var(--color-white);

}

.header-btn:first-child {
    width: 80px;
}

.header-btn:last-child {
    width: 150px;
}

.header-btn:hover {
    background-color: #eecb00;
    border: 1px solid #eecb00;
    transition: 0.3ms;

}

.hero {
    max-width: 1170px;
    margin: 0 auto;
}

/* 
.hero__wrapper {
    padding: 30px 0;
} */

.hero-img {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.content-wrapper {
    background:var(--bg-d-grey);
    position: relative;
    padding-bottom: 50px;
}

.content-wrapper::before{
    content: "";
    position: absolute;
    height: 10px;
    width: 100%;
    left: 0;
    right: 0;
    top: -5px;
    z-index: 1;
    background: url(../img/wave.svg) repeat-x left top;
    background-size: auto 10px;
}

.content {
    padding: 30px 0 50px 0;
}

article a {
    color: #eecb00;
}

article ul:first-of-type li::before {
    display: none;
}


.ankor-list li a {
    font-weight: 400;
    font-size: 18px;
    line-height: 40px;
    color: var(--color-white);
}

h1 {
    position: relative;
    max-width: 1140px;
    font-weight: 700;
    font-size: 44px;
    line-height: 64px;
    text-align: center;
    color: var(--color-black);
    margin: 50px auto;
}

h1::before,
h1::after {
    content: "";
    position: absolute;
    background: url(../img/jackpot-wave.svg) no-repeat center;
    background-size: auto 7px;
    height: 10px;
    width: 20%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}


h1::after {
    left: auto;
    right: 0;
}

h2 {
    font-weight: 600;
    font-size: 44px;
    line-height: 54px;
    text-align: left;
    color: #eecb00;
    margin: 40px 0;
}

h3 {
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
    text-align: left;
    color: #eecb00;
    margin: 40px 0;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-white);
    text-indent: 20px;
    margin-bottom: 20px;
}

.content ul {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-white);
    margin: 30px 0 30px 20px;
    list-style-type: none;
}

.content ul li::before {
    content: "\2022";
    color: #eecb00;
    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-white);
    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: #eecb00;
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
    margin-right: 0.5em;
    text-align: right;
    direction: rtl;
}

.content .ankor-list {
    margin: 0 0 30px 20px;
}

.content img {
    display: block;
    margin: 30px auto;
}

/* table */

table {
    width: 100%;
    margin: 50px 0;
}

table:last-child{
    margin: 0;
}

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;
}



.inner-wrapper.container {
    padding: 50px 0;
}

.inner-content {
    max-width: 970px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    border-top: 1px solid #eecb00;
    border-bottom: 1px solid #eecb00;
}

.inner-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.inner-block figure {
    width: 130px;
    position: relative;
    z-index: 3;
}

.inner-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    display: block;
    align-items: center;
    text-align: center;
    color: #eecb00;

}


.inner-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    text-indent: 0;
    color: var(--color-white);
}

.inner-block span+p {
    margin-bottom: 0;
}


/*  footer */

.footer-wrapper {
    max-width: 100%;
    margin-top: -1px;
}

footer {
    background:var(--bg-d-grey);
    max-width: 1330px;
    margin: 0 auto;
    padding: 20px 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;
}

.btn-up {
    width: 70px;
    height: 70px;
    position: fixed;
    right: 50px;
    bottom: 100px;
    z-index: 2;
    background: var(--bg-d-grey) url(../img/arrow-up.svg) no-repeat center;
    border: 1px solid #fff;
    border-radius: 50%;
}


@media(max-width:1200px) {
    h1::before, h1::after {
        width: 10%;
    }

    .container {
        padding: 30px 14px;
    }

}

@media(max-width:1100px) {
    .hero {
        padding: 0 10px;
    }
}

@media(max-width:850px) {

    h1::before, h1::after {
        display: none;
    }
   
    .inner-block {
        margin: 0 10px;
        padding: 20px;
    }
}

@media(max-width:768px) {
    .menu {
        position: absolute;
        z-index: 3;
        background: var(--bg-black);
        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;
    }

    .menu-list li,
    .menu-list li a {
        color: #eecb00;
    }

    .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;
    }

    .hero {
        background-image: none;
    }

    h1 {
        font-size: 38px;
        line-height: 54px;
        margin: 30px 0;
    }

    h2 {
        font-size: 32px;
        line-height: 44px;
        margin: 30px 0;
    }

    h3 {
        font-size: 24px;
        line-height: 44px;
        margin: 30px 0;
    }

    .btn-up {
        right: 20px;
    }
    

}


@media(max-width:590px) {

    h1{
        word-wrap: break-word;
    }
    .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;
    }
}


@media(max-width:450px) {

    .header {
        height: 227px;
    }

    .header-content {
        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;
    }

    h1 {
        font-size: 32px;
        line-height: 44px;
    }

    h2 {
        font-size: 26px;
        line-height: 34px;
    }

    h3 {
        font-size: 20px;
        line-height: 34px;
    }

    table {
        font-size: 14px;
        line-height: 20px;
    }
}

@media(max-width:380px) {
    .content {
        padding: 0 9px;

    }

    table {
        font-size: 12px;
        line-height: 20px;
    }
}