@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('/colors.css');
* {
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
}

body {
    min-height: 100vh;
    background-color: #010101;
    overflow-y: auto;
    overflow-x: hidden;
}

.header {
    position: fixed;
    display: inline-flex;
    flex-direction: row;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    background: rgb(2.5, 2.5, 2.5);
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-family: Roboto, sans-serif;
    padding-left: 1rem;
}

.navbar a {
    position: relative;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin-left: 1rem;
}
.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    margin-right: 2.2rem;
}
/* Hide navbar links when screen width is smaller than 510px */
@media (max-width: 510px) {
    .navbar {
        display: none;
    }

    /* Show the hamburger menu */
    .hamburger {
        display: block;
    }

    /* Show navbar links when hamburger is clicked */
    .navbar.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust the position as needed */
        right: 0;
        background-color: #1C1C1C;
        width: 100%;
        padding: 10px;
        z-index: 100;
    }

    .navbar.show a {
        padding: 10px;
        color: white;
        text-align: center;
    }
}
/* Search Bar Styling */
.search-container {
    text-align: center;
    margin-top: 100px;
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center the contents */
    padding-left: 1rem;
    padding-right: 1rem;
}

#search-bar {
    width: 70%; /* Adjust width to accommodate the dropdown */
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #1C1C1C;
    color: white;
    margin-right: 10px; /* Space between search bar and dropdown */
}

#search-bar::placeholder {
    color: #aaa;
}
/* Category Filter Dropdown */
#category-filter {
    padding: 10px; /* Same padding for consistency */
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #1C1C1C;
    color: white;
}
/* No Results Found Message */
.no-results {
    font-size: 24px;
    color: #ccc;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
}

.main {
    display: flex; /* Use flexbox layout */
    flex-wrap: wrap; /* Allow wrapping */
    gap: 20px; /* Space between items */
    margin-top: 10vh; /* Adjust margin */
    margin-left: 1rem;
    margin-right: 1rem;
    justify-content: center; /* Center the items horizontally */
}

.latest-mod-box {
    color: white;
    padding: 20px;
    height: auto; /* Height can be auto */
    background-color: #1C1C1C;
    border-radius: 10px;
    flex: 1; /* Allow the boxes to grow and shrink */
    min-width: 300px; /* Set a minimum width for better responsiveness */
    max-width: 400px; /* Set a maximum width to avoid overflow */
}

#category {
    color: #846BC2;
}

#title {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 700;
}

#mc-version,
#upload-date {
    display: flex;
}
#mc-version .version-num,
#upload-date .date-num{
    color: rgb(198, 198, 198);
}

#description {
    padding-top: 1rem;
    max-width: 40rem;
}

#link {
    padding-top: 0.5rem;
}

#link a{
    display: flex;
    color: rgb(148, 148, 148);
    text-decoration: underline;
}