@font-face {
    font-family: 'JosefinSans-Bold';
    src: url(../../fuentes/JosefinSans-Bold.ttf);
    font-weight: bold;
    font-style: bold;
}

@font-face {
    font-family: 'JosefinSans-Regular';
    src: url(../../fuentes/JosefinSans-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'JosefinSans-Light';
    src: url(../../fuentes/JosefinSans-Light.ttf);
    font-weight: lighter;
    font-style: light;
}

body{
    position: relative;
}

#bg-principal{
    width: 100%;
    height: auto;
    background-image: url("/api.static/imagenes/Pagina/Banners/fondo-manchas.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    
}

#contenedor-introduccion{
    margin: 30px auto;
    max-width: 40%;
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
    position: relative;
    
}

.introduccion-texto{
    color: white;
    font-size: 1.3rem;
    line-height: 1.5;
    text-align: center;
    font-family: 'JosefinSans-Regular'; 
    
}



.titulo-principal{

    font-family: 'JosefinSans-Bold'; 
    text-align: center;
    color: #ffc32e;
    font-size: 2rem;

}

.gif-image{
    height: auto;
    width: 150px;
}

#mari-izq-introduccion{
    position: absolute;
    left: -200px;
    top : 50%;
    transform: rotate(-45deg) translateY(-50%);
    
}

#mari-der-introduccion{
    position: absolute;
    right: -200px;
    top : 50%;
    transform: rotate(45deg) translateY(-50%);
}

#ganadores{
    max-width: 70%;
    margin: 20px auto;
}   


#fondo-ventana-modal{
    display: none;
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    background-color: #ffc32e;
    z-index: 100;
    overflow-y: auto;

}

#fondo-ventana-contenido{
    max-width: 70%;
    height: auto;
    margin: 100px auto;
    text-align: center;
    padding-bottom: 50px ;

}

.informacion-ficha{
    display: none;
}

#ficha-tecnica{
    display: flex;
    /* flex-wrap: wrap; */

    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
   
}

#ficha-tecnica img{

    border-radius: 10px;
    border: 1px solid white;
    object-fit: cover;
    flex: 1;

}

.titulo-ficha{
    font-size: 1.3rem;
    color: black;
    font-weight: bold;
    text-align: left;
    margin: 0;

}

.detalle-ficha-div{
    margin-bottom: 10px;
}

#sinopsis{
    
    /* flex-basis: 60%; */
    flex: 5;
}



#ficha-tecnica-detalles{
    flex: 3;
    text-align: left;

}

.texto-ficha{
    color: white;
    font-size: 1.3rem;
    font-family: 'JosefinSans-Regular'; 
    line-height: 1.2;
    text-align: left;
    margin: 0;

}

#ficha-tecnica a{
    text-decoration: none;

}

#ficha-tecnica a:hover{
    text-decoration: underline;
    color: white;
}

#trailer{
    width: 100%;
    height: auto;
    min-height: 500px;
    margin-bottom: 20px;
}

#btn-cerrar-ficha{
    text-align: center;
    margin: 60px auto;
    padding: 7px;
    width: 150px;
    background-color: #ffc32e;
    color: white;
    border: 3px white solid ;
    transition: 1s all;
}

#btn-cerrar-ficha:hover{
    background-color: white;
    color: #ffc32e;

}

.ganadores-carrusel{
    width: 100%;
    padding:  0 10%;
}

.slick-next {
    right: 15%;
    
  }

  .slick-prev{
    left: 15%;
  }


  .ganadores-img{
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;

  }


  .ganadores-img img{
    
    display: block; 
    
  }

  .ficha-tecnica-btn{
    display: none;
    position: absolute;
    padding: 10px;
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid white;
    top: 50px;
    right: 50px;
    width: 200px;
    z-index: 10;

  }

  .ficha-tecnica-btn:hover{
   opacity: 0.6
  }


  .ganadores-img:hover{
    transform: scale(0.98);
    opacity: 0.8;

  }

  .ganadores-img:hover .ficha-tecnica-btn{
    display: block;
  }

  .ganadores-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0px 100px 80px 100px rgba(0,0,0,0.7);
    z-index: 1;
    pointer-events: none; /* Asegura que no interfiera con el hover */
    transition: opacity 0.3s ease;
    opacity: 0; /* Inicialmente invisible */
}

.ganadores-img:hover::before {
    opacity: 1; /* Hacer visible la sombra en hover */
}
























/* VISTA PARA TABLETS */
@media (min-width: 768px) and (max-width: 1023px) {

    #bg-principal{
        
        padding: 50px  20px;
        
    }

    #contenedor-introduccion{
        max-width: 70%;
        margin-top: 80px;
        
    }

    .introduccion-texto{
    
        font-size: 1.5rem;   
    }


    
    
    
    #titulo-principal{
    
        font-size: 1.8rem;
    
    }

    #mari-izq-introduccion{
  
        left: -100px;
        top : -80px;
        transform: rotate(-45deg) translateY(0);
    
        
    }
    
    #mari-der-introduccion{
  
        right: -100px;
        top: auto;
        bottom : -80px;
        transform: rotate(-45deg) translateY(0);
   
    }

    #ficha-tecnica{

        flex-direction: column;
        align-items: flex-start;
       
    }
    
    #ganadores{
        max-width: 90%;
    }

    .ganadores-carrusel{
        padding: 0;
    }

    .slick-next {
        right: 8%;
        
      }
    
      .slick-prev{
        left: 8%;
      }

      .ficha-tecnica-btn{
       
        top: 45%;
        right: 33%;
    
      }
}


@media (max-width: 767px) {


    #contenedor-introduccion{
        max-width: 100%;
     
        
    }

    .introduccion-texto{
    
        font-size: 1.5rem;
        
    }
    
    
    
    #titulo-principal{
    
        font-size: 1.8rem;
 
    
    }

    #mari-izq-introduccion{
        display: none;
        left: 0;
        top : auto;
        bottom : -100px;

        transform: rotate(-45deg) translateY(0);
    
        
    }
    
    #mari-der-introduccion{
        position: static;
        right: -100px;
        top: auto;
        bottom : -100px;
        transform: rotate(-45deg) translateY(0);
   
    }

    #ficha-tecnica{

        flex-direction: column;
        align-items: flex-start;
       
    }
    
    #ganadores{
        max-width: 100%;
    }

    .ganadores-carrusel{
        padding: 0;
    }

    .ficha-tecnica-btn{
       
        top: 35%;
        right: 20%;
    
      }

      #fondo-ventana-contenido{
        max-width: 90%;
     
        margin: 100px auto;
        text-align: center;
        padding-bottom: 50px ;
    
    }

 
}
