
/* Навигационное меню */
.navbar {
    background: rgb(41, 41, 41, 0.5);
    color: white;
    padding: 8px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

/* Логотип и название */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 52px; /* Задаем размер логотипа */
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-family: "Orelega One", serif;
    font-weight: 400;
    font-style: normal;
}

.logo a {
    color: white;
    text-decoration: none;
}

/* Меню */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
    display: inline;
    position: relative;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 20px 10px;
    transition: 0.3s;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

.menu a:hover {
    color: #f1c40f;
}

/* Скрытое подменю */
.has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -100%;
    background: rgb(41, 41, 41, 0.5);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-radius: 0.5rem;
    min-width: 200px;
    z-index: 10;
    margin-top: 20px;
    justify-content: center;
}

.has-submenu:hover .submenu {
    display: block;
}

/* Подпункты */
.submenu li {
    list-style: none;
}

.submenu li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

.submenu li a:hover {
    background-color: #1c2333;
}
