@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-right: 2rem;
}
.navbar a::after {
    content: '';
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    width: 0;
    background: white;
    transition: width .2s;
}

.navbar a:hover::after {
    width: 100%;
}
.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;
    }
}
.main {
    display: flex; /* Use flexbox layout */
    flex-wrap: wrap; /* Allow wrapping */
    gap: 20px; /* Space between items */
    margin-top: 20vh; /* Adjust margin */
    margin-left: 1rem;
    margin-right: 1rem;
    justify-content: center; /* Center the items horizontally */
}

.latest-article-box,
.latest-mod-box,
.latest-video-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 */
}

.latest-article-title,
.latest-mod-title,
.latest-video-title {
    color: var(--header-color);
    font-size: 30px;
}
.latest-article-title,
.latest-mod-title,
.latest-video-title {
    margin: 0; /* Reset margin */
    padding-bottom: 10px; /* Space between title and content */
}

#category {
    color: #846BC2;
}

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

#video-title{
    padding-top: 0.2rem;
    padding-bottom: 0.6rem;
    font-size: large;
}

/* .latestVideoEmbed {
    width: 100%;
    aspect-ratio: 16 / 9;
} */

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 9 / 16 * 100 */
    height: 0;
    overflow: hidden;
}

.video-embed iframe,
.video-embed video,
.latestVideoEmbed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#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;
}