/* Dropdown content (hidden by default) */
.dropdown-nav {
    position: absolute;
    width: 100%;
    right: 0;
    overflow: hidden;

    transition: height 0.3s ease;
    height: 0;

    /* background: linear-gradient(to right bottom, rgba(255,255,255,0.03), rgba(0,0,0,0.1)), var(--bg-step-2); */
    background-color: var(--bg-step-2);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    z-index: 1;

    display: flex;
    justify-content: center;
}
.dropdown-content{
    height: 280px;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    max-width: 1200px;
}
/* Show the dropdown menu on hover */
.dropdown-nav.open {
    height: 280px; /* or auto with max-height if needed */
    z-index: 50;
}

.dropdown-nav .info, .dropdown-nav .links{
    padding: 1rem;
    width: 50%;
    height: 100%;

}
.dropdown-nav .info{
    border-right: 0.05px solid var(--my-secondary-text-color);
    display: flex;
    flex-direction: column;
}
.dropdown-nav .links{
    padding-right: 0;
}
.dropdown-nav .links ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.dropdown-nav .links ul li:nth-child(odd) a{
    padding-right: 0.5rem;
}
.dropdown-nav .links ul li:nth-child(even) a{
    padding-right: 0.0;
}

.dropdown-nav .links ul a{
    padding-left: 0.5rem;
    display: block;
}

.dropdown-nav .links ul a:hover{
    background-color: var(--bg-step-2);
}

/* Small Dropdowns in sidebar and in about */

.dropdown-small {
    position: absolute;
    overflow: hidden;

    transition: height 0.3s ease;
    height: 0;

    /* background: linear-gradient(to right bottom, rgba(255,255,255,0.03), rgba(0,0,0,0.1)), var(--bg-step-2); */
    background-color: var(--bg-step-2);
    z-index: 1;

    display: flex;
    justify-content: center;
}
.dropdown-small ul{
    display: flex;
    flex-direction: column;
}
.dropdown-small ul li{
    margin: 0;
    width: 100%;
}
.dropdown-about .open {
    height: 200px; /* or auto with max-height if needed */
    z-index: 50;
}