.res-menu {
  display: none;
  position: absolute;
  left: 20px;
  width: 35px;
  cursor: pointer;
}

.res-menu img {
  width: 100%;
}

.navlogo img {
  width: 250px;
  margin: 20px 30px;
}

.navbar {
  position: relative;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 7;
  background-color: var(--light);
}

.res-navbar {
  font-family: 'Montserrat', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  position: relative;
  width: 100vw;
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 5;
  padding: 0px 30px;
  background-color: white;
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
}

.res-navlogo {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 70px;
}

.res-navlogo img {
  width: 65%;
  max-width: 245px;
  padding: 5px 10px 0px 10px;
}

.res-dropdown {
  position: absolute;
  left: 0px;
  width: 100%;
  padding: 20px 0px;
  display: flex;
  flex-direction: column;
  transform: scaleY(0%);
  transform-origin: top center;
  z-index: 6;
  background-color: rgb(232, 231, 231);
  border-top: 3px solid var(--medium);
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.353);
}

.res-dropdown a {
  color: var(--medium);
  font-family: 'Montserrat', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1em;
  padding: 8px 30px;
  text-decoration: none;
  display: block;
  text-align: center;
  line-height: 110%;
  background-color: rgba(255, 255, 255, 0.728);
}

.res-dropdown a:hover {
  background-color: var(--light);
}

.res-dropdown-title {
  color: var(--medium);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 6px 15px;
  text-transform: uppercase;
  display: block;
  text-align: center;
  line-height: 110%;
}

hr {
  width: 100%;
  border: none;
  border-top: 2px solid var(--medium);
  margin: 6px 0px;
  opacity: 0.7;
}

.navcontainer {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  width: 900px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navlink {
  position: relative;
  z-index: 4;
  height: 50px;
  line-height: 50px;
  font-size: 1rem;
  color: white;
  font-weight: 500;
  padding: 0px 34px;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 2px;
  background-color: var(--light);
}

.navlink:hover {
  color: VAR(--medium);
  text-shadow: none;
}

@keyframes dropdown {
  0% {
    transform: scaleY(0%);
  }
  100% {
    transform: scaleY(100%);
  }
}

.dropdown {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.dropdown-content {
  display: block;
  transform: scaleY(0%);
  transform-origin: top center;
  margin-top: 50px;
  position: absolute;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 4;
  transition-delay: 0.7s;
}

.show {
  animation: dropdown 0.25s ease-in forwards;
  transition-delay: 0s;
}

.dropdown:hover .dropdown-content {
  animation: dropdown 0.25s ease-in forwards;
  transition-delay: 0s;
}

.dropdown-content a {
  color: var(--dark);
  padding: 12px 24px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 0.85rem;
  line-height: 120%;
  background-color: #f1f1f1;
}

.dropdown-content a:first-of-type {
  margin-top: 3px;
}

.dropdown-content a:hover {
  background-color: white;
}

@media screen and (max-width: 1000px) {
  .navcontainer,
  .navbar,
  .top-bar,
  header {
    display: none;
  }

  .res-navbar {
    display: flex;
  }

  .res-navlogo {
    display: flex;
  }

  .res-menu {
    display: block;
  }
}
