/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Orbitron', sans-serif;
    background-color: #0e0b16;
    color: #e84545;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styling */
.main-header {
    text-align: center;
    padding: 20px;
    background-color: #1a1a2e;
    border-bottom: 4px solid #e84545;
}

.main-header nav a {
    color: #e84545;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.main-header nav a:hover {
    color: #903749;
}

/* Main Content Styling */
.game-details-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Game Overview Section */
.game-overview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    border-radius: 8px;
    background-color: #1a1a2e;
    padding: 20px;
}

/* My Contributions Section */
.my-contributions {
    margin-bottom: 40px;
    border-radius: 8px;
    background-color: #1a1a2e;
    padding: 20px;
    color: #e84545;
}

/* Heading Styling */
.my-contributions h3 {
    color: #e84545;
    margin-bottom: 10px;
}

/* Unordered List Styling */
.my-contributions ul {
    list-style-type: square;
    margin: 10px 0 0 20px;
    padding: 0;
    text-align: left;
    color: #fff;
}

/* List Items */
.my-contributions li {
    margin-bottom: 10px;
}

/* Project Details Section */
.project-details {
    margin-bottom: 40px;
    border-radius: 8px;
    background-color: #1a1a2e;
    padding: 20px;
    color: #e84545;
}

/* Heading Styling */
.project-details h3 {
    color: #e84545;
    margin-bottom: 10px;
    text-align: left;
}

/* Paragraph Styling */
.project-details p {
    margin: 10px 0 0 20px;
    padding: 0;
    text-align: left;
    margin-bottom: 10px;
    color: #ffffff;
}

.game-thumbnail {
    flex: 1;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
}

.game-info {
    flex: 1;
    color: #f2f2f2;
}

.game-info h2 {
    color: #e84545;
    margin-bottom: 10px;
}

.software-stack img {
    width: 40px;
    height: 40px;
    margin: 5px;
    vertical-align: middle;
    border-radius: 8px;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #4a90e2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #357ab8;
}

/* Screenshots Section */
.screenshots-section {
    margin-top: 30px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Video Section */
.video-section {
    margin-top: 30px;
}

.video-section video {
    width: 100%;
    border-radius: 8px;
}

/* Post-Mortem Section */
.post-mortem {
    margin-top: 30px;
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    color: #f2f2f2;
}

/* Footer Styling */
footer {
    margin-top: auto;
    padding: 10px;
    background-color: #1a1a2e;
    border-top: 2px solid #e84545;
    text-align: center;
}

footer a {
    color: #e84545;
}

/* Responsive styles for tablet */
@media only screen and (max-width: 768px) {
    .game-overview {
        flex-direction: column;
        text-align: center;
    }

    .game-thumbnail {
        max-width: 100%;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .main-header h1 {
        font-size: 1.5rem;
    }

    .game-details-container {
        padding: 20px 12px;
        gap: 25px;
    }
}

/* Responsive styles for small mobile */
@media only screen and (max-width: 480px) {
    .main-header {
        padding: 12px;
    }

    .main-header nav a {
        font-size: 1rem;
    }

    .game-info h2 {
        font-size: 1.1rem;
    }

    .game-info p {
        font-size: 0.9rem;
    }

    .game-overview,
    .my-contributions,
    .project-details,
    .post-mortem {
        padding: 14px;
    }

    .my-contributions ul {
        margin-left: 12px;
    }

    .my-contributions li,
    .project-details p {
        font-size: 0.9rem;
    }

    .screenshots-section h2,
    .video-section h2,
    .post-mortem h2,
    .my-contributions h2 {
        font-size: 1.2rem;
    }
}

