header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #93C47D;
    display: flex;
    justify-content: space-between
}

header nav a {
    text-decoration: none;
    color: #2c442a;
    margin: 1px 10px;
    padding: 15px 10px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}


.header-logo {
    height: 25px;
}

.header-menu-button {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    user-select: none;
    align-items: center;
}

.header-links {
    list-style: none;
    display: flex;
    gap: 1px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-links a {
    text-decoration: none;
    color: #1C1C1C;
    font-weight: normal;
    transition: color 0.1s;
}

.header-links a:hover {
    color: #334e2b;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #D6EFDB;
    color: black;
}

.main-container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #D6EFDB;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    gap: 25px
}

.imagen {
    width: 40%;
}

.imagen img {
    width: 100%;
    height: auto;
}

.texto {
    width: 100%;
}

.texto ul {
    list-style-type: disc;
}

.texto ul li {
    display: list-item;
}

h1 {
    margin: 0;
    font-size: 40px;
}

nav {
    text-align: center;
}


iframe {
    max-width: 90%;
}

nav a img {
    height: 25px;
    width: auto;
}


.banner-logo {
    max-width: 100%;

}


#store-section nav a {
    gap: 20px;
}

.store-button {
    display: inline-block;
    height: 60px;
    width: auto;
    max-width: 100%;
    border: none;
    object-fit: contain;
}

#store-section nav a img.store-button {
    height: 60px;
    width: auto;
    max-width: 100%;
    margin: 2px 2px;
    border: none;
}
.products-showcase{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}

.product-preview {
    height: auto;
    width: 300px;
    max-width: 90%;
    object-fit: contain;
    margin: 10px 10px;
    border: none;
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    cursor: pointer;
}

.product-preview:hover {
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.product-icon {
    height: auto;
    width: 100%;
    max-width: 400px; /* Ensures a reasonable maximum size */
    margin: 10px 0;
    border: none;
}


.youtube-video {
    aspect-ratio: 16 / 9;
}

.steam-widget {
    aspect-ratio: 29 / 10;
}

section {
    margin: 20px 0;
    padding: 20px;
    text-align: center;
}

section h2 {
    margin-top: 0;
    font-size: 24px;
    color: #38761d;
}


footer {
    align-items: center;
    text-align: center;
    padding: 10px 0;
    background-color: #BEE0C5;
    color: black;
}

a {
    color: rgb(0, 0, 0);
    font-weight: bold;
}

main a {
    color: #38761d !important;
    font-weight: bold;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: #38761d
}

button {
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
}

.regular-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: #38761d;
    color: #fff !important;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

.regular-button:hover {
    background-color: #285214;
}

.centered-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered-404 .content-container {
    justify-content: center;
}

.centered-404 .texto {
    text-align: center;
}


.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered .content-container {
    justify-content: center;
}

.centered .texto {
    text-align: center;
}

.gallery-section{
    display: block;
}

.gallery-section nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gallery-section nav a {
    flex: 1 1 0;
    max-width: 500px;
    display: block;
}

.gallery-section nav img {
    width: 100%;
    height: auto;
    display: block;
}
.vertical-gallery {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;

}
.vertical-gallery img {
    max-height: 200px;
    width: auto;
    height: auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    min-height: 60px;
}

.game-header h2 {
    margin: 0;
    padding: 0;
    align-self: center;
    line-height: 1.1;
}

.button-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.button-group .regular-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
}


.presskit-header {
    display: flex;
    justify-content: space-evenly;
    
    height: 125px; 
    max-height: fit-content;
    align-items: center;
    margin-bottom: 10px;
    min-height: 60px;
    background-color: #BEE0C5;
}

.presskit-header li {
    color: #38761d;
    font-weight: bold;
    font-size: 20px;
    text-align: start;
    margin: 0;
    padding: 0;
    align-self: center;
    line-height: 1.1;
    font-size: clamp(10px, calc(20px), 40px);
}

.presskit-header img {
    max-width: 30%;

}

.presskit-buttons-group {
    display: flex;
    gap: 10px;
    
    align-items: stretch;
    align-content: center;
}

.presskit-buttons-group .regular-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
}

.presskit-list {
    text-align: left;
    list-style-position: inside;
    padding: 10px;
}


@media (max-width: 972px) {
    .presskit-header {
        flex-direction: column;
        align-items: center;
        object-fit: content;
        height: fit-content;
        max-height: fit-content;
        gap: 0px;
        padding: 10px 0;
    }

    .presskit-header img {
        max-width: 100%;
        margin: 0 auto;
    }
}

.download-buttons-group {
    display: flex;
    gap: 30px;
    justify-content: space-evenly;
}

/* Responsive */
@media (max-width: 755px) {

    header nav {
        justify-content: start;
    }


    .header-menu-button {
        display: block;
        align-items: center;
        display: flex;
        margin-left: 20px;
    }

    .header-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #93C47D;
        padding: 15px 0;
    }

    .header-links.show {
        display: flex;
    }

    .header-links li {
        text-align: center;
        padding: 10px 0;
    }

    .products-showcase {
        flex-direction: column;
        align-items: center;
    }

    .product-preview {
        height: max-content;
        max-width: 90%;
        object-fit: content;
        align-items: center;
        margin-left: 25px;
    }


    .content-container {
        flex-direction: column;
    }

    .centered {
        flex-direction: column;
    }

    .gallery-section nav {
        flex-direction: column;
        align-items: center;
    }

    .gallery-section nav a {
        flex: 1 1 100%;
        max-width: none;
    }

    .vertical-gallery img {
        max-height: 80%;
    }

    h1 {
        
        font-size: clamp(1.8rem, calc(7vw + 1rem), 2rem);
    }

    .game-header {
        flex-direction: column;
    }

    .game-header h2 {
        font-size: clamp(1.2rem, calc(5vw + 1rem) 1.5rem);
    }

    .order-first {
        order: 1;
    }

    .order-second {
        order: 2;
    }

    .download-buttons-group {
        flex-direction: column;
    }

}