/* Style the dropdown button */
.dropbtn {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: -0.01em;
    background-color: transparent;
    color: #222850;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
}

/*.dropbtn.color {*/
/*    background-color: transparent;*/
/*    color: var(--color-primary);*/
/*}*/

.btn-text-wrapper {
    display: flex;
    align-items: center;
    padding-top: 10%;
}

/* Style the arrow icon */
.arrow-icon {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.3s ease-in-out;
}

/* Rotate the arrow icon 180 degrees on hover */
.dropbtn:hover .arrow-icon {
    transform: rotate(-90deg) ;
}

.dropdown-subtext {
    font-weight: 400;
    font-size: 9px;
    line-height: 16px;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.01em;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 34px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li a {
    color: #404250;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dropdown-content li img {
    margin-right: 16px;
}

/* Change the background color of the dropdown links on hover */
.dropdown-content li a:hover {
    background-color: #ddd;
    left: -20px;
}

/* Show the dropdown content when the dropdown button is hovered over */
.dropdown:hover .dropdown-content {
    display: block;
    animation: dropdown-animation 0.3s ease-in;
}

/* Position the dropdown container relative to the dropdown button */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;

}

/* Position the dropdown content below the dropdown button */
.dropdown-content {
    top: 100%;
    right: 0;
}

@media (min-width: 1024px) {
    .dropbtn.color {
        color: #ffffff;
    }
}

/* Dropdown animation */
@keyframes dropdown-animation {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
