.header-wrapper {
  float: left;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.header-wrapper .dropbtn {
  border: none;
  outline: none;
  background-color: inherit;
  margin-top: 1px;
}

.navbar a:hover, .header-wrapper:hover .dropbtn {
  color: pink;
}

.dropdown-content {
  margin-left: -3rem;
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  position: absolute;
  background-color: white;
  min-width: 10rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* only bottom shadow */
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 1rem 1rem !important;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ffc7c7;
  color: white;
}

.header-wrapper:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.dropdown-content a:last-child {
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}