:root {
    --background-color: #1f1f1f;

    --blue-1: #4a90e2;
    --blue-2: #203f66;
    --blue-3: #0b1624;

    --primary-900:   hsl(0, 0%, 7%);
    --primary-800:   hsl(0, 0%, 13%);
    --primary-700:   hsl(0, 0%, 15%);
    --primary-600:   hsl(0, 0%, 22%);
    --primary-500:   hsl(0, 0%, 28%);
    --primary-400:   hsl(0, 0%, 32%);
    --primary-300:   hsl(0, 0%, 68%);
    --primary-200:   hsl(0, 0%, 76%);
    --primary-100:   hsl(0, 0%, 88%);

    --white-1: var(--primary-200);
    --border-1: var(--primary-500);
    --border-2: var(--primary-600);
    --surface-1: var(--primary-900);
}

html {
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blue-1);
    padding: 18px;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    box-shadow: 0 2px 5px rgba(74, 144, 226, 0.3);
    z-index: 100;
    box-sizing: border-box;
    user-select: none;
}

.leftelements {
    display: flex;
    align-items: center;
    gap: 0px;
    color: var(--blue-2);
    font-size: 20px;
    font-weight: bold;
}

.hamburger {
    font-size: 24px;
    cursor: pointer;
    color: var(--blue-2);
    transition: transform ease 0.3s, color ease 0.3s;
    z-index: 201;
    margin-right: 20px;
}

.hamburger:hover {
    transform: scale(1.075);
    color: var(--blue-3);
}

.title {
    cursor: pointer;
    color: var(--blue-2);
    font-size: 30px;
    transition: transform ease 0.3s, color ease 0.3s, font-size ease 0.3s;
}

.title:hover {
    color: var(--blue-3);
    transform: scale(1.02);
}

.text {
    color: var(--white-1);
    font-weight: bold;
}

.text h1,
.text h2 {
    color: var(--blue-1);
    font-weight: bold;
}

a {
    text-decoration: none;
    color: inherit;
}

#languageswitcher {
    cursor: pointer;
    margin-left: 0px;
    margin-right: 17px;
    border-radius: 5px;
    border: 2px solid var(--primary-900);
    transform: translateY(-2px); /* Same weird bug as on mobile but less extreme but just as weird */
}

@media (max-width: 768px) {
    .title {
        font-size: 1rem;
    }

    .hamburger {
        font-size: 1.25rem;
    }

    header {
        padding: 14px;
        transition: padding 0.3s ease;
    }

    #languageswitcher {
        transform: translateY(3px); /* Some bug is causing the icon to go up and I couldn't care */
    }
}