/* STYLES 1.0
Developer: t.me/moretheme
Developer site: https://lapse.site/
Screen resolution: 460, 860, 1440, 1920 */
:root {
    --bg: #fff;
    --bg2: #f4f4f4;
    --bg3: #2b3144;
    --text: #16151a;
    --text1: #fff;
    --color1: #3a71f9;
    --color2: #5a86f3;
    --color3: #ffeca6;
    --light: rgb(255 255 255 / 10%);
    --light2: rgb(255 255 255 / 30%);
    --dark: rgb(0 0 0 / 15%);
    --radius: 15px;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: normal;
    font-family: "Geologica", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

/* HEADER */
header {
    position: relative;
    background: url(../images/geometrichnaia-abstraktsiia-9.jpg) top repeat;
    box-shadow: inset 0 9999px rgb(0 0 0 / 60%);
    color: var(--text1);
    width: 100%;
    top: 0;
    padding: 10px 0;
    z-index: 7;
}

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

.header-logo, .header-logo img {
    position: relative;
    width: 100px;
    font-size: 28px;
    font-weight: bold;
    margin-right: auto;
}

.header-top {
    background: var(--bg3);
    color: #a3a7bc;
    padding: 5px 0;
}

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

.header-menu > a {
    display: inline-block;
    border-bottom: 3px solid transparent;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.header-menu > a + a {
    margin-left: 20px;
}

@media (max-width: 860px) {
    .header-menu > a + a {
        margin-left: 0;
    }
}

.header-menu > a:hover {
    border-bottom: 3px solid var(--color3);
}

.header-soc a {
    display: inline-block;
    border: 1px solid;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
}

.header-soc a:hover {
    color: var(--bg2);
}

.header-soc a + a {
    margin-left: 5px;
}

/* MOB MENU 11.0 */
.mobmenu-btn, .mobmenu-close {
    display: none;
}

.mobmenu-sub, .mobmenu-sub > a {
    position: relative;
    display: block;
    width: 100%;
}

.mobmenu-sub > a + div {
    display: block;
    background: #1c1a21;
    padding: 0;
    visibility: hidden;
    width: 100%;
    height: 0;
    opacity: 0;
    transition: all 0.3s;
}

.mobmenu-sub > a:after {
    display: inline-block;
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    margin-left: 20px;
}

.mobmenu-sub > a.active {
    background: #3a3744;
    color: #fff;
}

.mobmenu-sub > a.active:after {
    transform: rotate(180deg);
}

.mobmenu-sub > a.active + div {
    visibility: visible;
    opacity: 1;
    height: auto;
    padding: 10px 20px;
}

.mobmenu-sub > a.active + div a {
    display: block;
    padding: 8px 0;
    line-height: 1.5;
}

.mobmenu-sub > a.active + div a:hover {
    color: var(--color1)
}

@media (max-width: 860px) {
    .mobmenu-btn {
        display: block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        color: var(--bg2);
        font-size: 25px;
        text-align: center;
        margin-right: 15px;
    }

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

    .mobmenu-btn.active {
    }

    .mobmenu {
        position: fixed;
        background: #161e29;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        top: 64px;
        left: -300px;
        width: 240px;
        height: 100%;
        margin-left: 0;
        color: #fff;
        transition: left 0.3s;
        overflow-y: auto;
        z-index: 8;
    }

    .mobmenu.active {
        left: 0;
        border-radius: 0;
    }

    .mobmenu .mobmenu-close {
        position: fixed;
        top: -40px;
        right: 90px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        color: var(--bg2);
        font-size: 25px;
        text-align: center;
        transition: 0.3s;
    }

    .mobmenu.active .mobmenu-close {
        display: block;
        top: 20px;
    }
}

/* HEADER SEARCH */
.header-search {
    margin-left: auto;
}

.header-search form {
    display: flex;
    align-items: center;
    background: rgb(255 255 255 / 15%);
    border-radius: var(--radius);
    padding: 0 0 0 10px;
}

@media (max-width: 860px) {
    .header-search form {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        width: 100%;
        top: -40px;
        left: 0;
        background: #161e29;
        border-radius: 0;
        padding: 10px;
        transition: 0.3s;
        z-index: 5;
    }
}

.header-search.active form {
    visibility: visible;
    opacity: 1;
    top: 0;
}

.header-search .fa-magnifying-glass, .header-search .fa-xmark {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #999999;
    font-size: 20px;
    text-align: center;
}

.header-search form input {
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
    width: 250px;
    height: inherit;
    border-radius: 0;
    margin-left: 15px;
}

.header-search form input::placeholder {
    color: #999999;
}

.header-search form .fa-microphone {
    display: inline-block;
    background: var(--light);
    border-radius: var(--radius);
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.header-search .fa-xmark:not(.header-search.active .fa-xmark) {
    display: none;
}

/* HEADER USER */
.header-user > img {
    display: inline-block;
    border: 1px solid var(--light2);
    padding: 2px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
}

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

.header-user > div {
    position: absolute;
    width: 220px;
    top: 100%;
    right: 0;
    background: #fff;
    color: #000;
    padding: 20px;
    box-shadow: 0 6px 25px -1px rgba(73,141,255,.3);
    border-radius: var(--radius);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 5;
}

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

.header-user_head {
    display: flex;
    align-items: center;
    justify-content: right;
    margin-bottom: 20px;
}

.header-user_head a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-left: 10px;
}

.header-user_info {
    text-align: center;
}

.header-user_info > img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.header-user_info > span {
    display: block;
    color: #454252;
    font-weight: bold;
    margin-bottom: 5px;
}

.header-user_info > a {
    display: inline-block;
    color: var(--color1);
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px dotted var(--color1);
    margin: 5px;
}

.header-user_info > a i {
    margin-right: 5px;
}

.header-user_group {
    display: inline-block;
    background: var(--bg2);
    border-radius: var(--radius);
    color: #b9b3d3!important;
    padding: 4px 10px;
    font-size: 10px;
}

.header-user_balance > span {
    display: block;
    color: #454252;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
}

.header-user_balance > span:first-child {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

/* MODAL LOGIN 0.2 */
a[href="#modal-login"] {
    display: inline-block;
    background: var(--color1);
    color: var(--text1);
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
}

a[href="#modal-login"]:hover {
    opacity: 0.8;
}

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

.modal-login form {
    position: fixed;
    min-width: 600px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-auto-rows: max-content;
    grid-template-columns: 300px 450px;
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius);
    text-align: center;
    z-index: 9;
}

@media (max-width: 860px) {
    .modal-login form {
        grid-template-columns: 1fr;
        min-width: 100%;
        border-radius: 0;
    }
}

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

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

.modal-login_bg {
    background: linear-gradient(225deg, #e14c03, #190900);
    border-radius: var(--radius) 0 0 var(--radius);
    overflow: hidden;
}

.modal-login_content {
    padding: 35px 60px;
}

@media (max-width: 860px) {
    .modal-login_content {
        padding: 40px;
    }
}

.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: right;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 20px;
    text-align: right;
    text-decoration: underline dotted #20a8d8;
}

.modal-login_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
}

.modal-login_btn > a {
    background: var(--bg3);
}

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

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

.modal-login_soc > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-login_soc > div a {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    overflow: hidden;
}

.modal-login_soc > div a iframe {
    position: absolute;
    top: 12px;
    left: 0;
    opacity: 0;
}

.modal-login_soc > div a + a {
    margin-left: 15px;
}

.modal-login_soc > div a img {
    border: 2px solid var(--bg2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 8px;
}

/* TOOLTIP */
[data-tooltip] {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -220%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    width: max-content;
    background: black;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: normal;
    transition: all 0.3s;
    z-index: 1;
}

[data-tooltip]:hover::before {
    content: " ";
    position: absolute;
    right: 6px;
    bottom: -6px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

[data-tooltip]:hover::after {
    visibility: visible;
    opacity: 1;
}

/* JOL BEST */
.jol-best_items {
}

.jol-best_item {
    position: relative;
    border: 3px solid var(--bg);
    border-radius: var(--radius);
    box-shadow: 0 6px 25px -1px rgba(73,141,255,.3);
    width: 100%;
    height: 350px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .jol-best_item {
        height: 390px;
    }
}

.jol-best_items > *:nth-child(2n) {
    background: var(--bg);
}

.jol-best_item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, #161e29, transparent);
}

.jol-best_items > *:nth-child(2n):before {
    display: none;
}

.jol-best_item > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.jol-best_item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jol-best_items > *:nth-child(2n) > img {
    display: none;
    aspect-ratio: 16/9;
    height: auto;
}

.jol-best_content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    z-index: 2;
    color: #fff;
}

.jol-best_items > *:nth-child(2n) .jol-best_content {
    position: relative;
    color: var(--text);
}

.jol-best_title {
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.jol-best_text, .jol-best_text p {
    color: #dedede;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
}

.jol-best_items > *:nth-child(2n) .jol-best_text, .jol-best_items > *:nth-child(2n) .jol-best_text p {
    color: #343b4c;
    -webkit-line-clamp: 6;
    line-height: 1.5;
}

.jol-best_meta {
    align-items: center;
    margin-top: 30px;
}

.jol-best_meta > span {
    color: #dedede;
    margin-right: 15px;
}

.jol-best_items > *:nth-child(2n) .jol-best_meta > span {
    color: #777e98;
}

.jol-best_meta > span i {
    margin-right: 10px;
}

.jol-best_user {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.jol-best_user > img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

/* BEST CHECK */
.jol-check {
    color: #1793e6;
    margin-left: 5px;
    font-size: 12px;
}

.jol-check.fa-gem {
    color: #8BC34A;
}

/* JOL SHORT */
.jol-short {
    display: grid;
    grid-gap: 40px;
    grid-auto-rows: max-content;
    grid-template-columns: 1fr 400px;
}

@media (max-width: 860px) {
    .jol-short {
        grid-template-columns: 1fr;
    }
}

.jol-short_items {
}

.jol-short_item {
    position: relative;
    display: flex;
    grid-gap: 20px;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

.jol-short_item + * {
    margin-top: 20px;
}

.jol-short_bg {
    display: inline-block;
    aspect-ratio: 16/9;
    width: 200px;
    min-width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
}

@media (max-width: 860px) {
    .jol-short_bg {
        width: 100%;
    }
}

.jol-short_content {
    width: 100%;
}

.jol-short_title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.jol-short_title:hover {
    color: var(--color2);
}

.jol-short_title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jol-short_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jol-short_meta > span {
    color: #777e98;
    margin-right: 15px;
}

.jol-short_meta > span i {
    margin-right: 10px;
}

/* JOL NOW */
.jol-now_items {
    position: relative;
    width: 100%;
    background: var(--bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 6px 25px -1px rgba(73,141,255,.3);
}

.jol-now_item {
    position: relative;
}

.jol-now_item + * {
    margin-top: 20px;
}

.jol-now_item > a {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.jol-now_item > a:hover {
    color: var(--color2);
}

.jol-now_item > a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* JOL VIDEO */
.jol-vid_item {
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 5px 30px -10px rgba(49,94,251,.3);
    margin-top: 20px;
    overflow: hidden;
}

.jol-vid_bg {
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    height: auto;
    overflow: hidden;
}

.jol-vid_bg .fa-play {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color1);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
}

.jol-vid_content {
    padding: 20px;
}

.jol-vid_content > a {
    display: block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
}

.jol-vid_content > a:hover {
    color: var(--color2);
}

.jol-vid_content > a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jol-vid_content > span {
    color: #777e98;
    margin-right: 15px;
}

.jol-vid_content > span i {
    margin-right: 10px;
}

/* JOL FULL */
.jol-full {
    display: grid;
    grid-gap: 40px;
    grid-auto-rows: max-content;
    grid-template-columns: 1fr 400px;
}

@media (max-width: 860px) {
    .jol-full {
        grid-template-columns: 1fr;
    }
}

.jol-full_head {
    align-items: center;
    justify-content: space-between;
    color: #777e98;
    font-size: 16px;
    margin-bottom: 30px;
}

@media (max-width: 860px) {
    .jol-full_head {
        justify-content: center;
        grid-gap: 10px;
    }
}

.jol-full_head span + span {
    margin-left: 20px;
}

.jol-full_head span i {
    margin-right: 8px;
}

.jol-full_cat {
    background: #7ab33b;
    color: #fff;
    border-radius: var(--radius);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.jol-full_cat + span {
    color: #777e98;
    margin-left: 30px;
    margin-right: auto;
}

.jol-full_share {
    position: relative;
    background: var(--bg);
    color: #343b4c;
    border-radius: var(--radius);
    box-shadow: 0 6px 25px -1px rgba(73,141,255,.3);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-left: 20px;
    cursor: pointer;
}

.jol-full_share:hover {
    color: var(--color3);
}

.jol-full_share > div {
    position: absolute;
    background: var(--bg2);
    border: 1px solid var(--light);
    box-shadow: 0 6px 25px -1px rgba(73,141,255,.3);
    border-radius: var(--radius);
    width: max-content;
    padding: 10px;
    bottom: -50px;
    right: -10px;
    visibility: hidden;
    opacity: 0;
    z-index: 3;
    transition: 0.3s;
}

@media (max-width: 860px) {
    .jol-full_share > div {
    }
}

.jol-full_share > div:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 87%;
    width: 10px;
    height: 10px;
    background: var(--bg2);
    transform: rotate(45deg);
}

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

.jol-full_bg {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.jol-full_text {
    display: block;
    font-weight: 300;
    margin-top: 20px;
}

.jol-related {
    position: relative;
    background: url(../images/geometrichnaia-abstraktsiia-9.jpg) top repeat;
    box-shadow: inset 0 9999px rgb(0 0 0 / 60%);
    color: #fff;
    border-radius: var(--radius);
    padding: 20px 30px;
    margin: 20px 0;
    overflow: hidden;
}

.jol-related_item {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.jol-related_item + * {
    border-top: 1px solid var(--light);
    margin-top: 10px;
    padding-top: 10px;
}

.jol-related_item:hover {
    text-decoration: underline dotted;
}

.jol-related > span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ffeca6;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.jol-full_meta {
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.jol-full_tags a {
    display: inline-block;
    color: #343b4c;
    background: #e0ebff;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* FOOTER */
footer {
    position: relative;
    background: #161e29;
    color: #fff;
    padding: 30px 0;
}

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

@media (max-width: 860px) {
    footer .container {
        justify-content: center;
    }
}

.footer-logo {
    font-size: 30px;
    font-weight: bolder;
    text-transform: uppercase;
}

@media (max-width: 860px) {
    .footer-logo, .footer-help, .footer-dev {
        display: none;
    }
}

.footer-menu_sub {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-menu_sub:nth-child(2) {
    color: var(--text2);
    font-size: 12px;
    margin: 20px 0;
}

.footer-menu_sub a + a {
    margin-left: 20px;
}

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

.footer-soc > a {
    display: inline-block;
    background: var(--light);
    color: #a3a7bc;
    border-radius: var(--radius);
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
}

.footer-soc > a + a {
    margin-left: 10px;
}

.footer-soc > a:hover {
    background: var(--color1);
    color: var(--text);
}

.footer-help {
    color: var(--text2);
    font-size: 12px;
    text-align: right;
}

.footer-help a {
    display: block;
    font-size: 18px;
    color: #fff;
    margin-top: 10px;
}

.footer-copyright {
    display: block;
    width: 100%;
    flex: 100%;
    color: var(--text2);
    opacity: 0.4;
    font-weight: 400;
    margin-top: 15px;
}

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

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