@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;
}



.search-bar {
    display: flex;
    align-items: center;
    width: 250px;
    border-radius: 50px;
    background-color: var(--purple);
}
.dropdown2{
    position: relative;
    width: 250px;
    border-radius: 50px;
    border: 1px solid var(--white);
    background-color: var(--blue);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.dropdown2-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 500;
    color: black;
    padding: 1rem 1.5rem;
}




.dropdown-list {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    border-radius: 15px;
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    transition: max-height 0.5s;
    z-index: 9999;
}

#list.show{
    max-height: 300px;
}

.dropdown-list-item {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0 1rem 0.5rem;
    cursor: pointer;
    transition: margin-left 0.2s ease, color 0.2s ease;
}


.dropdown-list-item:hover {
    margin-left: 0.5rem;
    color: var(--purple);
}

.search-box {
    display: flex;
    align-items: center;
    padding-right: 1rem;
    width: 300px;
    color: var(--purple);
}

.search-box input {
    padding: 1rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: var(--purple);
    border: 0;
    outline: 0;
}

.search-box i {
    font-size: 1.3rem;
    cursor: pointer;
}

.search-box input::placeholder {
    font-size: 1rem;
    font-weight: 500;
    color: var(--purple);
}