: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);
  --white-2: var(--primary-100);
  --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;
  transition: padding 0.3s ease;
}

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

.hamburger {
  font-size: 1.7rem;
  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: 1.875rem;
  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;
}

.textblock {
  color: var(--white-2);
  font-family: "Poppins", ui-sans-serif, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.75;
}

.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 while just as weird */
}

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

  .hamburger {
    font-size: 1.133rem;
  }

  header {
    padding: 14px;
  }

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