@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

img{
    max-width: 100%;
    height: auto;
}

li{
    text-align: left;
}

body {
  padding-top: 80px; /* Ajusta según la altura del encabezado */
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}


 .section {
            padding: 100px;
            text-align: center;
            height: auto;
        }

 #section-sitios {
            padding: 130px;
            text-align: center;
            height: auto;
        }
		
 #section-directorio{
            padding: 200px;
            text-align: center;
            height: auto;
        }
  
        
             /* Contenedor del Parallax */
    .parallax-container {
        position: relative;
        overflow: hidden;
        height: 400px; /* Ajusta la altura según necesites */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Imagen de fondo del Parallax */
    .parallax {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: -1;
        will-change: transform;
        background-attachment: fixed; 
    }


    .parallax-container[data-speed] .parallax {
        transform: translateY(0);
    }

        

        .welcome-text {
    font-size: 1.5rem;
    color: #333;
    
    animation: fadeIn 2s ease-in-out;
}

.text,table {
    font-size: .9rem;
    color: #fff;
    animation: fadeIn 2s ease-in-out;
    padding: 20px;
   /* text-align: justify;*/
}

.text-act{
    font-size: .9rem;
    color: #333;
    
    animation: fadeIn 2s ease-in-out;
    text-align:  center;
}

#video{
    color:#704977;
    font-size: .8rem;
    
    animation: fadeIn 2s ease-in-out;
    text-align:  center;
    font-weight: bold;
}


.btn-primary {
    color: #fff;
    background-color: #20568d;
    border: none;
}

h1{
    color:rgb(5, 40, 128), 212, 240) !important; 
    font-family: Rockville Solid Regular;
}

h2{
    color:#7E4F85 !important;
}
.btn-primary:hover {
    color: #fff;
    background-color: #120661;
    border: none;
}
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        a.nav-link{
            color: #fff;
        }

        .bg-primary{
            background-color: #120661 !important;
        }

    
    .table th {
      background-color: #f3953d;
      color: white;
    }

    .table td {
      vertical-align: middle;
      font-weight: 400;
    }

    .bg-light {
    
    color: #fff; 
    }

    .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
            color: #fff;
            font-size: 15px;
    }


    /* Estilos para el efecto hover */
    .navbar-nav .nav-link {
      position: relative;
      font-size: 18px;
      color: #333;
      transition: color 0.3s ease-in-out;
    }

    .navbar-nav .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      background-color: #fff;
      bottom: -2px;
      left: 50%;
      transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    }

    .navbar-nav .nav-link:hover {
      color: #007bff;
    }

    .navbar-nav .nav-link:hover::after {
      width: 100%;
      left: 0;
    }


          /* Botón flotante */
.btn-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #71aeec;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none; /* Oculto al inicio */
    transition: opacity 0.3s, transform 0.3s;
}

.btn-top:hover {
    background-color: #120661;
}

.btn-top.show {
    display: block;
}

.navbar-toggler-icon,.navbar-toggler:not(:disabled):not(.disabled){
    background-color: #fff;
}

.padding-30{
    padding: 30px;
}



 #encabezado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* Asegura que el fondo sea visible */
    z-index: 1000; /* Asegura que el encabezado esté sobre los demás elementos */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Opcional: sombra para resaltar el encabezado */
}


.bg-light {
    background: linear-gradient(to bottom, #0885c8, #003366) !important;
}

/* Estilos personalizados para la barra de navegación */
.custom-navbar {
    background: red
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Estilos para los logotipos */
.logo {
    padding: 5px;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1); /* Efecto zoom al pasar el mouse */
}


/* Estilo del título */
.title {
    font-size: 17px;
    color: #ffffff;
    margin: 5px;
}

/* Estilo del subtítulo */
.subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

table{
    font-size: 13px;
}


/* Estilos generales */
.custom-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 10px;
}

/* Efecto hover */
.custom-card:hover {
    transform: scale(1.05);
}

/* Imagen */
.custom-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Overlay con efecto */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oscurecer fondo */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* Mostrar overlay al hacer hover */
.custom-card:hover .overlay {
    opacity: 1;
}

/* Título */
.custom-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Botón personalizado */
.btn-custom {
    background: #6c346f;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    font-size: 12px;
}

.btn-custom:hover {
    background: #be8fc5d1;
    color: #fff;
}



form input, form textarea {
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

form input:focus, form textarea:focus {
    box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.5);
    border-color: #007bff;
}

#statusMessage {
    font-weight: bold;
}


.link{
    color: #EBD3EF;
}

.pie-text{
    font-size: 12px;
}

@media (max-width: 991px) {
#logo-genero-izq{
    display: block !important;
}
}
/* Para dispositivos móviles, usa una simulación del efecto parallax */
@media (max-width: 767px) {
 .section {
    padding: 30px;
  }

   #section-sitios {
            padding: 30px;
        }
	
	#section-directorio{
            padding: 50px;
        }

.btn-top {
    
    font-size: 18px;
    bottom: 20px;
    right: 10px;
    
    }

    body {
  padding-top: 60px; /* Ajusta según la altura del encabezado */
}
/* Estilo del título */
.title {
    font-size: 14px;

}

/* Estilo del subtítulo */
.subtitle {
    font-size: 12px;
}


#logo-genero{
    display: none;
}

#titulo-header{
    font-size: 15px;
}
}


@media (max-width: 634px) {
    #titulo-header{
        font-size: 12px;
    }
}


#fca{
 width: 120px;
}


#unam{
    width: 90px;
}

#fcaunam{
    width: 140px;
}

.carousel-item:nth-child(3) .carousel-caption {
    top: 50%;
    left: 30% !important;
    transform: translateY(-50%);
    text-align: center !important;
    width: 50%;
}



@media (max-width: 599px) {

    #titulo-header{
        font-size: 15px;
    }

    #fca{
        width: 70px;
       }
       
       
       #unam{
           width: 50px;
       }
       
       #fcaunam{
           width: 90px;
       }

       .carousel-item:nth-child(3) .carousel-caption {
        
        left: 0% !important;

    }
       
}




#logo-genero-izq{
    display: none;
}
.section-title {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.section-title.center-title {
    text-align: center;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-title h1 {
    font-size: 100px;
    color: #E3E3E3;
    font-family: "Rockville Solid Regular";
    position: absolute;
    left: 0;
    top: -45px;
    width: 100%;
    z-index: -1;
}

#gif{
    max-width: 30%;
    height: auto;
}
  
.services {
	overflow: hidden;
}

.services__list {
	margin: 0;
}

.service__item {
	background: #6c346fa3;
	height: 450px;
	padding: 70px 40px 40px 70px;
	text-align:center
}

.service__item.deep-bg {
	background: #6c346f;
}

.service__item h4 {
	font-size: 26px;
	color: #5D4165;
	font-weight: 700;
	margin-top: 25px;
	margin-bottom: 10px;
}

.service__item p {
	color: #ffffff;
	margin-bottom: 0;
}

.primary-btn {
	display: inline-block;
	font-size: 15px;
	font-family:Arial, Helvetica, sans-serif;
	padding: 12px 12px 12px;
	color: #ffffff;
	background: #f3953d;
	letter-spacing: 2px;
}


.navbar-light .navbar-nav .nav-link{
    color: #fff;
    font-size: 15px;
}


.navbar-light .navbar-nav .nav-link:hover{
    color: #fff;
}



.pl-2, .px-2{
    padding-left: 0px !important;
}


.card{
    border: 1px solid #rgb(54, 52, 111)
}

.espacio{
    padding: 10px;
}

h6{
    color: #6c346f;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l1.5 1.5-2.5 2.5 2.5 2.5-1.5 1.5-4-4 4-4z'/%3E%3C/svg%3E");
}



#prepie{
    background: #0885c8;
    padding: 20px;
}

.creditos{
    text-align: justify;
}



.accordion-button:focus {
    outline:#007bff !important;
    box-shadow: none !important;
    border: 2px solid #0885c8 !important;
  }

  .separacion{
    margin-bottom: 10px;
  }

  #registrate:hover{
    color: #0885c8 !important;
  }

  #registrate{
    color: #003366 !important;
  }


  /* Pista general */
#talleres .rail-track{
    display:flex;
    gap:1rem;
    overflow:hidden;
    scroll-snap-type:x mandatory;
  }
  
  #talleres .rail-track .tile{
    scroll-snap-align:start;
    flex:0 0 100%;   /* móvil: 1 */
    max-width:100%;
  }
  
  /* Tablet: 2 */
  @media (min-width:768px){
    #talleres .rail-track .tile{
      flex:0 0 calc((100% - 1rem)/2);
      max-width:calc((100% - 1rem)/2);
    }
  }
  
  /* Desktop mediano: 3 */
  @media (min-width:992px){
    #talleres .rail-track .tile{
      flex:0 0 calc((100% - 2rem)/3);
      max-width:calc((100% - 2rem)/3);
    }
  }
  
  /* Desktop grande: 4 */
  @media (min-width:1200px){
    #talleres .rail-track .tile{
      flex:0 0 calc((100% - 3rem)/4); /* 3 gaps entre 4 items */
      max-width:calc((100% - 3rem)/4);
    }
  }
  
  #talleres .tile .poster{width:100%;height:auto;display:block;}
  