.dropdown {
  position: relative;
  display: inline-block;
  margin-top: 20px;

  .dropdown-toggle {
    background-color: #f9f9f9;
    color: #333;
    padding: 10px 15px;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;

    &:hover {
      background-color: #f1f1f1;
    }
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;

    li a {
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;

      &:hover {
        background-color: #f1f1f1;
      }
    }
  }

  &.open .dropdown-menu {
    display: block;
  }
}
