nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 5rem;
  background-color: #fff;
  z-index: 1;
  border-bottom: 1px #000 solid;
}

/* -------------------------------- NAV LINKS ------------------------------- */

.container--nav-links {
  position: absolute;
  height: 100%;
  width: fit-content;
  right: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.container--nav-links a {
  position: relative;
  padding-right: 5px;
  bottom: -1rem;
}

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

#logo {
  font-size: 3.5rem;
  position: absolute;
  left: var(--left-padding);
  bottom: 5px;
}

/* -------------------------------- DROPDOWN -------------------------------- */
/* Style The Dropdown Button */
.dropbtn {
  background-color: #fff;
  color: black;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  height: 5rem;
  width: 4rem;
}

i {
  position: relative;
  right: 20px;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: absolute;
  display: none;
  right: 0;
  bottom: 0;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
nav a {
  /* .dropdown-content a { */
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

nav a:hover {
  text-decoration: underline;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: black;
  color: white;
}


/* ------------------------------ MEDA QUERIES ------------------------------ */

@media screen and (max-width: 800px) {
  #logo {
    font-size: 2rem;
    bottom: 14px;
  }

  nav {
    height: 4rem;
  }

  .container--nav-links {
    display: none;
  }

  .dropdown {
    display: inline-block;
  }

  .dropbtn i {
    position: absolute;
    top: 2.35rem;
  }
}