body {
    width: 100%;
    height: 100%;
    background-color: white;
    margin: 0;
    display: grid;
    background-color: black;
}


.top_menu{
    background-color: black;
    width: 100%;
    display: inline-flex;
    height: 50px;
    z-index: 500000;
    position: fixed;
    top: 0;
}

.top_menu .menu-container{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-left: 0px;
}

.top_menu .language-switch-container{
    margin: auto 0;
    margin-left: auto;
}


@keyframes floatIn {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.top_menu .menu-container a{
    display: flex;
    align-items: center;
    padding: 2px 2px 2px 2px;
    justify-content: center;
    text-align: center;
    color: white;
    text-decoration: none;
    font-family: "Verdana", serif;
    font-size: 12px;
    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;
}
