@import url('https://fonts.googleapis.com/css2?family=Rubik: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: #1c1b1b;
    --text-color: #f1f1f1;
    --header-color: #320904;
    --link-color: #F6E645;
    --btn-color: linear-gradient(180deg, #ff224b 0%, #C5B66C 100%);
    --hover-btn: linear-gradient(180deg, #FEF553 0%, #E7C626 100%);
    --nav-text: #FFFFFF;
    --accordion-bg: #444;
    --border-color: #B5B5B5;
    --table-bg: #212121;
    --extra-table-bg: #323232;
    --text-font-weight: 400;
    --accordion-font-weight: 600;
    --title-font-weight: 700;
    --table-font-size: 16px;
    --normal-font-size: 18px;
    --small-font-size: 14px;
}

body {
    font-family: 'Rubik', 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;
    font-size: 13px;
}
button:not(.button-up):hover {
    background: var(--hover-btn);
}
.none {
    display: none;
}
/*------------------------------HEADER*/
header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-color);
}
header, .icons, .nav-box {
    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(--header-color);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 85px;
    left: 0;
    text-transform: uppercase;
    z-index: 2;
}
nav div {
    width: 100%;
    border-radius: 8px;
    background: #5d3535;

}
.icon {
    width: 46px;
    height: 46px;
    margin: 20px;
    cursor: pointer;
}
.logotype {
    min-width: 80px;
    height: 26px;
    margin: 20px;
    font-size: 22px;
    font-weight: 700;
}
.open-btn {
    background: url("../svg/menu.svg") no-repeat;
}
.close-btn {
    background: url("../svg/menuClose.svg") no-repeat;
}
nav ul {
    text-align: left;
    list-style: none;
    margin-left: 60px;
    margin-top: 20px;
}
nav li {
    color: var(--nav-text);
    margin: 30px 0;
    cursor: pointer;
}


/*!*------------------------------MAIN*!*/
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background: url("../img/bg.png") no-repeat;
    background-size: contain;
    align-items: center;
}
.mainbox {
    max-width: 1150px;
    margin: 0 16px;
}
h1, h2, h3 {
    font-weight: var(--title-font-weight);
    text-align: center;
    margin: 20px 0 30px;
    text-transform: uppercase;
}
h1 {
    font-size: 40px;
}
h2 {
    font-size: 36px;
}
h3 {
    font-size: 22px;
}
img {
    border-radius: 9px;
    margin: 15px auto;
}
.postbox {
    margin: 15px -16px 0;
}
.select-box {
    width: 320px;
    position: relative;
    margin: 20px;
    display: inline-block;
}
select {
    min-width: 90%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--accordion-bg);
    padding: 16px ;
    font-weight: var(--accordion-font-weight);
    font-size: 20px;
    line-height: 28px;
    z-index: -10;
}
p {
    font-size: 16px;
    line-height: 24px;
    text-align: start;
    margin-bottom: 20px;
}
a {
    text-decoration: none;
    color: var(--link-color);
}
main ul, ol {
    margin-bottom: 24px;
}
main ul, ol li {
    text-align: left;
    margin-left: 30px;
    padding: 5px;
}
main ul li {
    padding: 5px;
    font-size: 16px;
}
.camp-cot {
    background: var(--accordion-bg);
    border-radius: 8px;
}
.camp-cot-span {
    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.camp-cot-span::after {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    content: '';
    background: url("../svg/arrow-open.svg") no-repeat;
    background-size: cover;
    float: right;
    margin-left: 5px;
}
span.minus::after {
    transform: rotate(180deg);
}
.camp-cot-p {
    position: relative;
    padding: 20px 25px;
    display: none;
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: var(--normal-font-size);
    font-weight: var(--text-font-weight);
}

/*!*------------------------------TABLES*!*/
.tables-wrap {
    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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--table-bg);
    overflow: hidden;
}
tr {
    border-bottom: 1px solid #545454;
}
tr:nth-child(2n+2){
    background: var(--extra-table-bg);
}
.title {
    background: var(--accordion-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;
}
.one {
    width: 40%;
    font-weight: var(--title-font-weight);
}
.up {
    display: none;
    justify-content: center;
    height: 35px;
    width: 35px;
    position: fixed;
    background: url("../svg/up.svg") no-repeat center;
    bottom: 50px;
    right: 30px;
}

/*!*------------------------------FOOTER*!*/
footer {
    background: var(--header-color);
    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 {
    margin: 20px;
    cursor: pointer;
}
footer p {
    color: #f3f3f3;
    font-size: var(--small-font-size);
    text-align: center;
    padding: 15px 0 0;
}
footer .logotype {
    width: 100%;
}

@media (min-width: 1050px) {
    .none {
        display: flex;
        align-items: center;
    }
/*    !*------------------------------HEADER*!*/
    .authoriz {
        display: flex;
        margin-left: 50px;
    }
    nav {
        width: auto;
        display: flex;
        flex-direction: row-reverse;
        position: relative;
        top: 0;
        margin-left: 50px;
    }
    nav div {
        width: auto;
        background: none;
    }
    nav ul {
        display: flex;
        margin: 0;
    }
    nav li {
        font-weight: var(--title-font-weight);
        margin: 20px;
        font-size: 13px;

    }
    .nav-box {
        min-width: 100%;
        justify-content: space-around;
    }
    .icons {
        display: none;
    }

    /*    !*------------------------------MAIN*!*/
    .mainbox {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
   /* article ul::after, ol::after, .tables-wrap::before, .tables-wrap::after {
        content: "";
        position: absolute;
        right: -15%;
        top: 20%;
        width: 770px;
        height: 770px;
        z-index: -1;
        background: radial-gradient(50% 50.00% at 50% 50.00%, rgba(239, 232, 145, 0.30) 0%, rgba(38, 38, 38, 0.00) 100%);
    }*/
    ol::after {
        left: -15%;
        top: 40%;
    }
    .tables-wrap::before {
        top: 60%;
    }
    .tables-wrap::after {
        left: -15%;
        top: 70%;
    }
    .select-box {
        min-width: 420px;
        display: block;
        float:left;
        margin: 0 16px 30px 0;
    }
    .second-art-img {
        float:left;
        margin-right: 50px;
    }
    main ul, ol {
        margin-left: 30px;
    }

/*    !*------------------------------TABLES*!*/
    table {
        padding: 50px 0 20px 0;
    }

    /*    !*------------------------------FOOTER*!*/
    footer > div {
        flex-wrap: nowrap;
    }
    footer .logotype {
        width: auto;
    }
}

