.slim-header {
    display: flex;
    align-items: center;
}

.link-container {
    display: flex;
    align-items: center;
}

.language-toggle {
    margin-left: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
    width: fit-content;
    box-sizing: border-box;
}

.language-toggle a {
    padding: 0 1em;
    font-size: 0.8rem;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: 0.1s;
}

.lang-button:hover {
    color: #00957d;
    transition: 0.1s;
}

.lang-button.active {
    background-color: #fff;
    color: #000;
    border-radius: 5px;
}

.lang-button.active:hover {
    color: #000 !important;
    cursor: default;
}

@media (max-width: 60em) {
    .slim-header {
        display: flex;
        height: 1.8rem;
    }

    .language-toggle a {
        padding: 0 0.5rem;
        font-size: 0.7rem;
    }

    .lang-button:first-child {
        background-color: rgba(1, 0, 51, 0.3);
        border-radius: 5px 0 0 5px;
        transition: 0.2s ease;
    }

    .lang-button:nth-child(2) {
        background-color: rgba(1, 0, 51, 0.3);
        border-radius: 0 5px 5px 0;
        transition: 0.2s ease;
    }

    .lang-button:hover {
        background-color: rgba(1, 0, 51, 0.5);
        color: #fff !important;
        transition: 0.2s ease;
    }

    .lang-button.active {
        background-color: #fff;
        color: #000;
    }
}
