@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap');

header {
  width: 100%;
}
.row {
  display: flex;
  background-color: #ffffff;
  min-height: 75px;
  box-shadow: 0 4px 8px 0 rgba(255, 227, 251, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  font-family: 'Nunito';
}

#toggle-nav {
  display: none;
  position: absolute;
  right: 95px;
  top: 13px;
  background-color: white;
  font-size: 30px;
  text-align: center;
  border-radius: 10px;
  border: none;
  width: 50px;
  height: 44px;
}

#primary-nav {
  width: 100%;
  font-size: 20px;
  text-align: right;
  margin-right: 20px;
}

ul {
  padding: 0;
}

#primary-nav li {
  list-style: none;
  display: inline-block;

  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 5px;
}

#primary-nav a {
  text-decoration: none;
  color: #5c579f;
  font-weight: bold;
}

#primary-nav a:hover {
  color: rgb(233, 116, 14);
  padding-top: 10px;
  padding-bottom: 10px;
}

#primary-nav a.active {
  text-decoration: underline;
}

#toggle-nav:hover {
  background-color: #beb9c7;
}
/*----- SEARCH ------------------------*/

/*----- LOGO ------------------------*/

#logo {
  min-width: 300px;
  padding: 10px;
  font-size: 30px;
  font-weight: bold;
  display: flex;
}

.nav-logo {
  max-height: 40px;
  padding-right: 10px;
}

.logo-link {
  text-decoration: none;
  color: #000000;
}

/*----- PROFILE ------------------------*/
.profile-icon {
  max-width: 60px;
  border-radius: 10px;
}

#profile {
  width: 80px;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 15px;
  position: relative;
  right: 20px; /* taking this away like suggested broke the positioning of it, not sure how to fix. */
}

/*----- MEDIA 767 ------------------------*/
@media (max-width: 767px) {
  #primary-nav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
    text-align: center;
  }

  #primary-nav a:hover {
    border-radius: 5px;
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left: 100px;
    padding-right: 100px;
  }
  #primary-nav li {
    display: block;
    height: 34px;
    padding-top: 20px;
  }
  body.nav-open #primary-nav {
    grid-template-rows: 1fr;
  }
  .inner {
    overflow: hidden;
  }
  #toggle-nav {
    display: block; /* display button beneath breakpoint */
  }
  .row {
    flex-direction: column;
  }
  #profile {
    position: absolute;
    right: 0px;
  }
}
