

.inicio-section {
 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    position: relative;
}

.inicio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    /* Capa oscura semitransparente */
    z-index: 1;
}

.inicio-section .container {
    position: relative;
    z-index: 2;
    /* Asegúrate de que el contenido esté por encima del overlay */
}






/* cards albums */


.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease;
    cursor: pointer;
    
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    
    opacity: 0.95;
    
}

.card-body {
    background-color: #f8f9fa;
    /* Fondo claro para el cuerpo del card */
}

.card-footer {
    background-color: #e9ecef;
    /* Fondo sutil para el pie del card */
}

.card-title {
    font-size: 1.2rem;
    color: #000000;
    /* Color azul para el título */
}

.card-text {
    color: #495057;
    /* Color gris oscuro para el texto */
}

.text-muted {
    color: #6c757d;
    /* Gris para el texto más tenue */
}

.text-success {
    color: #28a745;
    /* Verde para el puesto */
}

.text-primary {
    color: #007bff;
    /* Azul para el título */
}

.clickable-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}










.scrollable-text {
    max-height: 200px;
    /* Ajusta la altura máxima que desees */
    overflow-y: auto;
    /* Hace que aparezca un scroll vertical cuando el contenido exceda el tamaño */
    padding-right: 10px;
    /* Evita que el texto quede pegado al borde */
}


























/* Add this CSS to style the Sidebar */
.sidebar-container {
    display: flex;
    
    
    
}
  
.sidebar {
  background-color: #2c3e50;
  color: white;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: min-width 0.3s ease, padding 0.3s ease; 
  overflow-y: auto;
  box-sizing: border-box; /* Asegura que el padding no expanda el sidebar */
  padding: 20px; /* Se aplicará por defecto */

}

/* Aplica un padding menor cuando el sidebar está colapsado */
.sidebar.collapsed {
  padding: 5px; /* Reducir padding cuando está colapsado */
}

  
  .sidebar-header {
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .sidebar-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 5px;
  }
  
  .sidebar-item:hover {
    background-color: #34495e;
  }
  
  .sidebar-item .icon {
    margin-right: 10px;
  }
  
  .sidebar-item .link-text {
    font-size: 1.1rem;
    font-weight: 500;
  }
  
  .sidebar-item.active {
    background-color: #1abc9c;
  }
  
  .main-content {
    flex: 1;
    padding: 20px;
    background-color: #ecf0f1;
    margin-left: 250px; /* Adjust this based on sidebar width */
    transition: margin-left 0.3s ease;
  }
  
  .main-content.shrink {
    margin-left: 60px;
  }
  








/* 
SUBIDA DE IMAGENES(ALBUM)
*/

/* Estilos para el área de arrastre */
.area-arrastre {
    border: 2px dashed #007bff;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s, background-color 0.3s;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.area-arrastre:hover {
    background-color: #e2e6ea;
    border-color: #0056b3;
}

/* Estilo de la animación de carga */
.area-arrastre.cargando {
    background-color: #e9ecef;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

/* Animación para el círculo de carga */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para las imágenes previas */
.imagen-previa {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.imagen-previa:hover {
    transform: scale(1.1);
}





/* album ver en cel */
@media (max-width: 768px) {
    .carousel-img {
      height: auto !important;
    }
  }















  .masonry-grid {
    display: flex;
    margin-left: -15px; /* Ajuste de espaciado */
    width: auto;
  }
  
  .masonry-column {
    padding-left: 15px;
    background-clip: padding-box;
  }
  
  .card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px; /* Espaciado entre tarjetas */
    border: 1px solid #ddd; 
  }
  
  .card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  
  .card-body {
    padding: 15px;
    background-color: white;
    text-align: center;
  }
  


  .card {
    transition: none !important; /* Elimina cualquier animación */
    box-shadow: none !important; /* Evita sombras extra al pasar el mouse */

  }
  
  .card:hover {
    transform: none !important; /* Evita que el card se agrande */
    box-shadow: none !important; /* Evita sombras en hover */
    cursor: default;
  }
  









/* fotos noticias */
  .hover-shadow {
    transition: box-shadow 0.3s ease-in-out;
  }
  
  .hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }
  
  .card-img-container {
    overflow: hidden;
  }
  
  .card1:hover .card-img-top {
    transform: scale(1.05);
  }









/* insertar album css */
.imagenes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.image-container {
  position: relative;
  display: inline-block;
  width: 180px;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.imagen-previa {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.btn-eliminar {
  position: absolute;
  top: 5px;
  right: 5px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-eliminar:hover {
  background: darkred;
}

.area-arrastre {
  width: 100%;
  height: 150px;
  border: 2px dashed #007bff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.area-arrastre:hover {
  background-color: rgba(0, 123, 255, 0.1);
}







/* nav bar css */

.transition-all {
  transition: all 0.3s ease-in-out;
}
.nav-link {
  cursor: pointer;
}









.bg-container{
  background-color: #2990C3;
}









  


/* Navbar */
.navbar-nav .nav-link {
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #A0DAF5 !important; /* Un azul celeste más claro */
}



/* footer  */

/* Redes Sociales */
.social-icon {
  color: #2990C3;
  font-size: 1.5rem;
  transition: color 0.3s ease-in-out;
}

.social-icon:hover {
  color: #A0DAF5; /* Azul celeste claro */
}

/* Iconos de Contacto */
.icono-contacto {
  color: #2990C3;
  font-size: 1.3rem;
  margin-right: 10px;
  transform: rotate(90deg);
}

/* Links del footer */
.footer-link {
  color: #002B3F;
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 15px;
  transition: color 0.3s ease-in-out;
}

.footer-link:hover {
  color: #A0DAF5;
}












/* animacion de cargando */
/* 🔥 Pantalla de carga con puntos suspensivos */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Fondo oscuro translúcido */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}

/* 🎭 Efecto de fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 🌟 Texto de "Cargando" */
.loading-text {
  font-size: 24px;
  color: white;
  font-weight: bold;
}

/* ✨ Puntos suspensivos animados */
.dots-animation {
  font-size: 36px;
  font-weight: bold;
  display: inline-flex;
  color: white;
  margin-top: 10px;
}

.dots-animation span {
  opacity: 0;
  animation: dots 1.5s infinite;
}

.dots-animation span:nth-child(1) {
  animation-delay: 0s;
}
.dots-animation span:nth-child(2) {
  animation-delay: 0.2s;
}
.dots-animation span:nth-child(3) {
  animation-delay: 0.4s;
}

/* 🌀 Animación de los puntos */
@keyframes dots {
  0% {
    opacity: 0;
    transform: translateY(0px);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
  100% {
    opacity: 0;
    transform: translateY(0px);
  }
}











.custom-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ced4da;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.custom-input:focus {
  border-color: #007bff;
  box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.3);
}

















/* insertar calendario */


.dropzone {
  width: 100%;
  height: 200px;
  border: 2px dashed #007bff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f8f9fa;
  cursor: pointer;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #6c757d;
}

.upload-placeholder i {
  font-size: 2rem;
  color: #007bff;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.error-text {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

.btn {
  display: block;
  margin: 0 auto;
}




/* insertar reglamento */

.dropzone {
  border: 2px dashed #007bff;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  background-color: #f8f9fa;
  transition: all 0.3s;
}

.dropzone:hover {
  background-color: #e9ecef;
}

.upload-placeholder i {
  font-size: 40px;
  color: #007bff;
}

.upload-placeholder p {
  margin-top: 10px;
  font-weight: bold;
}

.error-text {
  font-size: 14px;
  color: red;
}

.pdf-preview {
  margin-top: 20px;
}






@media (max-width: 768px) {
  .card-responsive {
    width: 100%; /* Ajusta el tamaño máximo */
  }
}