body{
    box-sizing: border-box;
    padding: 0;
    margin: 0;

}

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

#banner-contenedor{

    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    max-height: 1000px;
    height: auto;
    z-index: 10;

}

#banner{
    width: 100%;
    height: 100%   ;
    object-fit: cover;
    min-height: 500px;
    max-height:800px;
    margin: 0;
    padding: 0;
    mask-image: linear-gradient(

        #3a214b 60%,   
        transparent      
    );
    
 
}

#banner-contenido{

    width: 60%;
    margin: 0 auto; 
    bottom: 30px;
    position: absolute;
    display: block;
    left: 20%;
    height: auto;
  
}

.banner-titulo{
    font-family: 'JosefinSans-Bold';
    color : #ffc32e;
    font-size: 2rem;
}

#banner-texto{
    font-family: 'JosefinSans-Regular';
    text-align: justify;
    width: 100%;
    color: white;
    font-size: 1rem;
    
}


#convocatoria{
    position: absolute;
    top: 50%;
    width: 100%; 
    display: flex;
    justify-content: center;
    height: auto;
    background-image: url("/api.static/imagenes/Pagina/Banners/fondo-manchas.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

#convocatoria-contenido{
    position: relative;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom : 50px;
}

#convocatoria-titulo{

    font-family: 'JosefinSans-Bold';
    color : #ffc32e;
    font-size: 2.3rem;
    max-width: 100%;
    line-height: 1.2;

    
}

.gif-image{
    
    /* filter: brightness(0) saturate(100%) invert(68%) sepia(70%) saturate(496%) hue-rotate(354deg) brightness(104%) contrast(91%); */
    height: 100%;
    width: auto;


}







#documentos{

    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    

}

#convocatoria-documentos p {
    font-size: 1.2rem;
    text-align: center;
    margin: 15px;
    color: #fff;



}

.fila-documentos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
    gap : 30px;
    flex-wrap: wrap;
}

.fila-documentos div{
    max-width: calc(50% - 10%);
}





.documento-boton{
    background-color: black;
    cursor: pointer;
    color: white;
    text-decoration: none;
    width: auto;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    transition: 0.5s;
    font-size: 0.8rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;

}

.documento-boton-blanco{
    background-color: #fff;
    color: #3a214b !important;
    cursor: pointer;
}


.documento-boton:hover{
    background-color: #fff;
    color : #6f261b;
 }

 .documento-boton-blanco:hover{
    background-color: #ffcc33;
    color : #fff;
 }

 #video{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #352c4f;
  
 }

 #video-contenido{
    width: 70%;
    padding: 50px 0;
    text-align: center;
    


 }

 #video-contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    width: 100%;
 }

 .columna{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap : 40px;
    
    max-width: 15%;
 }


.item-1, .item-3 {
    flex-grow: 0; 
    flex-shrink: 1; 
    flex-basis: 20%; 
  }
  
  .item-2 {
    flex-grow: 1;  
    flex-shrink: 0; 
    flex-basis: 60%; 
  }


  #video-contenedor a img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  @media (max-width: 768px) { /* Aplica solo en pantallas menores a 768px */
    .responsive-video {
        width: 100%;
        height: auto;
    }

}

  .mari-izq{
    transform: rotate(-45deg) ;
  }

  .mari-der{
    transform: rotate(45deg) ;
  }


  #categoriasyediciones{
    width: 100%;
    height: auto;
    background-image: url("/api.static/imagenes/Pagina/Banners/fondo-manchas.jpg");
    padding-bottom: 50px;

  }

  #categorias-contenedor{
    display: flex;

    justify-content: space-evenly;
    width: 100%;
    gap: 5%;
    padding: 30px;

  }

  #categorias-contenedor img {
    max-width: 40%;
    height: auto;
    object-fit: cover;
  }

  #categorias-contenido{

    word-wrap: break-word;
    color: #fff;
    max-width: 50%;
  }

  #categorias-viñetas{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
  }


  .viñeta{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .viñeta p{
    margin: 0;
  }

  #premios-especiales{
    margin-top: 20px;
    line-height: 2;
    font-size: 1.1rem;
  }





  .carrusel-premios{
    padding:  0 20%;

  }

  .slick-next {
    right: 21%;
    
  }

  .slick-prev{
    left: 21%;
  }

  .card{
    margin: 10px;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;

  }

  .card img{
    width: 100%;
    transition: transform 1s ease;
  }

  .card:hover img{
    transform: scale(1.1);
  }

  .card-titulo{
    position: absolute;
    bottom: 10px;
    left: 20px;
  }


  #convocatoria-contenido {
    margin-top: auto; 
  }



 @media (min-width: 768px) and (max-width: 1023px) {
    /* Estilos para tablets */

    #convocatoria{
        
        top: 30%;
      
    }

    #banner-contenido{

        width: 90%;
        margin: 0 auto; 
        top: 70%;
        bottom: auto;
        position: absolute;
        left : 5%;
       
      
    }
    

    #convocatoria-contenido{
        position: static;
        width: 90%;
        margin-top: 65%;
        margin-left: auto;
        margin-right: auto;
    }
    

    .documento-boton{
        font-size: 1rem;
    }



    #video-contenedor{
        display: flex;
        flex-direction: column;
        justify-content: center;
   
        gap: 25px;
        width: 100%;
     }

     #video-contenido{
        width: 80%;
        padding: 50px 0;
        text-align: center;
        
    
    
     }
     
    
     .columna{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 50px;
        text-align: center;
        max-width: 100%;
     }
    
    
    .item-1, .item-3 {
        flex-grow: 1; 
        flex-shrink: 1; 
        flex-basis: 0; 
      }
      
      .item-2 {
        flex-grow: 1;  
        flex-shrink: 1; 
        flex-basis: 0; 
      }
 
      #categorias-contenedor{
        flex-direction: column;
        justify-content: center;
        gap: 25px;
      }

      #categorias-contenedor img{
        max-width: 100%;
        height: auto;
      }

      #categorias-contenido{
        max-width: 100%;
      }

      .carrusel-premios{
        padding:  0 5%;
    
      }

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


  }
  




@media (max-width: 767px) {
    /* Estilos para celulares */
    #video {
      margin-top: 815px !important;
    } 

    #banner{
        
        mask-image: linear-gradient(
    
            #3a214b 80%,   
            transparent      
        );
    }

    #banner-contenido{

        width: 90%;
        top: 60%;
        bottom: auto;
        padding: 10px;
        left : 5%;
      
    }

    .banner-titulo{
        font-size: 1.6rem;
        line-height: 1.2;
    }


    #convocatoria{
        
        top: 20%;
      
    }
    

    #convocatoria-contenido{
        position: static;
        width: 90%;
        margin-top: 190%;
        margin-left: auto;
        margin-right: auto;
    }

    #convocatoria-titulo{
        font-size: 1.5rem;
        
    }

    .fila-documentos div{
        max-width: 100%
        
    }

    
    #video-contenedor{
        display: flex;
        flex-direction: column;
        justify-content: center;
   
       
        width: 100%;
     }

     #video-contenido{
        width: 90%;
        padding: 50px 0;
        text-align: center;
    
     }
    
     .columna{
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        text-align: center;
        max-width: 100%;

     }
    
    
    .item-1, .item-3 {
        flex-grow: 1; 
        flex-shrink: 1; 
        flex-basis: 0; 
      }
      
      .item-2 {
        flex-grow: 1;  
        flex-shrink: 1; 
        flex-basis: 0; 
      }

      .gif-image{
        width: 25%;
        height: auto;
      }

      
      #categorias-contenedor{
        flex-direction: column;
        justify-content: center;
        gap: 25px;
      }

      #categorias-contenedor img{
        max-width: 100%;
        height: auto;
      }

      #categorias-contenido{
        max-width: 100%;
      }

      #categorias-viñetas{

        gap: 0px;
      }

      .carrusel-premios{
        padding:  0 5%;
    
      }

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


