/* Global styling */
body {
    font-family: 'Newsreader', serif !important;
}

/* Desktop Menu Styles */
.desktop-menu a.active {
    color: white;
    border-radius: 4px;
    border-top: 4px solid #fed400;
    background-color: #0c1e4f;
}

nav {
    transition: background-color 0.3s ease-in-out;
}

/* Mobile Menu Animation */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Mobile Menu Styling */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    color: #ffffff;
    height: 100%;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    animation-fill-mode: forwards;
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 1rem;
}

.mobile-menu a {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 5px 15px;
}

.mobile-menu.show {
    display: flex;
    animation: slideIn 0.3s forwards;
}

.mobile-menu.hide {
    animation: slideOut 0.3s forwards;
}

.mobile-menu .close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: yellow;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu a.active {
    color: blue;
    border-radius: 4px;
    border-top: 4px solid yellow;
    background-color: yellow;
    padding: 5px 10px;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
}

@media (min-width: 768px) {
    .logo {
        width: 100px;
    }
}

/* Navigation Menu */
.navigation-menu {
    margin-top: 1rem;
}
