header {
  position: fixed;
  z-index: 50;
  align-items: center;

  display: flex;
  top: 0;
  justify-content: space-between;
  box-shadow: 2px 2px 5px var(--primary-dark-colour);
}

footer {
  bottom: 0;
  justify-content: space-around;
  height: 1vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1001;
  position: relative;
}
header,
footer {
  width: 100%;
  height: 10vh;
  margin: 0;
  padding: 30px 1vw;
  padding-right: 20px;
  color: white;
  background-color: var(--navbar-color);
}
header .desktop_menu {
  display: flex;
  width: 75vw;
  justify-content: space-between;
}
header nav {
  margin-right: 15px;
  flex: 1;
  max-width: 65vw;
}

nav li,
nav a,
nav button {
  font-weight: 500;
  font-size: 24px;
  color: #edf0f1;
  text-decoration: none;
}
nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  padding: 10px 20px;
}
nav ul li a {
  padding: 0;
  margin: 0;
  transition: all 0.3s ease 0s;
}
nav ul li a:hover {
  text-decoration: underline;
  color: var(--navbar-links);
}
/*********************************
            Logo
*********************************/
header .logo {
  cursor: pointer;
  width: 17vw;
}
#navlogo {
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
/*********************************
        Language Toggle
*********************************/
.language-toggle {
  margin-right: 50px;
  padding: 10px;
}

.language-toggle .active a {
  font-weight: 900;
  font-size: 1.5em;

  color: var(--primary-dark-colour);
}

.language-toggle .active {
  padding: 10px;
  border-radius: 10px;

  background-color: white;
  color: var(--navbar-color);

  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.language-toggle .nav-button {
  background-color: var(--navbar-color);
  border: none;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: 1s;
}

.language-toggle .active {
  background-color: white;
  color: var(--navbar-color);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  font-weight: 900;
}

/****************
    ham-menu
******************/

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);

  display: none;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  position: absolute;
  top: 5vh;
  left: 90vw;
  z-index: 2;
  cursor: pointer;
}

.hamburger-menu:has(input:checked) {
  --foreground: white;
  --background: var(--foreground);
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background-color: var(--foreground);
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing), translate var(--animation-timing),
    background-color var(--animation-timing);
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}
.hamburger-menu:has(input:checked) + .sidebar {
  translate: 0;
}
/****************
    FAB
******************/
.fab {
  position: fixed;
  bottom: 20px;
  left: 1px;
  background-color: var(--primary-dark-colour); 
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1000;
  transition: background-color 0.3s ease;
}
.fab .nav-button {
  background-color: var(--primary-dark-colour);
}
.fab .nav-button.active {
  background-color: white;
}

.distudio {
  text-decoration: none;
  font-family: monospace;
  text-transform: lowercase;
  color: black;
  font-weight: 900;
  background-color: white;

  border-radius: 5px;
  padding: 5px 10px;
  font-size: 1.5rem;
}
a.distudio {
  text-decoration: none;
}
.distudio:hover,
.distudio:focus {
  color: orangered;
}

.distudio span {
  padding-top: 1vh;
  display: inline-block;

  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;

  font-weight: 500;
  text-transform: capitalize;
  font-size: 1.75rem;
}
.distudio:hover span,
.distudio:focus span {
  color: black;
}
.distudio::after {
  content: ".dev";
  margin-top: -7px;
  font-size: 0.75rem;
}

/*********************************
          Mobile Menu
 *********************************/
.mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;

  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--background);
  z-index: 49;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu nav a {
  color: var(--primary-colour);
  margin-bottom: 2vh;
  font-size: 3rem;
}
.mobile-menu.active {
  display: flex;
  animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
