.btn {
    font-weight: bold;
    font-size: 16px;
    color: #f39200;
    
}
.btn:hover{
    color: brown;
}

.navegacion{
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px; 
  z-index: 1000;
  color: #f39200;
}

hr {
    padding: 0 !important;
    margin-top: 50px;
    margin-bottom: 50px;
    border: 0;
    border-top: 8px solid #460d41;
}

.bg-primary{
    transition: all 2s ease;
    background-color: #005d90 !important;
}

.bg-primary2{
  transition: all 2s ease;
  background-color: #1c47bb !important;
}

.logo-head{
    width: 150px;
    margin-right: 140px;
    margin-left: 150px;
}

.navbar {
  --bs-navbar-toggler-icon-bg: url('data:image/svg+xml;charset=UTF8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3e%3cpath stroke="rgba(255, 255, 255, 255)" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3e%3c/svg%3e');
  --bs-navbar-toggler-border-color: rgb(255, 255, 255);
}

.img-footer{
    display: block;
    max-width: 100%;
    height: auto;
}

.MultiCarousel { float: left; overflow: hidden; padding: 15px; width: 100%; position:relative; }
    .MultiCarousel .MultiCarousel-inner { transition: 1s ease all; float: left; }
        .MultiCarousel .MultiCarousel-inner .item { float: left;}
        .MultiCarousel .MultiCarousel-inner .item > div { text-align: center; padding:10px; margin:10px; background:#f1f1f1; color:#666;}
    .MultiCarousel .leftLst, .MultiCarousel .rightLst { position:absolute; border-radius:50%;top:calc(50% - 20px); }
    .MultiCarousel .leftLst { left:0; }
    .MultiCarousel .rightLst { right:0; }
    
        .MultiCarousel .leftLst.over, .MultiCarousel .rightLst.over { pointer-events: none; background:#ccc; }

.carousel-img{
  width: 300px;
  height: 208px;
  overflow: hidden;
  display: inline-block;
  border: 2px solid #ddd;
  border-radius: 8px;
}

.zoomable-image {
    width: 100%;
    transition: transform 0.3s ease;
    height: 185px;
}

.zoomable-image:hover {
    transform: scale(1.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    width: 70%;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-img {
    width: 100%;
    height: 100%;
  }
  .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    /* Contenedor del contenido del modal */
    .modal-contenido {
      background-color: #fff;
      border-radius: 12px;
      padding: 2rem;
      max-width: 90%;
      width: 400px;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      position: relative;
      animation: fadeIn 0.4s ease-out;
    }

    /* Animación de aparición */
    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    /* Botón cerrar */
    .cerrar {
      position: absolute;
      top: 12px;
      right: 16px;
      font-size: 1.5rem;
      text-decoration: none;
      color: #555;
      transition: color 0.2s;
    }

    .cerrar:hover {
      color: #000;
    }

    /* Título y texto */
    .modal-contenido h2 {
      margin-top: 0;
      color: #333;
    }

    .modal-contenido p {
      color: #555;
      margin-bottom: 1.5rem;
    }

    /* Botón de acción */
    .btn-modal {
      padding: 0.5rem 1.5rem;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      font-size: 1rem;
      cursor: pointer;
    }

    .btn-modal:hover {
      background-color: #0056b3;
    }

    /* Ocultar el modal si la URL apunta a #cerrar */
    #cerrar:target ~ .modal {
      display: none;
    }