/* STYLES 3.2
Developer: t.me/moretheme
Screen resolution: 460, 860, 1440, 1920 */
:root {
    --bg: #a6523a;
    --bg2: #fff;
    --text: #fff;
    --text1: #000;
    --color1: #f5de3d;
    --color2: #fde17d;
    --color3: #2c8d57;
    --color4: #302325;
    --color5: #463437;
    --light: rgb(255 255 255 / 10%);
    --light2: rgb(255 255 255 / 55%);
    --dark: rgb(0 0 0 / 30%);
    --radius: 15px;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: normal;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* MAIN, ASIDE, SPEEDBAR, CAT NAME*/
aside {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 25px;
    width: 400px;
    height: 100%;
    background: url(../images/bglev.jpg) no-repeat left/cover;
    border-right: 1px solid var(--light);
    box-shadow: inset 0 999px rgb(0 0 0 / 20%);
}

@media (max-width: 860px) {
    aside {
        display: none;
    }
}

main {
    margin-left: 400px;
}

@media (max-width: 860px) {
    main {
        margin-left: 0;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

.speedbar {
    display: inline-block;
    color: #f9d9d0;
    font-size: 14px;
    margin-bottom: 30px;
}

.speedbar a:hover {
    color: var(--color1);
}

header + h1 + p, .dle-form h1 + p {
    color: #fff;
    max-width: 600px;
}

/* HEADER */
header {
    border-bottom: 1px solid var(--light);
    color: #fff;
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo, .header-logo img {
    width: 60px;
    height: 60px;
}

.header-menu {
    margin: 0 auto;
    font-weight: bold;
    text-transform: uppercase;
}

.header-menu a:hover {
    color: var(--color2);
}

/* HEADER SEARCH 2.0 */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: var(--radius);
    margin-right: 10px;
    transition: 0.3s;
    z-index: 6;
}

@media (max-width: 860px) {
    .header-search.active {
        position: fixed;
        background: var(--color1);
        padding: 25px 10px;
        border-radius: 0;
        top: 0;
        left: 0;
        width: 100%;
        margin-left: 0;
    }
}

.header-search_icon, .header-search_close {
    display: inline-block;
    color: var(--text);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}

.header-search input {
    visibility: hidden;
    opacity: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    width: 0;
    color: var(--text);
    transition: opacity 0.3s;
}

.header-search.active input {
    visibility: visible;
    opacity: 1;
    width: 260px;
}

.header-search input::placeholder {
    color: var(--text);
    opacity: 0.8;
    font-weight: 300;
}

.header-search.active .header-search_close {
    display: inline-block;
    cursor: pointer;
}

.header-search_close {
    display: none;
}

@media (max-width: 860px) {
    .header-search_close {
        position: absolute;
        opacity: 0.6;
        top: initial;
        right: 0;
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 25px;
        text-align: center;
    }
}

/* HEADER USER */
.header-user > a {
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
}

.header-user > a .fa-user, .header-user > a > img {
    display: inline-block;
    background: var(--color1);
    color: var(--text1);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
}

.header-user > a > span {
    margin-left: 10px;
}

.header-user > a i:last-child {
    margin-left: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.header-user.active > a i:last-child {
    transform: rotate(180deg);
}

.header-user > div {
    position: absolute;
    background: var(--bg2);
    color: var(--text1);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    width: 220px;
    top: 50px;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    overflow: hidden;
    z-index: 5;
}

.header-user.active > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.header-user_av {
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--dark);
}

.header-user_av > img {
    width: 34px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
}

.header-user_av > span {
    flex: 1 1 0%;
    max-width: 100%;
    min-width: 50px;
    margin-left: 10px;
    font-weight: bold;
}

.header-user_av > span span {
    display: block;
    font-size: 12px;
}

.header-user_menu a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
}

.header-user_menu a:hover {
    background: var(--color1);
}

.header-user_menu a i {
    margin-right: 10px;
    opacity: 0.8;
}

/* MODAL LOGIN 0.2 */
.modal-login > a {
    display: inline-block;
    background: var(--color3);
    color: var(--color1);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: bold;
    cursor: pointer;
}

.modal-login > a:hover {
    opacity: 0.8;
}

.modal-login > a i {
    margin-right: 10px;
    margin-top: 1px;
    float: left;
}

.modal-login form {
    display: none;
    position: fixed;
    min-width: 500px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: var(--bg2);
    color: var(--text1);
    padding: 40px 80px;
    border-radius: var(--radius);
    text-align: center;
    z-index: 9;
}

@media (max-width: 860px) {
    .modal-login form {
        min-width: 100%;
        padding: 30px;
        border-radius: 0;
    }
}

.modal-login form > i {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color1);
    border-radius: var(--radius);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
}

.modal-login form > i:hover {
    background: var(--color2);
    color: var(--text1);
}

.modal-login .e-float > a {
    position: absolute;
    top: 15px;
    right: 15px;
    border-bottom: 1px dotted #20a8d8;
}

.modal-login_lost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c5c5c5;
    margin-bottom: 20px;
}

.modal-login_lost a:hover {
    color: var(--color1);
}

.modal-login_btn > a {
    background: var(--color1);
    color: var(--text1);
    margin-left: 20px;
}

.modal-login_btn > a:hover {
    background: var(--color2);
    opacity: 0.8;
}

.modal-login_soc span {
    display: block;
    color: #767389;
    margin: 20px 0;
}

.modal-login_soc .e-flex {
    align-items: center;
    justify-content: center;
}

.modal-login_soc .e-flex > a, .modal-login_soc .e-flex a > img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

/* MOB MENU 0.3 */
.mobmenu-btn {
    display: none;
}

@media (max-width: 860px) {
    .mobmenu-btn {
        display: block;
        background: var(--color1);
        color: var(--text1);
        border-radius: 5px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        text-align: center;
        margin-left: 10px;
    }

    .mobmenu-btn.active:before {
        content: "\f00d";
    }

    .mobmenu-btn.active {
        z-index: 9;
    }

    .mobmenu {
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        top: 0;
        left: -300px;
        width: 240px;
        height: 100%;
        margin-left: 0;
        transition: 0.3s;
        overflow-y: auto;
        z-index: 9;
    }

    .mobmenu.active {
        display: flex;
        align-items: flex-start;
        left: 0;
        padding: 20px;
        border-radius: 0;
    }

    .mobmenu a + div, .mobmenu a {
        display: block;
        width: 100%;
    }

    .mobmenu div > div {
        display: none;
        width: 100%;
        top: 0;
        column-count: 1;
    }

    .mobmenu div > a.active + div {
        position: relative;
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* LEV ABOUT */
.lev-about {
    position: relative;
    align-items: center;
    justify-content: space-between;
    margin: 60px 0;
}

.lev-about_user {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 30px;
}

.lev-about_user img {
    display: inline-block;
    width: 90px;
    height: auto;
    margin-right: 25px;
}

.lev-about_user span:first-child {
    display: block;
    color: #f9d9d0;
    font-size: 14px;
    font-weight: 500;
}

.lev-about_link {
    display: inline-block;
    background: url(../images/fag.webp) no-repeat left/cover var(--color4);
    color: var(--color1);
    padding: 25px 30px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: bold;
}

.lev-about_link > a {
    display: inline-block;
    background: var(--light);
    padding: 5px 20px;
    border-radius: var(--radius);
    color: #fff;
    margin-top: 10px;
}

/* LEV ITEM */
.lev-item {
    position: relative;
    background: var(--bg2);
    border-radius: var(--radius);
    color: var(--text1);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    overflow: hidden;
}

.lev-item > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.lev-item_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    height: 350px;
}

.lev-item h3 {
    margin-bottom: 20px;
}

.lev-item_text, .lev-item_text p {
    font-size: 15px;
}

.lev-item_meta {
    background: var(--bg3);
    color: #fff;
    padding: 20px;
    font-size: 14px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.lev-item_meta span + span {
    margin-left: 20px;
}

.lev-item_meta span i {
    margin-right: 10px;
    color: var(--color1);
}

.lev-item_links {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.lev-item_price {
}

.lev-item_price span {
    display: inline-block;
    float: left;
    font-size: 40px;
    font-weight: bold;
}

@media (max-width: 860px) {
    .lev-item_price span {
        font-size: 30px;
    }
}

.lev-item_price span:last-child {
    font-size: 16px;
    margin-top: 8px;
    margin-left: 10px;
    margin-right: 20px;
}

/* LEV FULL */
.lev-full_fon {
    position: absolute;
    top: -20vh;
    width: 100%;
    height: 400px;
    left: 100px;
    filter: blur(30px);
    opacity: 0.3;
    z-index: -2;
}

.lev-full {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

@media (max-width: 860px) {
    .lev-full {
        flex-direction: column;
    }
}

.lev-full_content {
}

.lev-full_content [id="player"] {
    border-radius: var(--radius);
    overflow: hidden;
}

.lev-full_pdf {
    max-width: max-content;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: #e95340;
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.lev-full_iframe {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

@media (max-width: 860px) {
    .lev-full_iframe {
        width: 100vw!important;
        margin-left: -20px;
    }
}

.lev-full_text {
    margin: 40px 0;
}

.lev-full_otvet > ul {
    display: grid;
    grid-gap: 20px 20px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(2, 1fr);
}

.lev-full_otvet > ul li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px 0 rgba(4, 73, 89, 0.1);
    border: 1px dashed var(--color1);
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
}

.lev-full_more {
    position: relative;
    display: block;
    width: 300px;
    margin-left: 40px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .lev-full_more {
        width: 100%;
        margin-left: 0;
    }
}

.lev-full_more .xfieldimage.poster {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.lev-full_buy {
    background: var(--color1);
    color: var(--text1);
    padding: 20px;
    text-align: center;
}

.lev-full_pay {
    position: relative;
    display: block;
    border: 1px solid var(--light2);
    border-radius: var(--radius);
    padding: 20px;
    font-size: 25px;
    font-weight: bold;
    margin: 20px 0;
}

.lev-full_pay span {
    display: block;
    color: #9b8882;
    font-weight: 500;
    font-size: 18px;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.lev-full_pay + .e-btn {
    width: 100%;
}

.lev-full_teleg > span {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0;
}

.lev-full_teleg > span i {
    margin-left: 5px;
}

.lev-full_teleg > a {
    display: block;
    background: #3390ec;
    color: #fff;
    padding: 8px 10px;
    border-radius: var(--radius);
}

.lev-full_teleg > a i {
    margin-right: 8px;
}

/* FOOTER */
footer {
    position: relative;
    background: var(--color4);
    color: #fff;
    padding: 30px 0;
    margin-top: 30px;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 860px) {
    footer .container {
        display: block;
    }
}

footer .container div + div {
    margin-left: 20px;
}

@media (max-width: 860px) {
    footer .container div + div {
        margin-left: 0;
        margin-top: 20px;
    }
}

.footer-copy span {
    display: block;
    font-size: 12px;
}

.footer-copy span:first-child {
    color: #97817c;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--color2);
}

.footer-soc {
    display: flex;
    align-items: center;
}

.footer-soc a {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: var(--light);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.footer-soc a:hover {
    background: var(--color3);
}

.footer-dev {
    position: absolute;
    bottom: -20px;
    right: 0;
    color: #797882;
    font-size: 10px;
}

.footer-dev a {
    color: var(--color1);
    margin-left: 5px;
}
