@import url('https://fonts.googleapis.com/css2?family=Advent+Pro: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;
}
img {
    vertical-align: top;
}
img, svg {
    max-width: 100%;
    height: auto;
    padding-bottom: 13px;
    padding-top: 10px;
}
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;
}
/*------------------------------*/

body {
    font-family: 'Advent Pro', sans-serif;
    font-weight: 400;
    color: #d5d5d5;
    background: #250006;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    position: sticky;
}

/*------------------------------HEADER*/
header {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    min-width: 100%;
    background: #610214;
    z-index: 1;
}
header span {
     font-family: 'Advent Pro', sans-serif;
     font-weight: 800;
     font-size: 24px;
     line-height: 33px;
     display: flex;
     margin: 27px 20px;
     justify-content: flex-end;
}
header > span {
    display: none;
}
.header-box {
    display: flex;
    justify-content: space-between;
}
.nav-box {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.logo-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.menu-svg {
    width: 46px;
    height: 46px;
    margin: 20px;
    cursor: pointer;
}
.burger {
    background: url("../svg/menu.svg") no-repeat;
}
.burger-close {
    display: none;
    background: url("../svg/menuClose.svg") no-repeat;
}
.menu-list {
    display: none;
    position: fixed;
    background-color: #000912;
    top: 85px;
    left: 0;
    max-width: 500px;
    height: 100%;
    flex-direction: column;
}
.invisible {
    display: none;
}
.menu-list ul {
    list-style: none;
    margin-top: 70px;
    font-size: 14px;
    line-height: 20px;
}
.menu-list li {
    background: #ff3916;
    padding: 20px 80px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    min-width: 100%;
    display: inline-flex;
    justify-content: flex-start;
}
.menu-list li:nth-child(2n+2) {
    background: #2E2E2E;

}
.sing {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 14px;
}
.sing button {
    font-weight: 700;
    color: #FFFFFF;
    background: #ff3916;
    padding: 13px 32px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.sing button:last-child {
    margin-left: 18px;
    background: #ff3916;
}
.invisible {
    display: none;
}
/*!*------------------------------MAIN*!*/
main {
    margin: 0 16px 0 16px;
    padding-top: 153px;
}
.title-img {
    margin: 30px -16px;
}
.title-img img {
     border-radius: 9px;
 }
h1 {
    font-size: 34px;
    line-height: 47px;
    color: #FFFFFF;
    align-content: start;
    text-align: center;
    margin: 24px;
    font-weight: 700;
}
h2 {
    color: #FFFFFF;
    font-size: 28px;
    line-height: 38px;
    text-align: center;
    padding-top: 24px;
    margin-bottom: 24px;
    font-weight: 600;
}
.sel {
    width: 320px;
    position: relative;
    margin: 24px;
    display: inline-block;
}
.sel::before {
     content: " ";
     width: 20px;
     height: 10px;
     background: url("../svg/Vector.svg") no-repeat;
     position: absolute;
     top: 25px;
     right: 16px;
 }
select {
    border: 1px solid #B5B5B5;
    border-radius: 6px;
    background: #444444;
    padding: 16px ;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    width: 320px;
    appearance: none;
    z-index: -10;
}
p {
    font-size: 18px;
    line-height: 24px;
    text-align: start;
    margin-bottom: 24px;
}
.article-img {
    width: 340px;
    height: 340px;
    display: inline-block;
    margin-bottom: 30px;
}
.first-art-img {
    background: url("../svg/pockerstars.svg") no-repeat center;
    background-size: cover;
}
.second-art-img {
    background: url("../svg/pockerstars2.svg") no-repeat center;
    background-size: cover;
}
main ul, ol {
    margin-bottom: 24px;
}
main ul, ol li {
    text-align: left;
    margin-left: 30px;
    padding: 5px;
}
main ul li {
    padding: 5px;
}

/*!*------------------------------TABLES*!*/
.tablesWrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
table {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-collapse: collapse;
}
tbody {
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
}
tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2E2E2E;
    overflow: hidden;
}
tr:not(.last-string){
    border-bottom: 1px solid #545454;
}
tr:nth-child(2n+2){
    background: #212121;
}
.title-string {
    background: #606060;
}
th {
     position: relative;
     font-weight: 400;
     height: auto;
     font-size: 16px;
     line-height: 26px;
     min-width: 25%;
     word-break: break-all;
     padding: 12px 10px;
     margin: 0;
     background: #606060;
     text-align: left;
 }
th::after {
    content: " ";
    width: 1px;
    height: 300%;
    background: #000912;
    position: absolute;
    top: -50px;
    right: 0;
}
td {
    position: relative;
    font-size: 16px;
    line-height: 20px;
    word-wrap: break-word;
    width: 100%;
    padding: 12px 10px;
    word-break: break-all;
    text-align: left;
}
td::after {
    content: " ";
    width: 1px;
    height: 300%;
    background: #000912;
    position: absolute;
    top: -50px;
    right: 0;
}
.first {
    width: 40%;
    font-weight: 700;
}
.button-up {
    display: none;
    justify-content: center;
    height: 70px;
    width: 70px;
    position: fixed;
    background: url("../svg/up.svg");
    bottom: 50px;
    right: 30px;
}

/*!*------------------------------FOOTER*!*/
.foot {
    display: flex;
    flex-direction: column;
    margin: 31px;
}
}
.foot span {
    font-size: 16px;
    line-height: 19px;
    text-align: center;
}

@media (min-width: 850px) {

/*    !*------------------------------HEADER*!*/
    header {
        flex-direction: row;
        justify-content: space-between;
    }
    header > span {
        display: flex;
    }
    .header-box > span {
        display: none;
    }
    .logo-wrap {
        margin-left: 36px;
        margin-right: 200px;
    }
    .sing {
        margin-right: 36px;
        padding-bottom: 0;
    }
    .menu-list ul {
        font-size: 16px;
    }

    /*    !*------------------------------MAIN*!*/
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 80px;
        margin-right: 80px;
        padding-top: 87px;
    }
    .title-img {
        margin: 50px 20px 10px;
    }
    .title-img::before {
        content: "";
        position: absolute;
        left: 0;
        top: 85px;
        width: 300px;
        height: 350px;
        background: url("../svg/left.svg");
        z-index: -10;
    }
    .title-img::after {
        content: "";
        position: absolute;
        right: 0;
        top: 85px;
        width: 300px;
        height: 350px;
        background: url("../svg/right.svg");
        z-index: -10;
    }
    .sel {
        display: block;
        float:left;
        margin: 0 60px 60px 0;
    }
    .article-img {
        width: 440px;
        height: 440px;
    }
    .first-art-img {
        float:right;
        margin-left: 50px;
    }
    .second-art-img {
        float:left;
        margin-right: 50px;
    }
    main ul, ol {
        margin-left: 20px;
    }

/*    !*------------------------------TABLES*!*/
    table {
        width: 100%;
        padding: 50px 0 20px 0;
    }
}

