.side
{
    display: flex;
    justify-content: space-around;
    justify-items: center;
    margin-bottom: 10px;
}

.sidebar {
    margin-top: 30px;
    position: sticky;
    width: 50%;
    display: flex;
    justify-content: space-around;
    justify-items: center;
    margin-bottom: 10px;
}

.filter-option{
    width: 50%;
    text-align:center ;
}

.filter-label
{
    cursor: pointer;
    font-weight: 1000;
    font-size: 2vw;
}

.filter-dropdown {
    height: 0; /* Initially hide dropdown by setting height to 0 */
    overflow: hidden; /* Hide any content that might overflow */
    transition: height 0.2s ease-in-out; /* Add smooth transition */
}

.filter-dropdown ul {
    padding: 0;
    margin-bottom: 5px;
}
.filter-dropdown li {
    margin-bottom: 5px;
    font-weight: 1000;
    opacity: 0; /* Initially hide dropdown items */
    transition: all 0.2s ease-in-out; /* Define transition properties */
}

.filter-dropdown.show li {
    opacity: 1; /* Show dropdown items when the class is present */
}

button{
    padding: 15px 25px;
    border: unset;
    border-radius: 15px;
    color: #212121;
    z-index: 1;
    background: #e8e8e8;
    position: relative;
    font-weight: 1000;
    font-size: 17px;
    transition: all 250ms;
    overflow: hidden;
    margin: 5px;
    width: auto;
    height: auto;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 15px;
    background-color: #ab7870;
    z-index: -1;
    transition: all 250ms
}

button:hover {
    color: #e8e8e8;
}

button:hover::before {
    width: 100%;
}
a:hover
{
    color: #ab7870;
}

input.question{
    font-size: 18px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 60%;
    transition: border-color 0.3s ease;
    margin-top: 10px;
}

input.question:focus {
    border-color: #ab7870;
    outline: none;
}

.filter-label {
    cursor: pointer;
    font-weight: 1000;
    font-size: 2vw;
}

.filter-dropdown ul {
    padding: 0;
    margin-bottom: 5px;
}

.filter-dropdown li {
    margin-bottom: 5px;
    font-weight: 1000;
}

.filter-option {
    padding: 5px;
}

button {
    padding: 15px 25px;
    border: unset;
    border-radius: 15px;
    color: #212121;
    z-index: 1;
    background: #e8e8e8;
    position: relative;
    font-weight: 1000;
    font-size: 17px;
    transition: all 250ms;
    overflow: hidden;
    margin: 5px;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 15px;
    background-color: #ab7870;
    z-index: -1;
    transition: all 250ms;
}

button:hover {
    color: #e8e8e8;
}

button:hover::before {
    width: 100%;
}

a:hover {
    color: #ab7870;
}

input.question {
    font-size: 18px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 60%;
    transition: border-color 0.3s ease;
    margin-top: 10px;
}

input.question:focus {
    border-color: #ab7870;
    outline: none;
}

/* Responsive styles */

@media screen and (max-width: 768px) {
    .sidebar {
        width: 95%; /* Adjust as needed */
        margin-left: 7px;
        display: flex;
        justify-content: space-around;
    }
    .filter-label {
        font-size: 3vw; /* Adjust as needed */
    }

    input.question {
        width: 80%; /* Adjust as needed */
    }
}

@media screen and (max-width: 480px) {

  .side
  {
      display: flex;
      justify-content: center;
      justify-items: center;
      margin-bottom: 10px;
  }

    .sidebar {
        width: 90%; /* Adjust as needed */
    }

    .filter-option{
        width: 50%;
        text-align:center ;
    }

    .filter-dropdown ul {
        padding: 0;
        margin-bottom: 0px;
    }
    .filter-dropdown li {
        margin-bottom: 5px;
        font-weight: 1000;
    }

    .filter-label {
        font-size: 4vw; /* Adjust as needed */
    }

    input.question {
        width: 50%; /* Adjust as needed */
    }
}

