@import url('https://fonts.googleapis.com/css2?family=Nova+Square&display=swap');


body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f0f0;
    color: #333;
}



h12 {
    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 10;
    margin-right: 0;
    font-weight: bold;
}

p2 {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 10;
    margin-right: 0;
}


h4 {
    margin-left: 10;
}

h2 {
    margin-left: 10;
}

#img2 {
    margin-left: 10;
}


.nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.nav-list li {
    margin: 0 20px;
}

.nav-list a {
    font-weight: bold;
    color: #ffc400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #8f6900;
}

.intro, .features {
    text-align: center;
    padding: 50px 10%;
}

.feature {
    margin-bottom: 40px;
}

footer {
    background: #660069;
    color: #00947b;
    text-align: center;
    padding: 20px 0;
    /* Remove the following two lines */
    /* position: fixed; */
    /* bottom: 0; */
}
a {
    color: rgb(94, 94, 94);
}

header {
    display: block;
    background: #0099ff;
    color: rgb(0, 255, 128);
    padding: 20px 10%;
    text-align: center;
    font-family: 'Nova Square', sans-serif;
    font-weight: normal; /* or 400 */
    font-size: 1.4rem;
    text-shadow: 2px 0 0 black, -2px 0 0 black; /* Creates a thicker effect */
}

footer h1,a {
    color: #00947b;
}
footer h2,h22 {
    color: #ffc400;
}
    
header h4 {
    color: rgb(255, 253, 110);
}

.game-info-box {
    display: flex;
    flex-direction: column; /* Stack the image above the details */
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    border: 2px solid #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensure content stays within the box */
    margin: 20px auto;
}

.game-image img {
    width: 100%; /* Stretch the image to fit the entire box width */
    height: auto; /* Maintain the aspect ratio */
    object-fit: cover; /* Ensures the image fills the width properly */
    border-bottom: 2px solid #333; /* Border between image and details */
}

.game-details {
    width: 100%; /* Full width for text content */
    padding: 20px;
    font-family: Arial, sans-serif; /* Default font */
    text-align: left; /* Left-align all text */
    color: #333;
    box-sizing: border-box; /* Include padding in width calculations */
    overflow-wrap: break-word; /* Break long words if necessary */
}

.game-details p {
    font-size: 1rem; /* Uniform font size for all text */
    margin: 10px 0;
    line-height: 1.6;
}

.game-details p strong {
    color: #000;
    font-weight: bold;
}
h22 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}
.game-details a {
    color:#0093f5
}