/* 1Lag: общая шапка */

.site-header {
    background: linear-gradient(to bottom,rgba(96,32,30,.98),#19171b);
    min-height: 150px;
}

.header-in {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 42px;
    padding: 25px 0 27px;
}

.logo {
    display: block;
    width: 235px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    justify-content: flex-end;
    flex: 1;
}

.nav a {
    min-width: 155px;
    text-align: center;
}

.nav-title {
    font: 400 24px/1.5 "Press Start 2P",monospace;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 7px;
}

.nav a.active .nav-title {
    color: var(--red);
}

.nav-title img {
    height: 49px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

.nav-desc {
    display: block;
    font: 400 15px/1.4 Montserrat,Arial,sans-serif;
    margin-top: 0;
    color: #e8e3e4;
}

.nav-toggle {
    display: none;
}

@media (max-width:1100px) {
    .nav {
        gap: 15px;
    }

    .nav-title {
        font-size: 17px;
    }

    .nav a {
        min-width: 120px;
    }

    .nav-title img {
        height: 38px;
    }
}

@media (max-width:800px) {
    .site-header {
        min-height: auto;
    }

    .header-in {
        align-items: center;
        padding: 14px 0;
    }

    .logo {
        width: 180px;
    }

    .nav {
        gap: 9px;
    }

    .nav-title {
        font-size: 11px;
    }

    .nav-title img {
        height: 25px;
        margin-left: 2px;
    }

    .nav-desc {
        font-size: 10px;
    }

    .nav a {
        min-width: 0;
    }
}

@media (max-width:560px) {
    .header-in {
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo {
        width: 175px;
    }

    .nav-toggle {
        display: block;
        color: #fff;
        background: #2e292a;
        border: 1px solid #544444;
        border-radius: 6px;
        padding: 7px 11px;
        margin-left: auto;
        font-size: 15px;
    }

    .nav {
        display: none;
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }

    .nav-title {
        font-size: 12px;
    }

    .nav-desc {
        font-size: 12px;
    }
}
