
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure the header is above other content */
}

.header-description {
    margin-left: auto;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.site-name {
    font-size: 24px;
    margin: 0;
}

.game-iframe {
    width: 100%;
    height: calc(100vh - 120px); /* Adjusting for the header height */
    margin: 10px;
}

.iframe-container {
    position: relative; /* This makes it the reference point for absolutely positioned children */
    width: 100%; /* Assuming you want it to take the full width */
    height: 100vh; /* Adjust this if you want a specific height */
}

.play-button {
    display: none; /* Initially hidden */
    position: relative; /* Adjusted to relative */
    margin-top: 20px; /* Add some space after the header */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10; /* Higher than the iframe */
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally center the children */
    justify-content: flex-start; /* Align children to the start of the container */
}

.iframe-container,
.game-info {
    width: 80%; /* or whatever width you want */
    margin: 0 auto; /* centers the container */
    padding: 20px 0; /* Add consistent vertical padding, no horizontal padding */

}

.game-info {
    background-color: rgba(255, 255, 255, 0.8); /* white background with 80% opacity */
    padding: 20px; /* some padding around the text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* optional: slight shadow for depth */
}

.iframe-visible {
    display: block !important; /* Force the iframe to be visible */
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .site-name {
        font-size: 18px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .iframe-container {
        display: none; /* Hide the entire container on smaller screens */
    }
    .play-button {
        display: block;
    }
}