/* ==========================================================================
   Searcher Custom Styles: sw_asset/css/searcher.css
   ========================================================================== */

#navbar {
    background-color: #333;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    transition: transform 0.3s;
    transform: translateY(-100%);
    z-index: 9999;
}

#navbar.show {
    transform: translateY(0);
}

#navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-size: 17px;
}

#navbar a:hover {
    background-color: #ddd;
    color: black;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1400px; /* Adjust width as needed */
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.first-div {
    flex: 2; /* Takes 2/3 of the space */
    min-width: 0; /* Prevents flex item from overflowing */
    margin-top: -20px;
}

.second-div {
    flex: 1; /* Takes 1/3 of the space */
    min-width: 300px; /* Minimum width for sidebar */
}

/* Mobile responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 20px;
        padding: 16px;
        width: 90%;
    }
    
    .first-div,
    .second-div {
        width: 100%;
        min-width: auto;
    }
}
