body {
  font-family: 'Atkinson Hyperlegible Next', sans-serif;
  margin: 0;
  padding-left: 5%;
  padding-right: 5%;
  background-color:floralwhite;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.logo {
  width: 65px;
  height: 65px;
  display: block;
  margin: -8px;
}

.logo-item {
  margin-right: 12px;
}

#navbar li:nth-child(2) {
  margin-left: auto;
}

@media (max-width: 768px) {

  #navbar {
    flex-direction: column;
    align-items: center;
  }

  #navbar li {
    margin: 4px 0;
  }

  #navbar li:nth-child(2) {
    margin-left: 0;
  }

  .logo-item {
    margin-right: 0;
    margin-bottom: 10px;
  }

}

#navbar {
	margin-top: 1%;
	display: flex;
    align-items: center;
	font-size:18px;
}

#navbar li {
  list-style: none;
  margin-left: 4px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

ul li a {
  position: relative;
  display: inline-block;
  color: black;
  text-decoration: none;
  padding: 8px 8px;
  transition: font-weight 0.2s ease;
}

ul li a::before {
  content: attr(data-text);
  font-weight: 700;
  visibility: hidden;
  display: block;
  height: 0;
  overflow: hidden;
}

ul li a:hover {
  font-weight: 525;
}

ul li a.active {
  font-weight: 550;
}

ul li a::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 4px;
  width: calc(100% - 30px);
  height: 2px;
  background: black;
  transform: scaleX(0);
  transition: transform 1s ease;
}

ul li a.active::after {
  transform: scaleX(1);
}

footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
	margin-bottom:1%;
}

#bottom-left {
    align-self: flex-end;
}

#bottom-right {
    align-self: flex-end;
}