

.top_menu{
    background-color: black;
    width: 100%;
    display: inline-flex;
    height: 6vh;
    z-index: 500000;
    position: fixed;
    top: 0;
}

.top_menu .menu-container{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-left: 77px
}

.top_menu .language-switch-container{
    margin: auto 0;
    margin-left: auto;
}

/* Animations for text lines (float in) */
@keyframes floatIn {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.top_menu .menu-container a{
    display: flex;
    padding: 10px 5px 10px 5px;
    min-width: 85px;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-family: "Verdana", serif;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease; /* Smooth transition for text color */
    animation: floatIn 0.25s forwards;
}


.top_menu .menu-container a::after {
    content: ''; /* Creates a pseudo-element to hold the border */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: rgb(226, 9, 9);
    transition: width 0.15s ease-in-out; /* Controls the speed of the border animation */
}

.top_menu .menu-container a.active::after,
.top_menu .menu-container a:hover::after {
    width: 100%; /* Expands the border to full width on hover/active */
}

.top_menu .splitter{
    color: rgb(226, 9, 9);
    padding: 15px 0px 15px 0px;
    font-family: "Libre Caslon Text", serif;
    font-size: 18px;
}
