@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500&display=swap");
:root {
  --blue: #9ab3f5;
  --purple: #9a1663;
  --white: #ffffff;

  --shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

.dropdown1 {
  position: relative;
  width: 100px;
  border-radius: 10px;
  background-color: #000;
  cursor: pointer;
  transform: translateZ(-019px) scale(1);
}

.dropdown-text1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  background-color: transparent;
  padding: 1rem 1.5rem;
  color: var(--white);
}

.dropdown-list1 {
  display: block;
  position: absolute;
  top: 4rem;
  left: 0;
  width: 140px;
  border-radius: 15px;
  max-height: 0;
  overflow-y: auto;
  background-color: #000;
  transition: max-height 0.5s;
}

.dropdown-list-item1 {
  border-radius: 15px;
  padding: 0.1rem 0 1rem 1.5rem;
  cursor: pointer;
  transition: 1s;
}

.dropdown-list-item1:hover {
  color: #fff;
  transform: scale(1.3);
  z-index: -1;
}

#list1.show {
  max-height: 300px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .dropdown1 {
    position: relative;
    width: 100px;
    border-radius: 10px;
    background-color: #000;
    cursor: pointer;
    transform: translateZ(-019px) scale(1.4);
  }
  
  .dropdown-text1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 500;
    background-color: transparent;
    padding: 1rem 1.5rem;
    color: var(--white);
  }
}

@media (max-width: 480px) {
.dropdown1 {
  position: relative;
  width: 100px;
  border-radius: 10px;
  background-color: #000;
  cursor: pointer;
  transform: translateZ(-019px) scale(1.4);
}

.dropdown-text1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
  background-color: transparent;
  padding: 1rem 1.5rem;
  color: var(--white);
}
}
