@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    /* colores */
    --cta-gradient-1: #ff3c00;
    --cta-gradient-2: #b92b00;
    --light-grey: #292d2e;
    --dark-grey: #232626;
    --white: #ffffff;

    /* fuentes */
    --font-family: 'Montserrat', sans-serif;
    --font-size: 16px;
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* espaciado */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-xxl: 48px;
    --spacing-container: 80px;

    /* border-radius */
    --border-radius: 16px;
  }

  /* scroll */
  ::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: var(--dark-grey);
}

::-webkit-scrollbar-thumb {
    background-color: var(--cta-gradient-1);
    border-radius: 6px;
}

  /* generales */

  body, html {
    overflow-x: hidden;
  }

  body * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  body {
        font-family: var(--font-family);
        font-size: var(--font-size);
        font-weight: var(--font-weight-regular);
        color: var(--white);
        background-image: url('../images/sports/body-bg.png');
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: top left;
        margin: 0;
        padding: 0;;
    }

p {
    font-size: var(--font-size);
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
}

h1, h2, h3 {
    line-height: 1;
}

h1 {
    font-size: 26px;
    font-weight: var(--font-weight-regular);
    margin-bottom: 15px;
}

h2 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
}

.desktop {
    display: none;
}


/*********
site
******/

:root {
    --site-bg: #150F1C;
}

.header-site {
    width: 100%;
    height: 80px;
    padding: 5px 16px;
    background: var(--site-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-site img {
    height: 100%;
    width: auto;
}

/* btn */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    position: relative;
    border-radius: var(--border-radius);
    background: white;
    border: 3px solid transparent;
    color: var(--cta-gradient-1);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    padding: calc(var(--spacing-md)/2) var(--spacing-md);
    transition: all 0.6s;  
}

.click {
    padding: 0 30px;
    text-align: center;
    cursor: pointer;
    border: 3px solid var(--main-bg);
    -moz-animation: shakeme 3s infinite;
    -o-animation: shakeme 3s infinite;    
    -webkit-animation: shakeme 3s infinite;
    animation: shakeme 3s infinite;
  }
  
  @keyframes shakeme {
    0% {
      scale: 1;
    }
    5% {
      scale: 0.5;
    }
    10% {
        scale: 1.1;
    }
    15% {
        scale: 0.8;
    }
    20% {
        scale: 1.15;
    }
    30% {
        scale: 1.1;
    }
  }

  .click:hover {
    animation: none;
  }

/* size btn */

.btn.btn-large {
    font-size: 26px;
    padding: var(--spacing-sm) var(--spacing-xl);
    gap: var(--spacing-sm);  
    border: 3px solid white;
}

.btn.btn-medium {
    font-size: 22px;
    padding: var(--spacing-xs) var(--spacing-md);
}

.btn.btn-medium ::after {
    width: 12px;
    height: 12px;
}

/* section */

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

section .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: strech;
    padding: var(--spacing-container) var(--spacing-sm);
    width: 100%;
    max-width: 1200px;
}

@keyframes btn-animate {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes header-zoom{
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* header */

header {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    width: 100%;
    gap: var(--spacing-xl);
    padding: 25px;
    animation: header-zoom 5s ease-in normal infinite;
    overflow: hidden;
    background-image: url('../images/sports/main-bg-mobile.png');
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100vh;

}

header .container {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1280px;
}

header .bono-container  {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1;
    gap: var(--spacing-xl);
}

header .header-logo {
    width: 100%;
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    gap: var(--spacing-xl);
}

header .header-logo::after {
    content: '';
    display: block;
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--green);
    margin-top: var(--spacing-xs);
}
header .header-logo img {
    width: auto;
    height: 60px;
}


header .bono-content {
    align-items: center;
    text-align: center;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    

    & h1 {
        font-size: 26px;
        font-weight: var(--font-weight-regular);
    }

    & .claim {
        font-size: 20px;
        font-weight: var(--font-weight-bold);
    }

    & .bono-value {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xs);
        font-size: 30px;
        line-height: .9;
        font-weight: var(--font-weight-black);
        margin: var(--spacing-sm) 0;
    }
}


/* section games */

section.torneos {
    background: var(--dark-grey);
}

section.torneos a {
    text-decoration: none;
}

section.torneos a h2{
    color: white;
}

section.torneos .content {
    gap: var(--spacing-xxl);
    align-items: center;
}

section.torneos h2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-wrap: balance;
    text-align: center;
    font-size: 26px;
    font-weight: var(--font-weight-regular);
}

section.torneos h2 small {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--cta-gradient-1);
}

section.torneos .list-torneos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var( --spacing-xxl);
    align-items: center;
    

    & .torneo {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        text-decoration: none;
    }
        & .torneo:hover {
            text-decoration: none;
            color: var(--white);
        }

    }

.list-torneos img{
    max-width: 150px;
    margin-bottom: 25px;
}

/* steps */
.steps-container-section{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-grey);
}

.steps-container{
    padding: 20px;
    max-width: 1170px;
    text-align: center;
}

.steps{
    display: flex;
    flex-direction: column;
}

.step{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    max-width: 300px;
}

.step-num {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--cta-gradient-1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.step span{
    font-size: 20px;
    font-weight: var(--font-weight-bold);
}

/* footer */

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--dark-grey);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    padding: var(--spacing-container) var(--spacing-sm);
}

footer .container .legal {
    display: flex;
    justify-items: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-sm);

    & img {
        width: auto;
    }

    & .mayor {
        height: 32px;
    }

    & .loteria {
        width: auto;
        height: 37px;
    }

    & .text-legal {
        font-size: 14px;
        font-weight: var(--font-weight-bold);
        line-height: 1;
        text-transform: uppercase;
        flex: 0 1 240px;
        width: 240px;
        text-align: right;
    }

    & .help {
        height: 43px;
    }

    & .linea {
        height: 34px;
        
    }
}

.logo-footer{
    height: 50px;
    margin-top: 25px;
}

.loterias{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

 footer .loterias img{
    max-height: 50px;
    filter: brightness(0) invert(1);
}

/* section games */

.games-a{
    text-decoration: none;
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
}

section.games {
    background: var(--light-grey);
}

.games-a-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
}

.game{
    background-color: var(--dark-grey);
    border: 3px solid var(--cta-gradient-1);
    border-radius: 15px;
    width: 80%;
    margin: 0 auto;
}

.game img{
    width: 100%;
}

.games-a-container{
    display: flex;
    justify-content: center;
    max-width: 1200px;
    padding: 100px 50px;
}

.game:hover{
    scale: 1.1;
    transition: all 0.6s;
}

.games-a-container .game-content{
    padding: 15px;
}

.games-a-container .game-content h3{
    color: var(--cta-gradient-1);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
}

.games-a-container .content{
    padding: 0 25px;
}

.games-a-container .content h2{
    margin-bottom: 50px;
    font-size: 30px;
}

.games-a-container .content small{
    font-size: 22px;
    color: var(--yellow);
}


/* media queries */

/* desktop */

@media (min-width: 768px) {
    .desktop {
        display: block;
    }
    .mobile {
        display: none;
    }

    /* btn */
    /* size btn */

    .btn.btn-large {
        font-size: 31px;
        padding: var(--spacing-sm) var(--spacing-lg);
        gap: var(--spacing-sm);  
        border: none
    }

    .btn.btn-medium {
        font-size: 28px;
        padding: var(--spacing-sm) var(--spacing-lg);
    }


    body{
        background-image: url('../images/sports/body-bg.png');
        background-position: top left;
        background-size: 80%;

        background-repeat: no-repeat;

    }   
    /* header */

    header {
        animation: header-zoom 5s ease-in normal infinite;
        overflow: hidden;
        background-image: url('../images/sports/main-bg.svg');
        background-position:  right;
        background-size: cover 500px;
        background-repeat: no-repeat;
        padding: 50px;
    }


    header .header-logo {
        align-items: flex-start;
        flex: 0 1;
        width: min-content;
        padding-right: 25px;
    }

    header .bono-container {
        align-items: end;
        justify-content: center;
        width: 100%;
        /* max-width: 800px; */
        flex: 1 1;
        
    }
    
    
    header .bono-content {
        align-items: end;
        text-align: end;
        
        & h1 {
            font-size: 31px;
        }
    
        & .claim {
            font-size: 22px;
        }
    
        & .bono-value {
            font-size: 75px;
            color: var(--white);
        }
    }

    .header-right-container{
        display: flex;
        align-items: end;
        flex-direction: column;
        width: 50%;
        height: auto;
    }

    .jugadores{
        width: 50%;
        scale: 1.4;
    }

    header .container{
        align-items: end;
    }

    /* section games */

.torneos-a, .steps-a{
    width: 100%;
    display: flex;
    justify-content: center;
}

.steps-a{
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
}

section.torneos h2 {
    font-size: 31px;
    height: 70px;
}

section.torneos h2 small {
    font-size: 24px;
}

section.torneos .list-torneos{
    height: 200px;
    width: 100%;
}

section.torneos .torneo:hover{
    scale: 1.1;
    transition: all 0.6s;
}

section.torneos .list-games {
    gap: var(--spacing-lg);
    }

    /* steps */

    .steps-container-section{
        padding: 50px 0;
    }

    .steps-container-section h2{
        font-size: 30px;
    }

    .steps{
        flex-direction: row;
        justify-content: space-between;
        gap: 50px;
        padding: 100px 0;
    }

    .games-a-container{
        flex-direction: row;
    }

    .game{
        max-width: 250px;
    }

footer .container .legal {
    gap: var(--spacing-md);
    align-items: center;

    & .mayor {
        height: 37px;
    }

    & .loteria {
        width: auto;
        height: 46px;
    }

    & .text-legal {
        font-size: 12px;
       text-align: center;
    }

    & .help {
        height: 50px;
    }

    & .linea {
        height: 47px;
        
    }
}


}














