
:root {
    --color-bg: white;
    --color-text-main: #000000;
    --color-primary: #ffff00;
    --wrapper-height: 87vh;
    --image-max-width: 300px;
    --image-margin: 3rem;
    --font-family: "HK Grotesk";
    --font-family-header: "HK Grotesk";
  }
  
  /* Basic page style resets */
  * {
    box-sizing: border-box;
  }
  [hidden] {
    display: none !important;
  }
  
  /* Import fonts */
  @font-face {
    font-family: HK Grotesk;
    src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
      format("opentype");
  }
  @font-face {
    font-family: HK Grotesk;
    font-weight: bold;
    src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
      format("opentype");
  }
  
  /* Our remix on glitch button */
  .btn--remix {
    font-family: HK Grotesk;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    line-height: 1rem;
    font-weight: 500;
    height: 2.75rem;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #000000;
    box-sizing: border-box;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    margin-left: auto;
  }
  .btn--remix img {
    margin-right: 0.5rem;
  }
  .btn--remix:hover {
    background-color: #d0fff1;
  }
  
  /* Navigation grid */
  
  .footer a:not(.btn--remix):link,
  a:not(.btn--remix):visited {
    font-family: HK Grotesk;
    font-style: normal;
    font-weight: normal;
    font-size: 1.1rem;
    color: #000000;
    text-decoration: none;
    border-style: none;
  }
  
  .footer .links {
    padding: 0.5rem 1rem 1.5rem;
    white-space: nowrap;
  }
  
  .divider {
    padding: 0 1rem;
  }
  /******************************************************************************
  END Glitch hello-app default styles
  ******************************************************************************/

  body {
    margin: 0px;
    padding: 0px;
    font-family: "HK Grotesk";
    background-color: var(--color-bg);
  }
  
  /* Page structure */
  .wrapper {
    min-height: var(--wrapper-height);
    display: grid;
    place-items: center;
  }
  
  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Make sure the content takes up the full width within the max-width */
  }
  
  /* Very light scaling for our illustration */
  .title {
    font-family: HK Grotesk;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 105%;
    margin: 0;
    text-align: center;
    margin-top: 0px;
    text-decoration: none;
    color: #ffffff;
  }
  
  h4,
  h6 {
    font-weight: bold;
  }
  
  h3,
  h5 {
    font-weight: bold;
    color: #294090;
  }

  .titolp {
    font-weight: bold;
    color: black;
  }
  
  .nav-link {
    color: black;
  }
  
  .back {
    color: white;
  }
  
  .nolinkline {
    text-decoration: none;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .card {
    background-color: #1e88e5;
    width: 300px; /* Set your desired width */
    height: 60px; /* Set your desired height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    border-radius: 50px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.205);
    opacity: 0; /* Los cards serán invisibles al inicio */
    transition: opacity 1s ease-in;
    transition: transform 0.3s ease;
  }

  .card:hover {
    transform: translateY(-6px); 
  }
  
  .card.fade-in {
    animation: fadeIn 1s forwards; /* Aplica la animación cuando se añade la clase fade-in */
    opacity: 1; /* Al finalizar la animación, será visible */
  }

  .card-tema {
    background-color: #1e88e5;
  }
  
  .card-body {
    text-align: center; 
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
  }
  
  .secciovideos{
    margin-top: 160px;
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(168deg, #1e88e5, #32b5dc);
  }

  .container-fluid {
    background-color: #1e88e5;
    height: 60px;
  }

  .cardvideo {
    background-color: #ffffff;
    width: 300px; /* Set your desired width */
    height: 250px; /* Set your desired height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    border-radius: 30px;
    transition: transform 0.3s ease;
  }

  .cardvideo:hover {
    transform: translateY(-8px); 
  }

  .cardvideo-shadow {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
  .cardvideo-tema {
    background-color: #ffffff;
  }
  
  .cardvideo-body {
    text-align: center; /* Center the text horizontally */
  }
  
  .form-control {
    width: 400px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  
  .footer {
    background-color: #1e88e5;
    height: 70px;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
  }

  .hover-video {
    /* Ocultar controles por defecto */
    controls: false;
  }
  
  .hover-video:hover {
    /* Aplicamos un efecto al hacer hover para mostrar los controles */
    controls: true;
  }

  .btn {
    margin: 1px;
  }
  
  .card-results {
    background-color: #def3ff;
    width: 1500px; /* Set your desired width */
    height: 100px; /* Set your desired height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
  }
  
  .card-body-results {
    text-align: center; /* Center the text horizontally */
  }
  
  .search-container {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 15px; /* Adjust margin as needed */
  }
  
  #searchInput {
    padding-right: 5px; /* Adjust the padding to make space for the clear button */
  }
  
  #cardContainer {
    position: relative; /* AÃ±ade posiciÃ³n relativa al contenedor principal */
  }
  
  #searchResultsContainer {
    position: absolute;
    top: calc(
      100% + 10px
    ); /* PosiciÃ³n por encima del input de bÃºsqueda con un pequeÃ±o espacio */
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: -10px; /* Margen superior negativo para superponer sobre la pÃ¡gina principal */
  }
  
  #searchResults {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #searchResults li {
    background-color: #def3ff;
    width: 100%; /* O el ancho deseado */
    height: 60px; /* O la altura deseada */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #searchResults li:hover {
    background-color: #c0e2ff;
  }
  
  #searchResults a {
    text-decoration: none;
    color: #000000;
  }