@font-face { font-family: Kids; src: url('./assets/Sadekids-Regular.ttf'); } 

html {
    background-color: #131313;
}
body {
    
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

p, h1, h2, h3 {
    font-family: Kids, sans-serif; 
    color: red;
}

html, body {
    height: 100%;
}

.main-content {
    background-color: #000000;
    flex-grow: 1;
}

.topbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #131313;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
}

.logo-link img {
    height: 50px;
}

.banner {
    width: 100%;
    overflow: hidden;
    max-height: 65vh; /* Limit banner height to 45% of viewport height */
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

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

.game-title {
    font-size: 2.5em;
    margin: 10px 0;
}

.game-description {
    font-size: 1.2em;
    margin: 10px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button img {
    height: 50px;
    margin: 10px;
    display: block; /* Ensure no extra spacing is added */
}

.screenshots {
    display: flex;
    flex-wrap: wrap; /* Allow images to wrap to new lines on smaller screens */
    justify-content: center;
    margin-top: 20px;
}


.screenshot {
    width: 150px;
    height: auto;
    margin: 10px;
    cursor: pointer; /* Change cursor to pointer to indicate clickable */
}

.footer {
    background-color: #131313;
    color: #e1e9e5;
    text-align: center;
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box; /* Ensure padding is included in width calculations */
}

.footer a {
    color: #e1e9e5;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
}

.social-link {
    color: #e1e9e5;
    margin: 0 10px;
    font-size: 1.5em;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #e1e9e5;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.youtube {
    display: flex;
    flex-wrap: wrap; /* Allow images to wrap to new lines on smaller screens */
    justify-content: center;
    margin: 20px;
}

@media (min-width: 768px) {
    .banner img {
        height: auto;
    }

    .game-info {
        padding: 40px;
    }

    .game-title {
        font-size: 3em;
    }

    .game-description {
        font-size: 1.5em;
    }

    .store-button img {
        height: 60px;
    }

    .screenshot {
        width: 200px;
    }
}
