@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap');
/* Reset and base styles  */
* {
    padding: 0;
    margin: 0;
    border: none;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* Common */
aside, nav, footer, header, section, main {
    display: block;
}
h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}
article img {
  display: block;
    max-width: 100%;
    margin: 15px auto;
    vertical-align: top;
}
img, svg {
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
}
address {
    font-style: normal;
}
/* Form */
input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}
input::-ms-clear {
    display: none;
}
button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background: none;
    cursor: pointer;
}
input:focus, input:active,
button:focus, button:active {
    outline: none;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}
label {
    cursor: pointer;
}
legend {
    display: block;
}
/*------------------------------*/
:root {
    --background-color: #6e3605;
    --text-color: #E8E7E6;
    --header-color: #8b7d2d;
    --btn-color: linear-gradient(90deg, #522305 0%, #a18f36 100%);
    --nav-text: #FFFFFF;
    --link-color: #F13461;
    --table-bg: #1D1932;
    --extra-table-bg: #242039;
    --border-color: #2B293F;
    --accordion-bg: #16142A;
    --text-font-weight: 400;
    --accordion-font-weight: 500;
    --title-font-weight: 700;
    --table-font-size: 16px;
    --normal-font-size: 18px;
    --small-font-size: 14px;
}

body {
    font-family: 'Inter Tight', sans-serif;
    font-size: var(--normal-font-size);
    font-weight: var(--text-font-weight);
    color: var(--text-color);
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: sticky;
    overflow-x:hidden;
}
button:not(.button-btn) {
    white-space: nowrap;
    background: var(--btn-color);
    font-weight: var(--title-font-weight);
    border-radius: 16px;
    cursor: pointer;
    padding: 12px 32px;
    margin: 12px 8px;
    border: 1px solid var(--border-color);
}
header button:last-child {
    background: #957e2e;
}
button:not(.button-btn):hover {
    background: linear-gradient(90deg, #71EAFF 0%, #c55d25 100%);
    box-shadow: 0 4px 32px 0 #0bf933;
}
/*------------------------------HEADER*/
header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-color);
}
header, .head-menu, .header-b {
    display: flex;
    align-items: center;
}
header {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--background-color);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 85px;
    left: 0;
    text-transform: uppercase;
    z-index: 2;
}
nav div {
    width: 100%;
    background: #481a05;
}
.svg-it {
    width: 46px;
    height: 46px;
    margin: 20px 20px 20px 10px;
    cursor: pointer;
}
.logo-item {
    min-width: 80px;
    margin: 20px 5px 20px 20px;
    font-size: 21px;
    font-weight: 700;
}
.opk {
    background: url("../svg/menu.svg") no-repeat;
}
.clk {
    background: url("../svg/menuClose.svg") no-repeat;
}
nav ul {
    text-align: left;
    list-style: none;
    margin-left: 60px;
    margin-top: 20px;
}
nav li {
    font-size: var(--small-font-size);
    color: var(--nav-text);
    margin: 30px 0;
    cursor: pointer;
}
nav li:hover {
    color: var(--link-color);
}
#logIn {
    padding: 13px;
    margin-right: 0;
}


/*!*------------------------------MAIN*!*/
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
    padding-bottom: 50px;
}
.wrapper {
    max-width: 1150px;
    margin: 0 16px;
}
article {
    background: var(--background-color);
}
h1, h2, h3 {
    font-weight: var(--title-font-weight);
    text-align: center;
    margin: 33px 0;
    text-transform: uppercase;
}
h1 {
    font-size: 36px;
}
h2 {
    font-size: 26px;
}
h3 {
    font-size: 22px;
}
img {
    border-radius: 16px;
}
.card {
    position: relative;
    min-width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: radial-gradient(50% 50% at 50% 50%, #9a5300 0%, #909203 100%);
}
.card span {
    font-weight: var(--title-font-weight);
    font-size: 40px;
    background: linear-gradient(180deg, #020202 0%, #5d5922 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 15px;
}
.slogan {
    width: 145px;
    height: 40px;
    background: url("../svg/jack.svg") no-repeat center;
    background-size: cover;
    margin-top: 30px;
}
.slogan::after, .slogan::before {
    content: "";
    width: 90px;
    height: 76px;
    background: url("../svg/left.png") no-repeat center;
    background-size: cover;
    position: absolute;
    top: -2px;
}
.slogan::before {
    left: 0;
}
.slogan::after {
    right: 0;
    background: url("../svg/right.png") no-repeat center;
    background-size: cover;
}
.img {
    margin: 30px 0;
}
p {
    font-size: 16px;
    line-height: 24px;
    text-align: start;
    margin-bottom: 20px;
}
a {
    text-decoration: none;
    color: var(--link-color);
}
a:hover {
    text-decoration: underline;
}
main ul, ol {
    margin-bottom: 20px;
}
main ul, ol li {
    text-align: left;
    margin-left: 40px;
    padding: 5px;
}
main ul li {
    padding: 5px;
}
.accordi-on {
    border: 1px solid var(--header-color);
    margin-bottom: 16px;
    border-radius: 8px;
    background: var(--accordion-bg);
}
.acc-h1 {
    width: 100%;
}
.ac-span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 90%;
    font-weight: var(--accordion-font-weight);
    cursor: pointer;
    padding: 10px 18px;
    text-align: left;
    transition: 0.4s;
    margin-bottom: 5px;
    border-radius: 3px;
    position: relative;
}
span.ac-span::after {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    content: '';
    background: url("../svg/arrow-open.svg") no-repeat center;
    background-size: cover;
    float: right;
    margin-left: 5px;
}
span.minus::after {
    transform: rotate(180deg);
}
.accord-p {
    position: relative;
    padding: 20px 25px;
    display: none;
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: var(--text-font-weight);
}
.accord-ul li {
    color: var(--link-color);
    margin-bottom: 5px;
    cursor: pointer;
}

/*!*------------------------------TABLES*!*/
.tables-wrap {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
table {
    min-width: 100%;
    max-width: 1000px;
    margin: 30px 0;
    border-collapse: collapse;
    box-shadow: 2px 2px 6px 0 #000, -2px -2px 6px 0 #272728;
}
tbody {
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
}
tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    overflow: hidden;
    background: var(--header-color);
}
tr:not(.first-tr) {
    background: var(--table-bg);
}
tr:last-child {
    border-bottom: none;
}
.table3 tr:nth-child(2n+2), .tabl-2 tr:nth-child(2n+2) {
    background: var(--extra-table-bg);
}
.first-tr {
    background: var(--extra-table-bg);
}
td {
    font-weight: var(--text-font-weight);
    position: relative;
    font-size: 16px;
    line-height: 20px;
    word-wrap: break-word;
    width: 100%;
    padding: 10px;
    word-break: break-all;
    text-align: left;
}
td::after {
    content: " ";
    width: 1px;
    height: 300%;
    background: var(--background-color);
    position: absolute;
    top: -50px;
    right: 0;
}
.first-td2 {
    width: 40%;
    font-weight: var(--title-font-weight);
}
.tabl-3 td {
    width: 40%;
}
.tabl-3 td:first-child {
    width: 20%;
}
.button-btn {
    display: none;
    height: 50px;
    width: 50px;
    position: fixed;
    background: url("../svg/up.svg") no-repeat center;
    bottom: 50px;
    right: 30px;
    cursor: pointer;
}
.del {
    display: none;
}

/*!*------------------------------FOOTER*!*/
footer {
    background: #8b7d2d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
footer span {
    font-size: var(--table-font-size);
    margin: 20px;
    cursor: pointer;
}
footer p {
    color: #dedbd9;
    font-size: var(--small-font-size);
    text-align: center;
}
footer .logo-item {
    background-size: contain;
    width: 100%;
}


@media (min-width: 1050px) {
    .del {
        display: flex;
    }
/*    !*------------------------------HEADER*!*/
    .login {
        display: flex;
        margin-left: 50px;
    }
    .mobile {
        display: none;
    }
    nav {
        background: none;
        width: auto;
        display: flex;
        align-items: center;
        flex-direction: row;
        position: relative;
        top: 0;
        margin-left: 50px;
    }
    nav div {
        width: auto;
        background: none;
    }
    nav ul {
        display: flex;
        margin-top: 0;
        margin-left: 50px;
    }
    nav li {
        font-weight: var(--title-font-weight);
        margin: 20px;
    }
    .header-b {
        min-width: 100%;
        justify-content: space-around;
    }
    .head-menu, #logIn {
        display: none;
    }

    /*    !*------------------------------MAIN*!*/

    .ban-first {
        display: flex;
        align-items: center;
    }
    .acc-h1 {
        position: absolute ;
        width: 500px;
        z-index: 2;
    }
    .type-anchor {
        width: 500px;
        height: 70px;
        margin-right: 20px;
        float: left;
    }
    .cards {
        display: flex;
        justify-content: center;
    }
    .card-wrap {
        display: flex;
        flex-direction: column-reverse;
    }
    .card {
        margin-top: 20px;
    }
    .card span {
        margin: 30px 0;
    }
    .card::after {
        width: 140px;
        height: 290px;
        bottom: -20px;
        right: 35px;
    }
    .slogan {
        width: 240px;
        height: 60px;
    }
    .slogan::after, .slogan::before {
        width: 220px;
        height: 223px;
    }
    .article-cards {
        width: 185px;
        background: #966901;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
        border-radius: 16px;
        margin-left: 16px;
    }
    .card1 {
        display: flex;
        align-items: center;
        font-size: var(--small-font-size);
        margin-bottom: 16px;
    }
    .card1 div {
        width: 55%;
        font-size: var(--small-font-size);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 8px;
    }
    .card1 p {
        font-size: var(--small-font-size);
        margin: 0;
    }
    .arrow {
        width: 24px;
        height: 36px;
        background: url("../svg/arrow-open.svg") no-repeat center;
        cursor: pointer;
        margin-top: 5px;
    }
    .arrow:first-child {
        transform: rotate(180deg);
        margin-top: 0;
        margin-bottom: 5px;
    }
    .wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /*    !*------------------------------TABLES*!*/
    table {
        padding: 50px 0 20px 0;
    }
    td {
        padding: 10px 12px;
    }

    /*    !*------------------------------FOOTER*!*/
    footer > div {
        flex-wrap: nowrap;
    }
    footer .logo-item {
        width: auto;
    }
}

