/* CSS Style */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@700&display=swap');


:root {

    --primary-color: #011024;
    --primary-color-dark: #000116;

    --accent-color: #073b6e;

    --primary-text-color: #FFFFFF;
    --primary-text-color-80: rgba(255, 255, 255, 0.8);

    --font-weight-bold: 600;
    --font-weight-medium: 500;
    --font-weight-regular: 400;

    --background-color: #011024;
    --background-color-card-logo: #242D3B;

    --primary-cta-color: #FFFFFF;

    --max-width: 1280px;

}

body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: var(--font-weight-regular);
    font-family: var(--font-family);
    color: var(--primary-text-color);

    background: url('../../../../../../assets-generales/img/casino-bg.jpg'), var(--background-color);
    background-repeat: no-repeat;
    background-position: left top;
    background-attachment: fixed;
}

/* HEADER */

header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: var(--accent-color);
}

@media screen and (min-width:1024px) {
    header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

header .logo-container {
    height: 35px;
}

header .logo-container img {
    height: 100%;
    width: auto;
    display: block;
}

/* SECTION hero */

div.hero-content {
    max-width: 1280px;
    margin: auto;
}

section.hero {
    padding: 16px;
    text-align: center;
    max-width: 500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.hero img{
    width: 50%;
}

@media screen and (min-width:1024px) {
    section.hero {
        padding: 40px;
        max-width: 700px;
    }
}

section.hero h1 {
    font-family: 'Zilla Slab', 'Libre Franklin', sans-serif;
    font-size: 50px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    line-height: 1;
    margin-left: auto;
}

section.hero h1 strong{
    color: #ff2626;
}

@media screen and (min-width:1024px) {
    section.hero h1 {
        margin-left: auto;
        font-size: 65px;
    }
    section.hero h1 strong{
        font-size: 150px;
    }
}

section.hero p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    font-weight: var(--font-weight-regular);
}

/* SECTION cards */

div.cards-content {
    max-width: 1280px;
    margin: auto;
}

section.cards {
    padding: 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

@media screen and (min-width: 1280px) {
    section.cards {
        padding: 16px 40px;
    }
}

@media screen and (min-width: 768px) {
    section.cards.contains-many-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 1280px) {
    section.cards.contains-many-cards {
        flex-direction: row;
        justify-content: flex-end;
    }

    section.cards.more-than-four-cards-desktop {
        padding: 16px;
        justify-content: space-between;
        gap: 8px;
    }
}

section.cards .card[show-card="0"] {
    display: none;
}

section.cards .card[show-card="1"] {
    background-color: var(--accent-color);
    border-radius: 10px;
    padding: 20px;

    width: 100%;
}

@media screen and (min-width: 768px) {
    section.cards .card[show-card="1"] {
        max-width: 350px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .card.one-card[show-card="1"] {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto 8px 90px;
        max-width: 1000px;
        align-self: flex-end;
        column-gap: 16px;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .card.more-than-one-card[show-card="1"] {
        max-width: 380px;
        align-self: flex-end;
        height: 350px;
        display: grid;
        grid-template-columns: 2fr 3fr;
        grid-template-rows: auto 32px auto 8px auto;
        grid-auto-rows: auto;
    }

    section.cards .card.four-cards-desktop[show-card="1"] {
        max-width: 24%;
        width: 24%;
        display: flex;
        align-items: center;
    }

    section.cards .card.five-cards-desktop[show-card="1"] {
        max-width: 19%;
        width: 19%;
        display: flex;
        align-items: center;
    }
}

section.cards .card-logo {
    background-color: var(--background-color-card-logo);
    border-radius: 5px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-logo {
        grid-area: 1 / 1 / span 1 / span 1;
        height: 100px;
        padding: 8px;
    }

    section.cards .four-cards-desktop .card-logo,
    section.cards .five-cards-desktop .card-logo {
        width: 100%;
    }
}

section.cards .more-than-one-card .card-logo {
    height: 70px;
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card .card-logo {
        grid-area: 1 / 1 / span 1 / span 5;
        height: 70px;
    }
}

section.cards .card-logo .logo-container {
    width: 200px;
    height: 80%;
    display: flex;
    justify-content: center;
}

section.cards .more-than-one-card .card-logo .logo-container {
    height: 40px;
}

section.cards.more-than-four-cards-desktop .card-logo .logo-container {
    width: 80%;
    height: 60%;
}

section.cards .card-logo .logo-container img {
    width: auto;
    height: 100%;
    display: block;
}

section.cards .card-rating {
    text-align: center;
    padding: 4px;
}

@media screen and (min-width:1280px) {
    section.cards .one-card .card-rating {
        grid-area: 2 / 1 / span 2 / span 1;
        align-self: center;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card .card-rating {
        grid-area: 2 / 1 / span 1 / span 5;
        align-self: center;
    }
}

section.cards .card-rating .material-symbols-outlined {
    font-size: 18px;
}

section.cards .card-bonus {
    margin-top: 16px;
    margin-bottom: 16px;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-bonus {
        grid-area: 1 / 2 / span 3 / span 1;
        align-self: center;
    }
}

section.cards .more-than-one-card .card-bonus {
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    section.cards .more-than-one-card .card-bonus {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card .card-bonus {
        grid-area: 3 / 1 / span 1 / span 2;
        align-self: flex-start;
    }
}

section.cards .card-bonus h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 26px;
    font-weight: var(--font-weight-regular);
    line-height: 1.1em;
    text-align: center;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-bonus h3 {
        line-height: 1.2em;
        text-align: center;
        font-size: 40px;
    }
}

section.cards .more-than-one-card .card-bonus h3 {
    font-size: 20px;
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card .card-bonus h3 {
        text-align: left;
    }

    section.cards .four-cards-desktop .card-bonus h3,
    section.cards .five-cards-desktop .card-bonus h3 {
        text-align: center;
    }
}

section.cards .card-bonus h3 strong {
    display: block;
    font-size: 46px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1em;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-bonus h3 strong {
        text-align: center;
        font-size: 60px;
    }
}

section.cards .more-than-one-card .card-bonus h3 strong {
    display: inline-block;
    font-size: 30px;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-primary-cta {
        grid-area: 1 / 3 / span 1 / span 1;
        align-self: center;
    }

    section.cards .four-cards-desktop .card-primary-cta,
    section.cards .five-cards-desktop .card-primary-cta {
        width: 100%;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card .card-primary-cta {
        grid-area: 3 / 3 / span 1 / span 3;
        align-self: center;
    }
}

section.cards .card-primary-cta a {
    font-family: 'Libre Franklin', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-cta-color);

    padding: 10px 18px;
    border-radius: 15px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-primary-cta a {
        font-size: 30px;
    }
}

section.cards .more-than-one-card .card-primary-cta a {
    padding: 10px 14px;
    margin-top: 8px;
    margin-bottom: 8px;
}

section.cards .card-primary-cta a:hover {
    color: var(--primary-color);
    background-color: var(--primary-cta-color);
}

section.cards .more-than-one-card .card-primary-cta a {
    font-size: 24px;
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card .card-primary-cta a {
        font-size: 20px;
    }

}

section.cards hr {
    height: 1px;
    width: 100%;
    border: none;
    background-color: #999;
    margin-top: 16px;
    margin-bottom: 16px;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card hr {
        grid-area: 2 / 3 / span 1 / span 1;
    }

    section.cards.more-than-four-cards-desktop hr {
        margin: 4px 0;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card hr {
        grid-area: 4 / 1 / span 1 / span 5;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-payments-container {
        grid-area: 3 / 3 / span 1 / span 1;
    }
}

@media screen and (min-width: 1280px) {
    section.cards .more-than-one-card .card-payments-container {
        grid-area: 5 / 1 / span 1 / span 5;
    }
}

section.cards .card-payments-container h3 {
    color: var(--primary-text-color);
    text-align: center;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 14px;
    font-weight: var(--font-weight-medium);

    margin-top: 16px;
    margin-bottom: 8px;
}

section.cards .card-payments-container .card-payments {
    display: flex;
    justify-content: center;
    gap: 8px;
}

section.cards .card-payments-container .card-payments img {
    max-width: 40px;
    height: auto;
}

@media screen and (min-width: 1280px) {
    section.cards .one-card .card-payments-container .card-payments img {
        max-width: 60px;
        
    }
}

/* inicio section articulos relacionados */

.articulos-relacionados-container {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:#011024;
    font-family: 'IBM Plex Sans', sans-serif;
}

.articulos-relacionados-container p {
    width: 80%;
    margin-bottom: 50px;
}

@media screen and (min-width:1024px) {
    .articulos-relacionados-container p {
        width: 60%;
    }
}

.articulos-relacionados-container h2 {
    font-size: 24px;
    margin: 50px 0 50px 0;
    font-family: 'Zilla Slab', 'Libre Franklin', sans-serif;
}

@media screen and (min-width:1024px) {
    .articulos-relacionados-container h2 {
        font-size: 50px;
    }
}

.articulos-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

@media screen and (min-width:768px) {
    .articulos-cards {
        width: 40%;
        
    }
}

@media screen and (min-width:1024px) {
    .articulos-cards {
        flex-direction: row;
        width: 40%;
    }
}

.articulos-cards a {
    cursor: pointer;
    text-decoration: none;
}

.articulos-card h3 {
    margin: 15px 0 15px 0;
    color: white;
}

.articulos-card {
    width: 350px;
    height: 350px;
    background-color: var(--accent-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 50px;
}

@media screen and (min-width:1024px) {
    .articulos-card:hover {
        scale: 1.1;
        transition: ease 1s;
    }
}

.articulos-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-cta {
    color: white;
    background: #00071f;
    border-radius: 50px;
    margin-top: 30px;
    font-weight: 700;
    font-size: 20px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.card-cta p {
    margin: 0;
    text-decoration: none;
}

/* fin section articulos relacionados*/

/* SECTION extra-content */

section.extra-content {
    padding: 16px;
    margin-top: 30px;
    margin-bottom: 100px;
}

section.extra-content .content {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;

}

section.extra-content h2 {
    color: var(--primary-text-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    margin-top: 30px;
    margin-bottom: 10px;
}

section.extra-content h3 {
    color: var(--primary-text-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    margin-top: 30px;
    margin-bottom: 10px;
}

section.extra-content p {
    color: var(--primary-text-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4em;
}

/* SECTION newsletter */
section.newsletter .container {
    text-align: center;
}

section.newsletter .container h3 {
    color: var(--primary-text-color);
    font-family: 'Zilla Slab', sans-serif;
    font-size: 25px;
    font-weight: var(--font-weight-bold);
    line-height: 1em;
}

section.newsletter .container h4 {
    color: var(--primary-text-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 1em;
    margin-bottom: 5px;
}

section.newsletter .container form {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 20px;

    max-width: 800px;
    margin: auto;
}

/* SECTION fixed */

section.fixed {
    display: none;
}

section.fixed.display-fixed-footer {
    position: fixed;
    width: 100%;
    height: 90px;
    bottom: 0;
    z-index: 20;

    background-color: var(--accent-color);

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #4d4d4d;
    box-shadow: 0 -2px 20px 2px #131313;

}

section.fixed .fixed-content {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 16px;
}

section.fixed .fixed-footer-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.fixed .card-logo {
    background-color: var(--background-color-card-logo);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

section.fixed .card-logo .logo-container {
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
}

section.fixed .card-logo .logo-container img {
    width: 100%;
    height: auto;
}

section.fixed .card-bonus {
    display: none;
}

@media screen and (min-width: 768px) {
    section.fixed .card-bonus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

}

section.fixed .card-bonus h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 24px;
    font-weight: var(--font-weight-extraLight);
}

section.fixed .card-bonus h3 strong {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: var(--font-weight-bold);
}

section.fixed .card-primary-cta {
    height: 44px;
}

section.fixed .card-primary-cta a {
    font-family: 'Libre Franklin', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-cta-color);
    padding: 10px 18px;
    border-radius: 15px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SECTION footer */
footer {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #060027;
}