@font-face {
  font-family: 'Diatype';
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  src: url("../fonts/ABCDiatypeVariableEdu.woff2") format("woff2");
}

.navigation a {
    font-family: 'Diatype', sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
}
  
header div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 10px;
}

.logo {
  width: 160px;
  height: 36px;
  top: -50%;
  filter: invert(0);
}



.logo:hover {
  cursor: pointer;
  background-image: url(../img/frontpage/logofill.svg);
  background-repeat: no-repeat;
  background-size: 158px, 36px;
  background-position: center; 
}


.navigation {
  font-family: 'Inter', sans-serif;
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navigation li {
  display: flex;
  align-items: center;
  margin-left: 40px;
}

li:hover {
  font-weight: 700;
  cursor: pointer;
}


.toggle {
  position: relative;
  display: inline-block;
  background: url(../img/frontpage/dm.svg) no-repeat center;
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-size: contain;
  margin: 0;
}

body.dark .logo {
  filter: invert(1);
}

body.dark .toggle {
  background: url(../img/frontpage/lm.svg) no-repeat center;
  filter: invert(1);
}

body.light .logo {
  filter: invert(0);
}

body.light .toggle {
  background: url(../img/frontpage/dm.svg) no-repeat center;
}
