@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    font-family: "Mulish", sans-serif;
}

:root {
    --theme-text-color: #000000;
    --theme-text-desc-color: #3e3e3e;
    --theme-mbg-color: #f0f3f5;
    --theme-header-color: #f0f3f5cb;
    --theme-btn-color: #0f1d26;
    --theme-border-color: #d7dfe1;
    --theme-btn-text-color: #f6fdff;
    --theme-box-color: #F8FAFC;
    --theme-scroll-color: #d5dbdfd1;
    --theme-body-color: #fff;
    --theme-footer-bg: #f8f9fa;
    --main-color: #078ad6;
}

.dark-theme {
    --theme-text-color: #d7ddde;
    --theme-text-desc-color: #858b90;
    --theme-mbg-color: #080c0e;
    --theme-header-color: #080c0ecb;
    --theme-btn-color: #f6fdff;
    --theme-border-color: #1d2328;
    --theme-btn-text-color: #181818;
    --theme-box-color: #101315;
    --theme-scroll-color: #232427;
    --theme-body-color: #080c0e;
    --theme-footer-bg: #101315;
}

body {
    transition: 0.15s ease-in-out;
    background: var(--theme-body-color);
}
header {
    width: 100%;
    top: 0;
    right: 0;
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    padding: 22px 10%;
    left: 0;
    transition: 0.15s ease-in-out;
    z-index: 5;
}

header.sticky {
    background: var(--theme-header-color);
    box-shadow: 0 0 20px #00000018;
    backdrop-filter: blur(8px);
}

header .theme {
    vertical-align: middle;
    font-size: 20px;
    margin-right: 10px;
    color: var(--theme-text-color);
    cursor: pointer;
}

header .logotype {
    font-size: 20px;
    font-weight: 700;
    color: var(--theme-text-color);
    transition: 0.15s ease-in-out;
}

@media (hover: hover) {
    header .logotype:hover {
        color: var(--main-color);
    }
}

@media (hover: none) {
    header .logotype:active {
        color: var(--main-color);
    }
}

header .links {
    display: flex;
    margin-left: 125px;
}

header .links a {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-text-color);
    margin-right: 60px;
    display: inline-block;
    transition: 0.15s ease-in-out;
}

header .links li:last-child a {
    margin-right: 0;
}

header .links a:hover {
    color: var(--main-color);
}

header .reg {
    font-weight: 600;
    color: var(--theme-btn-text-color);
    background: var(--theme-btn-color);
    padding: 9px 18px;
    border-radius: 50px;
    transition: 0.15s ease-in-out;
}

header .reg:hover {
    background: var(--main-color);
}

header .login {
    font-weight: 600;
    color: var(--white-text-color);
    margin-right: 15px;
}

header .mobile-mode {
    display: none;
}

header .menu-list {
    display: none;
}

@media screen and (max-width: 1176px) {
    header .reg {
        display: none;
    }
    header .links {
        display: none;
    }

    header .right-side {
        display: none;
    }

    header .mobile-mode {
        display: flex;
        position: fixed;
        top: 18px;
        right: 5%;
    }

    header .theme {
        margin-top: 7px;
        margin-right: 5px;
    }

    header .menu-icon {
        font-size: 32px;
        color: var(--theme-text-color);
    }

    header .menu-list {
        display: block;
        position: absolute;
        background-color: var(--theme-body-color);
        border: 1px solid var(--theme-border-color);
        border-radius: 6px;
        z-index: 1;
        transition: all .5s ease;
        right: 30px;
        top: 70px;
        transform: translateY(-20px);
        transition: 0.35s ease;
    }

    header li {
        color: var(--theme-text-color);
        padding: 10px 14px;
        text-decoration: none;
        display: block;
        font-size: 15px;
        border-bottom: 1px solid var(--theme-border-color);
        transition: background-color 0.2s ease-in-out;
    }

    header .menu-list li:hover {
        background-color: var(--popup-color);
    }

    header .menu-list li:last-child {
        border-bottom: 1px solid transparent;
    }

    header .menu-list a {
        font-size: 16px;
        font-weight: 600;
        color: var(--theme-text-color);
        margin-right: 0px;
        display: inline-block;
        transition: 0.3s ease-in-out;
    }

    header .menu-list.hide {
        opacity: 0;
        transform: translateY(-20px);
    }
}

#main {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 120px 16%;
    align-items: center;
    justify-content: center;
    transition: 0.15s ease-in-out;
}

.container {
    display: flex;
    justify-content: space-between;
}

.faq-sidebar {
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: var(--theme-body-color);
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 2px 5px #00000010;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
    width: 350px;
    position: relative;
    transition: 0.15s ease-in-out;
    padding-left: 90px;
    color: var(--theme-text-color);
}

@media (hover: hover) {
    .faq-item:hover {
        background-color: var(--theme-btn-color);
    }
}

@media (hover: none) {
    .faq-item:active {
        background-color: var(--theme-btn-color);
    }
}

.faq-item.active {
    background: var(--main-color);
    color: #fff;
}

.faq-item.active .icon i {
    color: var(--main-color);
    background: #fff;
}

@media (hover: hover) {
    .faq-item.active:hover .icon i {
        color: var(--main-color);
    }
}

@media (hover: none) {
    .faq-item.active:active .icon i {
        color: var(--main-color);
    }
}

@media (hover: hover) {
    .faq-item:hover .title, .faq-item:hover .desc {
        color: var(--theme-mbg-color);
        transition: 0.15s ease-in-out;
    }
}

@media (hover: none) {
    .faq-item:active .title, .faq-item:active .desc {
        color: var(--theme-mbg-color);
        transition: 0.15s ease-in-out;
    }
}

@media (hover: hover) {
    body.dark-theme .faq-item:hover .icon i {
        color: #0f1d26;
    }
}

@media (hover: none) {
    body.dark-theme .faq-item:active .icon i {
        color: #0f1d26;
    }
}

.faq-item .icon i {
    color: var(--theme-mbg-color);
}

.faq-item .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.faq-item .desc {
    font-size: 15px;
    font-weight: 500;
}

.icon {
    margin-right: 10px;
}

.icon i {
    font-size: 36px;
    position: absolute;
    left: 5%;
    top: 25%;
    padding: 10px;
    background-color: var(--theme-btn-color);
    color: #fff;
    border-radius: 10px;
    vertical-align: middle;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease-in-out;
}

.faq-content {
    flex-grow: 1;
    margin-left: 20px;
}

.faq-answer.active {
    display: block;
}

.faq-answer {
    display: none;
}

.faq-answer .instr {
    font-weight: 600;
    font-size: 19px;
    padding-bottom: 10px;
}

.faq-answer .ans li {
    margin: 2px 0;
    list-style-type: disc;
    margin-left: 20px;
}

.faq-answer .ans .img-instr {
    margin-bottom: 20px;
}

.faq-answer .ans .img-instr img {
    max-width: 500px;
}

.faq-answer .ans .img-instr img.gui {
    max-width: 700px;
}

.faq-answer .ans li:first-child {
    margin-top: 0;
}

.faq-answer .aue {
    padding: 20px;
    margin-bottom: 20px;
    background: var(--theme-body-color);
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 2px 5px #00000010;
    border-radius: 10px;
}

.faq-answer .aue .quest {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--theme-text-color);
}

.faq-answer .aue .ans {
    font-size: 15px;
    font-weight: 500;
    color: var(--theme-text-color);
}

.faq-answer .aue .ans span.select {
    color: #1785ca;
    font-weight: 600;
}

.footer {
    background-color: var(--theme-footer-bg);
    padding: 40px 0;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-color);
    text-align: left;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.footer a {
    color: var(--theme-text-color);
    transition: color 0.5s ease;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-md.data p {
    font-size: 14px;
    color: var(--theme-text-desc-color);
}

.col-md {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 0 20px;
    margin-bottom: 50px;
}

.col-md a:hover {
    color: var(--main-color); 
}



.col-md .loho {
    margin-bottom: 20px;
    font-size: 21px;
}

.col-md .ez {
    color: var(--theme-text-color);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
}

.col-md a {
    display: block; /* Превратить ссылки в блочные элементы */
    width: max-content; /*ограничиваем кнопочки*/
    margin-bottom: 8px; /* Расстояние между ссылками */
    text-decoration: none; /* Убрать подчеркивание */
    color: var(--theme-text-desc-color); /* Цвет текста ссылок */
    font-size: 17px;
    font-weight: 500;
    transition: color 0.5s ease;
}


@media (max-width: 767px) {
    .col-md {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    header {
        padding: 22px 5%;
    }

    header .links {
        flex-direction: column;
    }

    header .theme {
        right: 70px;
    }

    .footer {
        display: none;
    }

    #main {
        padding: 80px 5%;
    }

    .container {
        flex-direction: column;
    }

    .faq-item {
        background-color: var(--theme-box-color);
        padding: 15px;
        width: 100%;
    }

    .faq-item .title {
        font-size: 16px;
    }

    .icon {
        display: none;
    }

    .faq-content {
        margin-left: 0; 
        margin-bottom: 100px;
        flex-grow: 1;
        margin-left: 0;
        padding-top: 25px;
    }

    .faq-answer {
        max-height: 300px;
        transition: max-height 0.3s ease-out;
        padding-bottom: 20px;
    }
    
    .faq-answer.active {
        max-height: 1000px;
    }

    .faq-answer .instr {
        font-size: 18px;
    }

    .faq-answer .ans .img-instr img {
        max-width: 100%;
    }

    .faq-answer .ans .img-instr img.gui {
        max-width: 100%;
    }

    .faq-answer .aue {
        padding: 15px;
        margin-bottom: 15px;
    }

    .faq-answer .aue .quest {
        font-size: 18px;
    }

    .faq-answer .aue .ans {
        font-size: 14px;
    }
}