nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  width: 100%;
  height: 62px;
  display: flex;
  justify-content: center;
}
.web-nav {
  width: 100%;
  max-width: 1504px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 62px;
  box-sizing: border-box;
}
.mobile-nav {
  display: none;
  box-sizing: border-box;
}
.mobile-toggle-nav {
  display: none;
  align-items: center;
  padding: 0 16px;
  height: 62px;
  justify-content: space-between;
  box-sizing: border-box;
  max-width: 1504px;
  width: 100%;
}
.mobile-nav.active {
  display: flex;
  flex-direction: column;
  background: rgb(29, 62, 138);
  width: 240px;
  position: absolute;
  right: 4px;
  height: 224px;
  justify-content: space-between;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  top: 64px;
}
.mobile-toggle-burger {
  display: none;
}
.web-nav-links {
  display: flex;
  width: 33%;
  justify-content: center;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 16px;
}
.mobile-nav-links .cta-button {
  margin: 0;
}
.mobile-nav-links .login-button {
  margin-bottom: 8px;
}
.web-nav-links:first-child {
  justify-content: flex-start;
}
.web-nav-links:last-child {
  justify-content: flex-end;
}

a {
  color: #fff;
  text-decoration: none;
}

.logo {
  font-size: 28px;
  font-weight: 400;
}
.item {
  padding: 8px;
  font-weight: 400;
  font-size: 20px;
  margin-right: 12px;
}
.item:hover {
  color: rgb(232, 215, 201);
  cursor: pointer;
}
.item.current {
  color: rgb(175, 188, 212);
}
.cta-button.login-button {
  color: white;
  background: none;
  margin-left: 0;
}
.cta-button.login-button:hover {
  color: rgb(175, 188, 212);
  background: none;
}
.cta-button {
  color: black;
  background: white;
  font-weight: 400;
  line-height: 40px;
  white-space: nowrap;
  text-align: center;
  margin-left: 24px;
  padding: 0 12px;
}
.cta-button:hover {
  background: rgb(175, 188, 212);
}

/* Mobile menu */

.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #444 solid;
}

.active .item {
  display: block;
}

.mobile-toggle-burger {
  position: relative;
  align-items: center;
  display: flex;
  justify-content: center;
  width: 35px;
  height: 62px;
}
.mobile-burger-inner {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.mobile-burger-top,
.mobile-burger-middle,
.mobile-burger-bottom {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  content: "";
  width: 100%;
  transition: transform 250ms cubic-bezier(0.2, 0.6, 0.3, 1),
    width 250ms cubic-bezier(0.2, 0.6, 0.3, 1);
  will-change: transform, width;
  height: 2px;
  background: white;
}
.mobile-burger-top {
  transform: translatey(-5.5px);
}
.mobile-burger-middle {
  transform: scale(0);
}
.mobile-burger-bottom {
  transform: translatey(5.5px);
}
.active .mobile-burger-top {
  transform: translatex(3.5px) rotate(-135deg);
  width: 28px;
}
.active .mobile-burger-bottom {
  transform: translatex(3.5px) rotate(135deg);
  width: 28px;
}

/* Desktop menu */
@media all and (max-width: 760px) {
  .web-nav {
    display: none;
  }
  .mobile-toggle-nav {
    display: flex;
  }
}
