body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
}

header {
    background-color: #ff69b4;
    color: white;
    text-align: center;
    padding: 20px 0;
}

h1 {
    margin: 0;
}

nav {
    margin: 20px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 20px;
}

#gamesContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.game {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    width: calc(20% - 40px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    padding-bottom: 0px;
}

.game img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.game h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.game p {
    color: #555;
}

.game:hover {
    transform: scale(1.05);
}
.description {
    width: 90%; /* Set width to 80% of the viewport width */
    max-width: 1200px; /* Set maximum width to 900px */
    margin: 20px auto; /* Center the div horizontally with 20px top and bottom margin */
    padding: 20px; /* Add padding for content inside the div */
    border: 1px solid #ffffff; /* White border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Example box shadow */
    box-sizing: border-box; /* Include padding and border in the width calculation */
}
.game-detail {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px auto;
    max-width: 800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.game-detail img {
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.game-detail h2 {
    font-size: 2em;
    margin: 20px 0;
}

.game-detail p {
    color: #555;
    line-height: 1.6;
}

.game-detail ul {
    list-style: disc;
    margin: 20px 0;
    padding-left: 20px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #ff69b4;
    color: white;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 10px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
@media (max-width: 1200px) {
    .game {
        width: calc(26% - 40px);
    }
}

@media (max-width: 900px) {
    .game {
        width: calc(35% - 40px);
    }
}

@media (max-width: 768px) {
    .game {
        width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .game {
        width: calc(100% - 40px);
    }
	
}
/* Other existing styles */

.game-page-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.game-detail {
    flex: 1 1 auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    max-width: 60%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

aside.game-suggestions {
    flex: 0 0 20%;
    margin: 10px;
}

aside.game-suggestions h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.suggested-game {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
}

.suggested-game img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.suggested-game p {
    margin: 10px 0 0;
    font-size: 1em;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #ff69b4;
    color: white;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 10px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .game-page-container {
        flex-wrap: wrap;
    }

    .game-detail {
        flex: 1 1 100%;
        max-width: 100%;
    }

    aside.game-suggestions {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    aside.game-suggestions {
        display: none;
    }
}
/* Other existing styles */

.game-page-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.game-detail {
    flex: 1 1 auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    max-width: 60%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.game-embed {
    margin-top: 20px;
}

.game-embed iframe,
.game-embed svg {
    width: 100%;
    border: none;
}

aside.game-suggestions {
    flex: 0 0 20%;
    margin: 10px;
}

aside.game-suggestions h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
	text-align: center;
}

.suggested-game {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
}

.suggested-game img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.suggested-game p {
    margin: 10px 0 0;
    font-size: 1em;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #ff69b4;
    color: white;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 10px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .game-page-container {
        flex-wrap: wrap;
    }

    .game-detail {
        flex: 1 1 100%;
        max-width: 100%;
    }

    aside.game-suggestions {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    aside.game-suggestions {
        display: none;
    }
}
.container {
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styles for contact form */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 8px;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    background-color: #ff69b4;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.contact-form button[type="submit"]:hover {
    background-color: #d13e8e;
}
