@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
/* Reset and base styles  */
* {
    padding: 0;
    margin: 0;
    border: none;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* Links */
a:hover  {
    text-decoration: none;

}
/* 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%;
    display: block;
    height: auto;
    margin: 0 auto;
}
address {
    font-style: normal;
}
button {
    color: inherit;
    background-color: transparent;
}
/*------------------------------*/
:root {
    --background-color: #020003;
    --text-color: #F7F8FF;
    --header-color: #FFF;
    --border-color: #0092FB;
    --btn-color: linear-gradient(97deg, #330085 -3.36%, #0092FB 115.59%);
    --btn-extra-color: #2E0C8F;
    --table-bg-color: #002459;
    --logo-bg-color: #11161F;

    --text-font-weight: 400;
    --title-font-weight: 700;

    --big-font-size: 16px;
    --normal-font-size: 14px;
}

body {
    font-family: 'Inter', sans-serif;
    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;
}
.hidd {
    display: none;
}

/*------------------------------HEADER*/
header {
    color: var(--header-color);
    background: var(--background-color);
    min-width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.header-diV {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}
.head-secLVL {
    display: flex;
    align-items: center;
}
header span {
    font-weight: var(--title-font-weight);
    line-height: 20px;
    text-transform: uppercase;
    margin: 10px 5px;
    padding: 8px 25px;
    background: var(--logo-bg-color);
}
.svgItem {
    width: 36px;
    height: 30px;
    margin: 5px;
    cursor: pointer;
}
.open {
    background: url("../svg/burger.svg") no-repeat center;
}
.close {
    background: url("../svg/close.svg") no-repeat center;
}
nav {
    min-width: 100%;
    position: fixed;
    top: 57px;
    left: 0;
    background: var(--background-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}
nav::after {
    content: url("../svg/nav.svg");
    position: absolute;
    bottom: 50px;
    left: calc(50% - 150px);
}
nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    list-style: none;
    margin-top: 200px;
    text-transform: uppercase;
}
nav li {
    width: 90%;
    font-size: var(--big-font-size);
    line-height: 32px;
    padding: 16px 10px;
    margin-bottom: 40px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}
nav li:hover {
    color: var(--border-color);
}
.Login {
    display: flex;
    align-items: center;
}
.Login button {
    padding: 8px 13px;
    font-weight: var(--title-font-weight);
    margin: 5px;
    cursor: pointer;
    border-radius: 15px;
    white-space: nowrap;
    border: 2px solid var(--border-color);
}
.Login button:last-child {
    background: var(--btn-color);
    border: none;
    padding: 10px 15px;
}
.Login button:hover {
    background: var(--btn-extra-color);
    border-color: var(--btn-extra-color);
}
.Login button:last-child:hover {
    background: var(--border-color);
}

    /*------------------------------MAIN*/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 40px;
}
article {
    margin: 10px 15px 0 15px;
}
main > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 15px;
}
main figure:first-child {
    padding-bottom: 10px;
}
img {
    border-radius: 16px;
}
h1, h2, h3 {
    font-weight: var(--title-font-weight);
    text-align: start;
    margin-top: 25px;
    margin-bottom: 20px;
}
h1 {
    font-size: 32px;
}
h2 {
    font-size: 26px;
}
h3 {
    font-size: 20px;
}
main ul, ol {
    text-align: start;
    margin-bottom: 15px;
}
article > ul, ol {
    margin-left: 20px;
}
li {
    padding: 3px;
}
a {
    color: var(--border-color);
}
p {
    font-size: var(--normal-font-size);
    margin-bottom: 15px;
    line-height: 24px;
    text-align: start;
}

/*------------------------------TABLES*/
table {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}
tr {
    background: var(--background-color);
}
td, th {
    word-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid var(--table-bg-color);
}
th {
    word-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    font-weight: var(--title-font-weight);
    font-size: var(--big-font-size);
    background: var(--table-bg-color);
}
.tableFour td {
    width: 25%;
}
.tableThree td {
    width: 33%;
}
.tableTwo td {
    width: 50%;
}
.btn-up-top {
    display: none;
    justify-content: center;
    align-items: center;
    font-weight: bolder;
    font-size: 25px;
    height: 100px;
    width: 100px;
    position: fixed;
    bottom: 70px;
    right: 30px;
    border-radius: 50%;
    background: rgba(94, 93, 88, 0.55);
    cursor: pointer;
}
.btn-up-top:hover {
    background: var(--border-color);
}

/*------------------------------FOOTER*/
footer {
    background: var(--logo-bg-color);
}
footer p {
    font-size: 12px;
    margin: 30px 15px;
    text-align: center;
}

@media (min-width: 850px) {
    main {
        background: url("../img/bg.png") top center repeat-y;
        background-size: cover;
    }
    .hidd {
        display: flex;
    }

    /*------------------------------HEADER*/
    header span {
        margin-right: 40px;
    }
    .header-diV {
        justify-content: space-around;
    }
    .head-secLVL {
        width: 55%;
        justify-content: space-between;
    }
    .sVg {
        display: none;
    }
    nav {
        min-width: auto;
        background: none;
        position: relative;
        top: 0;
        flex-direction: row;
        align-items: center;
    }
    nav::after {
        content: none;
    }
    nav ul {
        width: auto;
        display: flex;
        flex-direction: row;
        margin: 0;
    }
    nav li {
        color: var(--text-color);
        font-size: var(--big-font-size);
        padding: 0;
        margin: 30px 40px;
        border: none;
    }
    .Login button {
        width: 140px;
    }
    .Login {
        margin-left: 20px;
    }

    /*------------------------------MAIN*/
    main {
        padding-top: 120px;
    }
    article {
        max-width: 1200px;
        margin: 20px 40px 0 40px;
    }
    main figure:first-child {
        padding-bottom: 25px;
    }
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 26px;
    }
    p {
        font-size: var(--big-font-size);
    }

    /*------------------------------TABLES*/
    td {
        font-size: var(--big-font-size);
        padding: 15px;
    }
    th {
        padding: 20px;
    }

}

