/* #region // MAIN */
.subnavbar {
    position: absolute;

    text-align: center;

    width: 100%;
    top: 0;
    margin: 0 auto;

    height: 55px;
    background-color: hsl(0, 0%, 0%);

    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.subnavbar ul {
    overflow: hidden;
    list-style-type: none;

    text-align: left;

    margin: 0px;
    padding: 0px;
}

.subnavbar li {
    display: inline;
}

.subnavbar-item a {
    display: inline-block;
    position: relative;

    text-align: center;

    padding: 15px 5px;

    color: hsl(0, 0%, 100%);
}

.subnavbar a::after {
    position: absolute;
    content: '';

    height: 2px;
    width: 0;
    bottom: 10px;
    left: 10px;

    background-color: hsl(0, 0%, 100%);

    transition: width 0.3s ease;
}

.subnavbar-item:hover a::after {
    width: calc(100% - 20px);
}

.subnavbar-item {
    font-family: 'Oswald';
    font-size: 15px;
    font-weight: 700;

    margin-top: -5px;
}

.subnavbar.hide {
    opacity: 0;
    pointer-events: none;
}

/* #endregion */

/* #region // LEFT */
.subnavbar-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;

    top: 7px;
    left: 235px;
    gap: 15px;
    z-index: 2000;
}

/* #endregion */

/* #region // RIGHT */
.subnavbar-right {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: absolute;

    top: 8px;
    right: 50px;
    gap: 15px;
    z-index: 2000;
    min-height: 40px;
}

/* #endregion */

/* #region // RESPONSIVE */
@media (pointer: coarse) and (hover: none) {
    .subnavbar a::after {
        background-color: hsla(0, 0%, 0%, 0);
    }
}

@media (max-width: 768px) {
    .logo_alt {
        position: relative;
        left: 0;
    }

    .subnavbar-left,
    .subnavbar-right,
    #button-lang,
    #button-audio {
        display: none;
    }

    .subnavbar-left {
        width: auto;
        justify-content: flex-start;
    }
}

/* #endregion */