body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #ffffff;
}

.navbar {
    background-color: rgba(30, 30, 30, 0.80);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border: 1px solid #333333; /* Darker border around the navbar */
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 1rem;
}

.slideshow {
    height: 100vh;
    overflow: hidden;
}

.slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 1rem;
    justify-content: center;
    padding: 2rem 0;
}

.game-item {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.game-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.game-item:hover img {
    transform: scale(1.1);
}

.game-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: rgba(30, 30, 30, 0.9);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    width: 200px;
}

.game-item:hover .game-popup {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.game-popup h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.game-popup p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.button1 {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.button2 {
    background-color: #8c52ff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

h2 {
    text-align: center;
    color: #2195f1;
    font-size: 2rem;
    margin-bottom: 2rem;
}

#markdown-content {
    background-color: #1e1e1e;
    color: #2195f1;
    padding: 2rem;
    border-radius: 10px;
}

#markdown-content a {
    color: #fcea87;
}

footer {
    background-color: #1e1e1e;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}