/* ciudad.css */

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #f9f9f9;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 20px;
}
h1, h2, h3, h4 {
    text-align: center;
    color: #578aef;
}
section p {
    font-size: 25px;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
footer {
    background-color: #578aef;
}
footer a {
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: #578aef;
}
footer p {
    margin: 0;
    font-size: 0.95rem;
}
img{
    width: 100%;
    box-shadow: 0px 0px 5px 2px #213461;
}
/* Imágenes de galería con hover */
img.rounded-lg {
    transition: transform 0.3s ease;
}
img.rounded-lg:hover {
    transform: scale(1.05);
}
img.img-cat{
    width: 200px;
    height: 200px;
}
.video-fondo {
  display: block;
  width: 100%;
  height: 700px !important;      
  object-fit: cover; 
  z-index: -1;
}     
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;  
}
.main-description{
    margin: 20px;
    font-size: 30px;
    font-weight: 600;
    text-align: center !important;
}
.main-description-secondary{
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}
.main-title{
    font-size: 85px;    
    font-weight: 900;
    text-shadow: 3px 3px 3px #000000;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #578aef;
}
.main-title-secondary{
    font-size: 40px;    
    font-weight: 900;
    text-shadow: 2px 2px 2px #000000;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #578aef;
}
.main-subtitle{
    font-size: 45px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
    text-shadow: 2px 2px 2px #000000;
}
.subtitle{
    color: #000000 !important;    
}
.main-gallery{
    padding: 50px;
    background-color: #578aef;
}
.main-catlegs {
  height: 30px;
  background-image: url('/images/patitas.jpg');
  background-repeat: repeat-x;
  background-size: 50px auto; /* reduce el tamaño de la imagen */
}
.cat-news{
    margin: 5%;
    font-size: 40px;
 }
 .cat-footer{
  text-align: left;
  background-color: #1f2937;
  color: #f7f7f7;
  padding: 5%;
 } 
  nav{
    background-color:  #578aefa1 !important;
    z-index: 1;
  }
  nav img{
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
  }
  .menuOption{
    margin: 10px;
    font-size: 20px;
    font-weight:700;
    text-shadow: 2px 2px 4px #000000;
  }
  .mobile-menu{
    background-color: #578aef;
  }
  .butXMenu{
    position: absolute;
    top: 1rem;       /* equivalente a top-4 */
    right: 1rem;     /* equivalente a right-4 */
    font-size: 1.875rem; /* equivalente a text-3xl */
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
  }
  .fab{
    margin: 10px;
  }
  .fade-in {
    opacity: 0;
    transform: scale(0.8); /* Hace que el texto aparezca desde un tamaño menor */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: scale(1); /* Vuelve al tamaño normal */
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.catModal{
    max-width: 50%;
}

@media (max-width: 768px) {
    .main-title {
      font-size: 50px;
    }
    .main-subtitle {
      font-size: 35px;
    }
    .catModal{
    max-width: 100%;
    }  
    .main-gallery{
    padding: 5px;
}  
}
html, body {
    overflow-x: hidden;
}
.news-img{
    max-width: 400px !important;
}
.scrollButton{
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 9999;
}
.scrollButton img{
    box-shadow: none;
}