
    :root {
      --azul-imced: #0066cc;
      --verde-imced: #28a745;
      --gris-fondo: #f8f9fa;
    }

    body {
      background: var(--gris-fondo);
      padding-top: 70px;
      user-select: none;
      padding-top: 0px;
    }

    .navbar {
      background-color: var(--verde-imced) !important;
    }

    .card {
      transition: transform 0.2s;
      border: 1px solid #dee2e6;
    }

    .card:hover {
      transform: scale(1.02);
      box-shadow: 0 0.5rem 1rem rgba(0, 102, 204, 0.15);
    }

    .card-title {
      color: var(--azul-imced);
    }

    .btn-primary {
      background-color: var(--verde-imced);
      border-color: var(--verde-imced);
    }

    .btn-primary:hover {
      background-color: #218838;
      border-color: #1e7e34;
    }

    .card img {
      height: 180px;
      object-fit: cover;
    }

    footer {
      padding: 20px 0;
      background-color: var(--azul-imced);
      color: white;
      text-align: center;
    }

    .logo-imced {
        height: 400px;           /* tamaño deseado */
        margin: 0 auto;          /* centrado horizontal */
        display: block;          /* evita espacios por defecto */
        padding: 0;
        margin-bottom: -100px;
    }

    /* También puedes reducir el margen inferior del contenedor si es necesario */
    .text-center.mb-2 {
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }   
* {
    font-family: arial;
  }
  
  .contenedor {
      position: relative;
      width: 100%;
      margin: 0 auto;
      transition: all 0.3s ease-out;
      margin-top: 50px;
      margin-bottom: 20px;
      display: block;
  }
  
  .contenedor-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
  }
  
  .contenedor-cards .contenedor-card-item {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -o-box-sizing: border-box;
      width: 25%;
      margin: 1%;
      -webkit-transition: all 0.3s ease-out;
      -o-transition: all 0.3s ease-out;
      transition: all 0.3s ease-out;
      border-radius: 5px;
      cursor: help;
  }
  
  .contenedor-cards .contenedor-card-item:hover {
      box-shadow: 0 15px 30px rgba(0,0,0,0.3);
      -webkit-transform: translateY(-10px);
      -ms-transform: translateY(-10px);
      -o-transform: translateY(-10px);
      transform: translateY(-10px);
  }
  
  .contenedor-card-item-wrapper {
      overflow: hidden;
      position: relative !important;
      background: #3E2723;
      border-radius: 5px;
  }
  
  .contenedor-card-item img {
      max-width: 100%;
      position: relative;
      top: 0;
      -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
      transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
      border-radius: 5px;
  }
  
  .contenedor-card-item .contenedor-info {
      position: absolute;
      width: 100%;
      height: 70px;
      bottom: -70px;
      -webkit-transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
      transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  }
  
  .contenedor-card-item .contenedor-info .fondo {
      background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.73) 53%, rgba(0,0,0,0.88) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.73) 53%,rgba(0,0,0,0.88) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.73) 53%,rgba(0,0,0,0.88) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#e0000000',GradientType=0 );
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
  }
  
  .contenedor-card-item .contenedor-info .info {
      color: #fff;
      position: relative;
      z-index: 500;
      padding: 20px 15px;
  }
  
  .contenedor-card-item .contenedor-info .info .titulo {
    margin: 0;
    font-size: 15px;
  }
  
  .contenedor-card-item .contenedor-info .info .categoria {
      display: block;
      font-size: 10px;
  }
  
  .contenedor-card-item:hover .contenedor-info {
      bottom: 0;
  }
  
  .contenedor-card-item:hover img {
      top: -30px;
      -webkit-transform: rotate(-5deg) scale(2);
      -ms-transform: rotate(-5deg) scale(2);
      -o-transform: rotate(-5deg) scale(2);
      transform: rotate(-5deg) scale(2);
  }
  
  @media screen and (max-width: 900px) {
      .contenedor-card-item:hover img {
      top: -30px;
      -webkit-transform: rotate(-5deg) scale(1.3);
      -ms-transform: rotate(-5deg) scale(1.3);
      -o-transform: rotate(-5deg) scale(1.3);
      transform: rotate(-5deg) scale(1.3);
    }
  
      .contenedor-card-item .contenedor-info {
          bottom: 0;
      }
  }
  
  @media screen and (max-width: 767px) {
      .contenedor {
          width: 95%;
      }
  
      .contenedor-cards .contenedor-card-item {
          width: 48%;
          margin: 1%;
      }
  }
  
  @media screen and (max-width: 550px) {
    .contenedor-cards .contenedor-card-item {
      width: 60%;
      margin: 10px auto;
    }
  }
  
  @media screen and (max-width: 480px) {
      .contenedor {
          width: 90%;
      }
    
    .contenedor-cards .contenedor-card-item {
      width: 90%;
    }
  }
  
  @media screen and (max-width: 400px) {
      .contenedor {
          width: 100%;
      }
  }
    .no-select {
      user-select: none;
    }  