header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #9661a1;
    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;
}


@font-face {
    font-family: meiris-reverie;
    src: url(/assets/fnt/HandyCasual.ttf);
}

p {
font-family: meiris-reverie;
font-size: 40px;
}

.try-now {
    font-family: meiris-reverie;
    font-size: clamp(48px, 12vw, 150px);
}

.spacer {
    min-width: 150px;
    max-width: 100%;
}
.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: rebeccapurple;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0c3f6c;
    background-image: linear-gradient(to bottom, #0c3f6c 10%, #ac669e 90%);
    color: white;
}

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

.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%;
}




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

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


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

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

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

h1, h2, h3, h4, h5, h6 {
    color: #144c7c
}

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

.regular-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: #144c7c;
    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: #144c7c;
    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: 1155px){
    .spacer {
        min-width: 0px;
        max-width: 0%;
    }
}

@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: #9661a1;
        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%;
    }



    .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;
    }

}