a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

#logo {
    width: 120px;
    height: auto;
    padding: .5rem;
}

#header {
    box-sizing: border-box;
    height: 70px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #440044;
}

#menu {
    display: flex;
    list-style: none;
    gap: .5rem;
}

#menu a {
    display: block;
    padding: .5rem;
}

.menu-link {
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem;
}

.menu-link::after {
    content: '';
    height: 2px;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #1d0d1d;
    transition: width 0.5s ease;
}

.menu-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    #header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: auto;
        padding: 1rem;
    }

    #logo {
        margin-bottom: 15px;
    }

    #menu {
        gap: 10px;
        align-items: center;
    }

    #menu a {
        padding: 10px 0;
        font-size: 1rem;
    }

    .menu-link::after {
        left: 50%;
        transform: translateX(-50%);
    }
}