
main p{
    /*font-weight: bolder;*/
    font-family: Roboto, sans-serif;
    font-size: 18.6667px;
    text-align: justify;
}

.txt-rojo{color:red}
.txt-azul{color:blue}

img{
    max-width: 100%;
}

.nav-item .active{
  color:#3db34a !important;
  font-weight: bold;
}

.mt-4{
    margin-top: 4rem;
}
.mb-4{
    margin-bottom: 4rem;
}

.renglon{
  display: flex;
  flex-wrap: wrap;
}
.columna{
    flex: 1 0 0;
}
.columna img[data-video]{
    cursor: pointer;
}

.carousel-control-next-icon, .carousel-control-prev-icon{
  filter: drop-shadow(2px 1px black);
}

footer{
    background: #63727d;
    color:white;
    padding:2rem 0;
    margin-top:4rem;
}
footer a{text-decoration: none;}
footer a:hover{text-decoration: underline;}

/* --- VIDEO MODAL SYSTEM --- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  background-color: #0f172a;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  z-index: 2;
}

.video-modal.open .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.video-modal-close:hover {
  background: #ef4444;
}

.video-modal-body {
  padding: 0;
  background: #000;
}

.video-responsive-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Adjust size on smaller screens */
@media (max-width: 580px) {
  .video-modal-container {
    width: 95%;
  }
  .video-modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card-body h1{
  margin: 0 0 8px 0;
  color: #0ea5a4;
  font-size: 1.5rem;
  font-weight: bold;
}

.caption{
  font-size: 1rem;
  font-weight: 400;
}

.link{
  text-decoration: none;
  color:black;
}
.docu{
  font-size: 1.2rem;
  text-decoration: none;
}