*{
	padding: 0;
	margin: 0;
}
html {
      scroll-behavior: smooth;
}
body{
  background-image: url('../images/fondo-uach.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f9fa;
}
#preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #003966, #5D1D7C);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    #preloader img {
      width: 520px;
      opacity: 0;
      transform: scale(0.3);
      animation: zoomIn 1.5s ease-out forwards;
      animation-delay: 0.2s;
    }

    
    .spinner-border {
      width: 3rem;
      height: 3rem;
      color: #ffffff;
      margin-top: 20px;
      animation: fadeIn 1.5s ease-in forwards;
      animation-delay: 1s;
      opacity: 0;
    }

    
    #preloader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    @keyframes zoomIn {
      0% {
        transform: scale(0.3);
        opacity: 0;
      }
      50% {
        transform: scale(1.1);
        opacity: 1;
      }
      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    @keyframes fadeIn {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }
header{
    background: -moz-linear-gradient(left,rgb(31, 55, 102),rgb(31, 55, 102),rgb(102, 36, 131));
    background: -webkit-linear-gradient(left,rgb(31, 55, 102),rgb(31, 55, 102),rgb(102, 36, 131));
    background: -ms-linear-gradient(left,rgb(31, 55, 102),rgb(31, 55, 102),rgb(102, 36, 131));
    background: -o-linear-gradient(left,rgb(31, 55, 102),rgb(31, 55, 102),rgb(102, 36, 131));
    background: linear-gradient(to right,rgb(31, 55, 102),rgb(31, 55, 102),rgb(102, 36, 131));
    color: white;
}
.navbar .navbar-nav .nav-link:hover {
  background-color: #fff;
  color: #1A237E;
}
.img-galeria{
  width: 100%;
}
video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

.overlay-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.fondo{
  background-image: url("../images/fondo-objetivo.webp");
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  position: relative;

}
.hero-section {
  background: linear-gradient(135deg, #620d32, #a8852b);
  color: white;
  text-align: center;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  border-radius: 0 0 25px 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  position: relative; 
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px; 
  background: rgba(255, 255, 255, 0.3); 
  border-radius: 0 0 25px 25px;
}

.hero-section h1 {
  font-size: 1.5rem;
  font-weight: 900; 
  text-transform: uppercase;
  margin-bottom: 20px; 
  letter-spacing: 3px; 
  transition: transform 0.3s ease; 
}

.hero-section h1:hover {
  transform: scale(1.05); 
}
.gallery-container {
    background-color: #fff;
    color: #35373a;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.gallery-container h1 {
    text-align: center;
    margin-top: 70px;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
}

.gallery-container p.page-description {
    text-align: center;
    max-width: 800px;
    margin: 25px auto;
    color: #888;
    font-size: 18px;
}

/* Contenedor de lista con scroll */
#videoList {
  max-height: 430px;   /* altura fija del área de lista */
  overflow-y: auto;    /* activa scroll vertical */
}
/* Scrollbar personalizado */
#videoList::-webkit-scrollbar {
  width: 8px;
}
#videoList::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
#videoList::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/* miniaturas */
.video-thumb img {
  width: 100%;
  border-radius: 6px;
}
.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-img {
  width: 100%;
  height: auto;
  /*max-height: 500px;*/
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.thumbs-wrapper {
  position: relative;
}
.thumb-list {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}
.thumb {
  flex: 0 0 auto;
  margin-right: 10px;
  text-align: center;
}
.thumb img {
  cursor: pointer;
  transition: transform 0.2s, border 0.2s;
  border: 2px solid transparent;
  max-width: 150px;
  border-radius: 6px;
}
.thumb img:hover {
  transform: scale(1.05);
  border: 2px solid #007bff;
}
.scroll-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}
.scroll-btn.left {
  left: -10px;
}
.scroll-btn.right {
  right: -10px;
}
.parrafo {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1rem;
  margin: 0 auto;
  font-family: "Courier New";
  border-right: 0.15em solid #18bdec;
  animation: typing 4s steps(38) 1s 1 normal both, blink 1s steps(1) infinite;
}
.carousel-item iframe {
  width: 100%;
  height: 500px; /* Ajusta la altura */
}
.countdown-section {
  background: url('../images/banner/murales-01-02.webp') no-repeat center center/cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 2rem;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
}
.countdown-content {
  position: relative;
  z-index: 1;
}
.countdown-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 1.5rem;
  min-width: 100px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.countdown-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}
.countdown-label {
  font-size: 1rem;
  text-transform: uppercase;
  color: #f1f1f1;
  letter-spacing: 1px;
}
.tituloMurales{
  color: #620d32;
  font-size: 30px;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
footer{
  background: #9D9D9C;
  margin-top: auto;
}
@media screen and (min-width: 992px) {
  .navbar {
    padding: 0;
  }
}

.navbar .navbar-nav .nav-link {
  padding: 1em;
  transition: all 0.5s;
  color: #fff;
  font-size: 1.1em;
}
.navbar-brand {
  font-size: 1.5em;
}
@media screen and (max-width: 991px) {
  .navbar-brand {
    padding-left: 0.7em;
  }
  .navbar-nav {
    padding-top: 0.5em;
  }
}
@media only screen and (max-width: 600px) {
  .tituloMurales {
    color: #620d32;
    font-size: 20px;
  }
}