body,
html {
  margin: 0;
  padding: 0;
}
nav {
  background: #00568f;
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, auto);
  padding: 1.5em 0;
  font-family: Roboto, sans-serif;
  color: #74b0d4;
  font-weight: 300;
  position:fixed;
  z-index: 1000;
  width: 100%;
}
nav .items {
  display: grid;
  place-items: center;
  grid-template-columns: max-content auto auto;
  column-gap: 20px;
}
nav a {
  text-decoration: none;
  color: inherit;
}
nav > :first-child {
  justify-self: end;
}
nav > :last-child {
  justify-self: start;
}
nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, max-content);
  place-items: center;
  column-gap: 15px;
}
nav li a {
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
nav li a:hover {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}
nav li a::before {
  display: block;
  content: attr(title);
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
nav .logo {
  height: 40px;
}
nav .dropdown {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: #00568f;
  padding: 1em 0;
  border-radius: 20px;
  transition: 0.3s;
  z-index: 100;
}
nav ul li:hover > ul,
ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  transition: 0.3s;
}
.dropdown li {
  color: #ffffff;
  line-height: 180%;
  padding: 0 1em;
  transition: all 0.3s ease-in-out;
}
.dropdown li:hover {
  background: rgb(255, 255, 255, 0.1);
}

.trial {
  border: 0;
  margin: 0;
  padding: 0;
  background: #e86746;
  text-transform: uppercase;
  color: #ffffff;
  border-radius: 20px;
  padding: 10px 30px;
  font-weight: 700;
  font-size: 15px;
  font-family: Roboto, sans-serif;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  outline: none;
}

.trial:hover {
  background: #df441c;
}
.login {
  text-transform: uppercase;
  font-weight: bold;
  color: #ffffff;
}
.login::after {
  content: "→";
}
nav span {
  font-weight: 700;
  color: #ffffff;
}
nav .toggleIcon {
  display: none;
}
@media (max-width: 700px) {
  nav {
    padding: 1em;
    place-items: center stretch;
    grid-template-columns: 1fr auto 1fr;
  }
  nav > :first-child {
    justify-self: start;
  }
  nav > :last-child {
    justify-self: end;
  }
  nav .logo {
    height: auto;
    width: 25vw;
  }
  nav .items {
    display: none;
  }
  nav .toggleIcon {
    display: grid;
    row-gap: 3px;
    cursor: pointer;
  }
  .toggleIcon div {
    width: 5vw;
    height: 3px;
    background: white;
    transition: 0.4s;
  }
  .clicked .top {
    transform: rotate(-45deg) translate(-1.2vw, 1vw);
    /* -webkit-transform: rotate(-45deg) translate(-9px, 6px); */
  }
  .clicked .mid {
    opacity: 0;
  }
  .clicked .bot {
    /* -webkit-transform: rotate(45deg) translate(-8px, -8px); */
    transform: rotate(45deg) translate(-1vw, -1vw);
  }
}
