* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Här skriver du design för mobil */

header {
  background-color: #2c3e50;
  height: 10dvh;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

header h1 {
  color: #f6f7eb;
  font-family: Roboto;
  font-size: 1.8rem;
  z-index: 5;
  cursor: pointer;
}

#box{
  width: 3rem;
  height: 100%;
  margin-left: 5%;
  display: block;

  display: flex;
  align-items: center;
  justify-content: center;
}

.change-language{
  background-color: transparent;
  color: #ffffff;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border: 2.5px solid #3498db;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
}

header #hamburger-container {
  width: 3rem;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-right: 5%;
  cursor: pointer;
}

header #hamburger-container .hamburger {
  width: 100%;
  height: 0.35rem;
  border-radius: 20px;
  background-color: #f6f7eb;
}

header #hamburger-container:active > .hamburger {
  background-color: #e94f37;
}

#mobile-tablet-nav {
  background-color: #3498db;
  height: 10dvh;
  width: 100%;
  transform: translateY(-100%);
  transition: transform 0.5s;
}

#mobile-tablet-nav.active {
  transform: translateY(0);
}

#mobile-tablet-nav ul {
  height: 100%;
  width: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

#mobile-tablet-nav ul li a {
  color: #edf2f4;
  text-decoration: underline;
  font-family: Roboto;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.15s;
}

#desktop-nav {
  display: none;
}

@media only screen and (min-width: 600px) {
  /* Här skriver du design för tablet */
  header h1 {
    font-size: 3.5rem;
  }

  #mobile-tablet-nav ul li a {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 769px) {
  /* Här skriver du design för desktop */

  header #hamburger-container,
  header #box,
  #mobile-tablet-nav {
    display: none;
  }

  header {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  header h1 {
    font-size: 2rem;
  }

  header #desktop-nav {
    width: 100%;
    height: 100%;
    display: block;

    position: absolute;
  }

  header #desktop-nav ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
  }

  header #desktop-nav ul li a {
    text-decoration: none;
    color: #edf2f4;
    font-size: 1rem;
    transition: color 0.15s;
  }
}

@media only screen and (min-width: 1500px) {
  header h1 {
    font-size: 3.5rem;
  }

  header #desktop-nav ul li a {
    font-size: 1.4rem;
  }
}

@media (hover: hover) {
  header #desktop-nav ul li a:hover {
    color: #ef233c;
  }

  #mobile-tablet-nav ul li a:hover {
    color: #ef233c;
  }
}
