@import url('https://fonts.googleapis.com/css2?family=Arimo: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;
}
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: #070611;
    --text-color: #EAE6E1;
    --header-color: #171325;
    --link-color: #4eba0d;
    --btn-color: linear-gradient(180deg, #9c282b 0%, #362C9E 100%);
    --hover-btn: linear-gradient(180deg, #4133cd 0%, #ff446f 100%);
    --nav-text: #FFFFFF;
    --border-color: #B5B5B5;
    --table-bg: #080717;
    --extra-table-bg: #0E1233;
    --table-title: #443C90;
    --text-font-weight: 400;
    --accordion-font-weight: 500;
    --title-font-weight: 700;
    --table-font-size: 16px;
    --normal-font-size: 18px;
    --small-font-size: 17px;
}

body {
    font-family: 'Arimo', 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 {
    white-space: nowrap;
    color: var(--nav-text);
    background: var(--btn-color);
    font-weight: var(--title-font-weight);
    border-radius: 8px;
    cursor: pointer;
    padding: 13px 32px;
    margin: 12px 8px;
}
button:not(.buttonUp):hover {
    background: var(--hover-btn);
}
.covert {
    display: none;
}
/*------------------------------HEADER*/
header {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(27,57,82,1) 25%, rgba(176,48,51,1) 68%);
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
}
.headerB, .sing, .headerB-box {
    display: flex;
    align-items: center;
}
.headerB {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1150px;
}
.headerB > div {
    display: flex;
    align-items: center;
}
nav {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    background: var(--header-color);
    width: 100%;
    height: 95vh;
    position: fixed;
    top: 85px;
    left: 0;
    text-transform: uppercase;
}
nav div {
    display: flex;
    width: 100%;
    border-radius: 8px;
    justify-content: center;
    background: var(--link-color);

}
.svg {
    width: 46px;
    height: 46px;
    margin: 20px;
    cursor: pointer;
}
/*.logo {
    min-width: 58px;
    height: 54px;
    background: url("../img/logo.png") no-repeat center;
    margin: 20px;
}*/
.headerB span, nav li, .sing-In {
    color: var(--nav-text);
    font-size: var(--small-font-size);
    font-weight: var(--title-font-weight);
}
.burger-open {
    background: url("../svg/menu.svg") no-repeat;
}
.burger-close {
    background: url("../svg/menuClose.svg") no-repeat;
}
nav ul {
    text-align: left;
    list-style: none;
    margin-left: 60px;
}
nav li {
    margin: 45px 0;
    cursor: pointer;
}

/*!*------------------------------MAIN*!*/
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding-top: 90px;
    align-items: center;
}
.main-sec {
    max-width: 1150px;
}
article {
    margin: 0 16px;
}
h1, h2, h3 {
    font-weight: var(--title-font-weight);
    text-align: center;
    text-transform: uppercase;
}
h1 {
    font-size: 42px;
    margin: 14px 0 40px;
}
h2 {
    font-size: 32px;
    margin: 30px 0 30px;
}
h3 {
    font-size: 26px;
    margin: 30px 0;
}
img {
    border-radius: 9px;
    margin: 15px 0;
}
/*.poster-first {
    margin: 15px -16px;
}*/
.select-list {
    width: 320px;
    position: relative;
    margin: 20px;
    display: inline-block;
}
select {
    min-width: 90%;
    border-radius: 8px;
    background: var(--extra-table-bg);
    padding: 16px ;
    font-weight: var(--accordion-font-weight);
    font-size: 20px;
    line-height: 28px;
}
p {
    font-size: 16px;
    line-height: 24px;
    text-align: start;
    margin-bottom: 24px;
}
a {
    text-decoration: none;
    color: var(--link-color);
}
main ul, ol {
    margin-bottom: 24px;
}
main ul, ol li {
    text-align: left;
    margin-left: 40px;
    padding: 5px;
}
main ul li {
    padding: 5px;
}
.accordion-div {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
}
.accord {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 90%;
    font-weight: var(--accordion-font-weight);
    cursor: pointer;
    padding: 18px;
    text-align: left;
    transition: 0.4s;
    margin-bottom: 5px;
    border-radius: 3px;
}
span.accord::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);
}
.inv-window {
    position: relative;
    padding: 20px 25px;
    display: none;
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: var(--text-font-weight);
}

/*!*------------------------------TABLES*!*/
.tables-wr {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
table {
    min-width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-collapse: collapse;
}
tbody {
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
}
tr {
    background: var(--table-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.string {
     background: var(--table-title);
 }
tr:nth-child(2n+2){
    background: var(--extra-table-bg);
}

th {
    position: relative;
    font-weight: var(--text-font-weight);
    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: 2px;
    height: 300%;
    background: var(--background-color);
    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: 2px;
    height: 300%;
    background: var(--background-color);
    position: absolute;
    top: -50px;
    right: 0;
}
.td-first {
    width: 40%;
    font-weight: var(--title-font-weight);
}
.buttonUp {
    display: none;
    justify-content: center;
    height: 35px;
    width: 35px;
    position: fixed;
    background: url("../svg/up.svg") no-repeat center;
    bottom: 25px;
    right: 30px;
}

/*!*------------------------------FOOTER*!*/
footer {
    color: var(--border-color);
    background: var(--table-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    padding: 25px 0;
}


@media (min-width: 1050px) {
    .covert {
        display: flex;
    }
/*    !*------------------------------HEADER*!*/
    .sing-In {
        display: flex;
    }
    nav {
        height: auto;
        display: flex;
        position: relative;
        top: 0;
        margin-left: 50px;
        z-index: 2;
    }
    nav div {
        display: none;
    }
    nav ul {
        display: flex;
        margin: 0;
    }
    nav li {
        font-weight: var(--title-font-weight);
        margin: 12px;
        font-size: 14px;
    }
    .svg-s {
        display: none;
    }

    /*    !*------------------------------MAIN*!*/
    main {
        background: url("../img/bg.png") no-repeat;
        background-size: contain;
    }
    .main-sec {
        margin: 0 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .select-list {
        min-width: 420px;
        display: block;
        float:left;
        margin: 0 16px 30px 0;
    }
    .second-art-img {
        float:left;
        margin-right: 50px;
    }


/*    !*------------------------------TABLES*!*/
    table {
        padding: 50px 0 20px 0;
    }
}

