header {
    position: fixed;
    top: 0;
    z-index: 950;
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
    background-color: rgba(255, 255, 255, 0.75); /* Semi-transparent background */
    backdrop-filter: blur(12px); /* Frosted-glass blur effect */

    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);

    padding: 0 1em 0 1em;
}

header .logo {
    display: inline-flex;
    align-items: center; /*v-align*/
    justify-content: flex-end; /*h-align*/
    text-decoration: none;
    margin-right: 1em;
}

header .logo img {
    width: 50px;
    margin-right: 0.5em;
}

header .logo .title {
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: -0.03em;
    /*color: var(--theme-color-primary);*/
    color: var(--theme-color-text-trans2);
    /*text-shadow:*/
    /*        -1px -1px 0 #00dd02,*/
    /*        1px -1px 0 #00dd02,*/
    /*        -1px  1px 0 #00dd02,*/
    /*        1px  1px 0 #00dd02;*/
}

header .links {
    display: none; /* see "responsive" below */
    align-items: center;
}

header .links a {
    margin-right: 0.8em;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

header .links a:hover {
    color: var(--theme-color-text);
}

header .buttons {
    display: none; /* see "responsive" below */
    /*display: inline-flex;*/
    align-items: center; /*v-align*/
    justify-content: flex-end; /*h-align*/
}

header .buttons button {
    background-color: var(--theme-color-accent);
    padding: 5px 10px; /* Add padding inside the buttons */
    font-size: 14px; /* Set the font size */
}

header svg {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

header svg.globe {
    width: 18px;
    height: 18px;
    margin-right: 0.8em;
}

header svg.heart {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

header svg.hamburger {
    width: 32px;
    height: 32px;
    color: var(--theme-color-text);
}

header .buttons *:hover svg {
    opacity: 1.0;
}

/* TODO Responsive */
@media (min-width: 820px) {
    header .links {
        display: flex;
    }

    header .buttons {
        display: flex;
    }

    header .hamburger {
        display: none;
    }
}
