/* styles.css */

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    font-family: 'Cutive Mono', monospace;
    background-color: #ccb393;
}

a {
    color: #3B7BDE;
    text-decoration: underline;
  }
  
  a:visited {
    color: #3B7BDE;
  }

.container {
    width: 100%;
    max-width: 1031px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero {
    text-align: center;
    margin: 20px 0;
}

.hero img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: auto;
}

.game iframe {
    width: 100%;
    max-width: 1031px; /* Set to the new width */
    height: 580px; /* Set to the new height */
    border: none;
    border-radius: 16px;
}

.description {
    text-align: center;
    padding: 20px;
}

.big-text {
    font-size: 1.5em;
}

.small-text {
    font-size: 1.2em;
}

footer {
    width: 100%;
    text-align: center;
    font-size: 1em;
    padding: 20px 0;
}

@media (max-width: 640px) {
    .container {
        max-width: none;
        padding: 0 15px;
    }

    .game iframe {
        height: calc(100vw * (16 / 10)); /* Maintain a 10:16 aspect ratio */
        max-width: none; /* Allow the iframe to take full width */
        border-radius: 0; /* Optional: Reset border-radius for mobile if desired */
    }
    
    .hero img {
        max-width: 80%; /* Adjust hero image size on mobile if needed */
    }
    
    /* Add any other mobile-specific styles here */
}
