* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Minecraft';
    src: url('../fonts/minecraft.ttf') format('truetype');
}

@font-face {
    font-family: 'Minecrafter_Alt';
    src: url('../fonts/Minecrafter.Alt.ttf') format('truetype');
    font-display: swap;
}

body {
    font-family: 'Minecraft', sans-serif;
    background: #1a1a1a url('../img/stone-bg.png') repeat;
    color: #fff;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #2d4723;
    padding: 1rem 5%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-items ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-items a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-items a:hover {
    color: #89c773;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #89c773;
}

.container {
    max-width: 1200px;
    margin: 80px auto 2rem;
    padding: 0 20px;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container h1 {
    margin-bottom: 2rem;
}

.home-container {
    max-width: 1200px;
    margin: 300px auto 0;
    padding: 0 20px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.home-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.home-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
}

.resource-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card h3 {
    color: rgb(50, 50, 50);
    margin-bottom: 0.5rem;
}

.resource-info {
    margin: 0.8rem 0;
    color: #666;
}

.ad-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ad-card h3 {
    color: rgb(50, 50, 50);
    margin-bottom: 0.5rem;
}

.download-btn {
    background: #4CAF50;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.download-btn:hover {
    background: #45a049;
}

.resource-meta {
    margin: 1rem 0;
    color: #666;
    line-height: 1.6;
}

.resource-description {
    margin: 2rem 0;
}

.resource-screenshots {
    margin: 2rem 0;
}

.screenshot {
    max-width: 48%;
    margin: 1%;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.resource-download {
    margin: 2rem 0;
}

.resource-link {
    color: inherit;
    text-decoration: none;
}

.resource-link:hover h3 {
    color: #45a049;
}