/*-------------Drop Down------------*/

.repo {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
}

.wrapper {
    flex-shrink: 0
}

.wrapper nav {
    background-color: black;
    padding: 1rem;
    width: 100%;
    height: 100vh;
    overflow: scroll;
}

.links {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.links>li {
    position: relative;
    margin-bottom: 1rem;
}

.links a,
.links label {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    cursor: pointer;
    transition: background 0.3s ease;
}

.links a:hover,
.links label:hover {
    background-color: red;
}

input[type="checkbox"] {
    display: none;
}

ul ul {
    background-color: rgb(69, 65, 65);
    display: none;
    list-style: none;
    padding-left: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"]:checked+label+ul {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

ul ul ul {
    margin-left: 1rem;
    background-color: rgb(213, 68, 68);
}


/* Optional: Add more styling for better visibility */
ul .cities-submenu {
    max-height: 300px;
    /* Limit height for large menus */
    overflow-y: auto;
    background-color: rgb(231, 223, 223);
    /* Allow scrolling if there are too many cities */
}

.cities-submenu label {
    color: black;
}

.pdf-section,
.pdf-section2 {
    margin-left: 2rem;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 90vh;
    overflow: scroll;
}

.pdf-section h2,
.pdf-section2 h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

.pdf-link-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pdf-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pdf-link:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.pdf-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
}

.filtrolabel {
    text-decoration: none;
    color: black;
    font-size: 35px;
    cursor: pointer;
    display: none;
}

.filtrolabel::after {
    content: "▼";
}

.disapear {
    display: none
}

.btnnav {
    padding: 10px;
    background-color: black;
    color: white;
    transition: .4s ease;
    margin-bottom: 30px;
    border-radius: 5px;

}

.btnnav:hover {
    background-color: #F35525;
}

.selected {
    background-color: #F35525 !important;
}

@media (max-width: 991px) {
    .filtrolabel {
        display: block;
        position: relative;
        left: 45%;
        font-weight: 800;


    }

    .repo {
        flex-direction: column;
    }

    .wrapper {
        overflow: scroll;
        max-height: 450px;
        transition: max-height 0.4s ease;
    }

    .minimized {
        max-height: 42px;
    }
}