@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&family=Unbounded:wght@200..900&display=swap');

:root {
    --color-body: #213d33;
    /* Цвет всей страницы body */
    --color-shapka: #121c17;
    /* Цвет шапки, то что наверху */
    --color-hover-active: #2b5641;
    /* Цвет активной кнопки, в которой сейчас */
    --color-download: #4CAF50;
    /* Цвет кнопки скачать плагин */
    --text-color-light: #f0f0f0;
    /* Цвет для текста 1 */
    --text-color-white: white;
    /* Цвет для текста 2 */
}

/**/

* {
    box-sizing: border-box;
}

/* ======= Главные стили всей страницы ======= */
body {
    font-family: "Unbounded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    margin: 0;
    /* отступы блоков на странице*/
    background-color: var(--color-body);
    /* Главный фон страницы*/
    width: 100%;
    height: 100vh;
    color: #fff;
}

.google-font {
    font-family: "Onest", sans-serif;
}

/* ==== ==== */
.frame {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* ======= Стили шапки сайта, то что наверху ======= */

/* === Главные стили шапки === */
.shapka {
    width: 100%;
    height: 90px;
    background-color: var(--color-shapka);
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 100;
}

/* ===== Стили логотипа в шапке ===== */
.shapka-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* === Стили изображения в шапке === */
.shapka-logo img {
    height: 50px;
}

/* === Стили названия плагина в шапке ===*/
.shapka-title {
    color: var(--text-color-white);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* === Стили названия плагина в шапке для ссылки === */
.shapka-title a {
    text-decoration: none;
    color: var(--text-color-white);
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
}

/* Стили кнопок 1 */
.shapka-links {
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: end;
}

/* === Стили кнопок 2 === */
.shapka-links a {
    color: var(--text-color-light);
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
    font-weight: 400;
}

/**/
.shapka-links a:hover {
    background-color: var(--color-hover-active);
    color: var(--text-color-white);
}

/* === Стили активной кнопки в шапке === */
.shapka-links a.active {
    background-color: var(--color-hover-active);
    color: var(--text-color-white);
}

/* === Стили кнопки скачать === */
.shapka-links a.download {
    background-color: var(--color-download);
    color: var(--text-color-white);
}

/* === Стили меню в шапке === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color-white);
    cursor: pointer;
}


/* ======== Стили контента после шапки ======== */

.content {
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(/assets/img/ava.png);
    background-position: center;
    background-size: cover;
    padding: 100px 20px;
    text-align: center;
    margin-top: 90px;
}

.content-title h1,
.content-title p {
    color: var(--text-color-white);
}

.content-btns a {
    color: var(--text-color-white);
    text-align: center;
    padding: 12px;
    margin-left: 10px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 10px;
}

.btns-download {
    background-color: var(--color-download);
    color: var(--text-color-light);
}

.btns-bolshe {
    background-color: #627e70;
    color: var(--text-color-light);
}


/* Кнопки при наведения */
.content-btns a {
    position: relative;
    top: 0;
    transition: top ease 0.5s;
}

.content-btns a:hover {
    box-shadow: 0 0 12px var(--color-download);
    -moz-box-shadow: 0 0 12px var(--color-download);
    -o-box-shadow: 0 0 12px var(--color-download);
    -ms-box-shadow: 0 0 12px var(--color-download);
    -webkit-box-shadow: 0 0 12px var(--color-download);
}



.probel {
    content: " ";
}
.probel-footer {
    margin-bottom: 10px;
}
/* Footer */

footer {
    background-color: var(--color-shapka);
    padding: 50px 20px 30px;
    text-align: center;
    border-top: 1px solid var(--color-border);
    width: 100%;
    margin-bottom: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
}

.footer-logo h2 {
    color: var(--text-color-white);
    font-size: 1.8rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-highlight);
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    width: 100%;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* Медиа-запросы для адаптации на разных экранах */
@media (max-width: 992px) {
    .shapka-links {
        gap: 8px;
    }

    .shapka-links a {
        font-size: 16px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .shapka {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
    }
    
    .shapka-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
        margin-top: 10px;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--color-shapka);
        border-top: 1px solid #333;
        padding: 10px 20px;
        z-index: 99;
    }
    
    .shapka-links.show {
        display: flex;
    }

    .shapka-links a {
        padding: 10px 0;
        border-bottom: 1px solid #333;
        width: 100%;
        text-align: center;
    }

    .shapka-links a:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto; /* Центрирует кнопку меню справа */
    }

    /* Контент */
    .content {
        padding: 80px 10px;
        margin-top: 70px;
    }

    .content-title h1 {
        font-size: 2.5rem;
    }
    
    .content-title p {
        font-size: 1rem;
    }
    
    .content-btns {
        flex-direction: column;
        gap: 10px;
    }

    .content-btns a {
        margin: 0;
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    /* Футер */
    .footer-content {
        padding: 0 10px;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links a {
        padding: 5px 0;
        border-bottom: 1px solid #333;
        width: 100%;
    }

    .footer-links a:last-child {
        border-bottom: none;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .content-title h1 {
        font-size: 2rem;
    }
    
    .shapka-logo img {
        height: 40px;
    }
    
    .shapka-title a {
        font-size: 16px;
    }
}