%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/genero.tjamich.gob.mx/
Upload File :
Create Path :
Current File : /home/tjamichg/genero.tjamich.gob.mx/styles.css

html{
  scroll-behavior: smooth;
  overflow-x: hidden;
  
}
body {
    margin: 0;
    font-family: monospace;
    padding: 0;
    overflow-x: hidden;
    
}

html, body {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.container {
  height: 100vh;
  overflow: visible;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
/* ==== TOP BAR ==== */

.container-top-cmasc{
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 999;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  transition: all 0.3s ease;

}
.container-logo-top-cmasc{
  width: 50px;
  max-width: 50px;
  height: 50px;
  justify-content: center;
}
.logo-top-cmasc{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.container-href-cmasc{
  display: flex;
  align-items: center;
}
.href-cmasc{
  text-align: center;
  justify-content: center;
  font-size: 15px;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.6s ease;
}

.href-cmasc:hover{
  color: #933557;
}

/*************NUEVO MENU*************/

/* ==== NAVBAR ==== */
.cmasc-navbar {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  /*height: 80px;*/
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
  transition: 0.3s ease;
}
.cmasc-logo{
  width: 100px;
  height: 100px;
}

.cmasc-logo-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ==== HAMBURGER ==== */
.cmasc-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
  transition: transform 0.3s ease;
}

.cmasc-toggle-bar {
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

.cmasc-toggle.active .cmasc-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.cmasc-toggle.active .cmasc-toggle-bar:nth-child(2) {
  opacity: 0;
}
.cmasc-toggle.active .cmasc-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==== NAV LINKS ==== */
.cmasc-nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  transition: all 0.3s ease;
}

.cmasc-nav-item {
  position: relative;
  list-style: none;
}

.cmasc-nav-link {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 4px;
  transition: 0.3s ease;
}

.cmasc-nav-link:hover {
  color: #9A003D;
  background-color: rgba(154, 0, 61, 0.05);
}

/* ==== SUBMENU ==== */
.cmasc-has-submenu .cmasc-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  list-style: none;
  z-index: 999;
}

.cmasc-has-submenu:hover .cmasc-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cmasc-submenu-link {
  display: block;
  padding: 10px 20px;
  color: #333;
  transition: 0.3s ease;
  text-decoration: none;
}

.cmasc-submenu-link:hover {
  background: #f2f2f2;
  color: #9A003D;
}

/* ==== MOBILE ==== */
@media (max-width: 768px) {
  .cmasc-toggle {
    display: flex;
  }

  .cmasc-nav-links {
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #c5c5c5;
    padding: 20px;
    display: none;
    gap: 20px;
    border-radius: 20px;
  }

  .cmasc-nav-links.show {
    display: flex;
    margin-top: 40px;
  }

  .cmasc-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    background: none;
    display: none;
    flex-direction: column;
  }

  .cmasc-has-submenu.open .cmasc-submenu {
    display: flex;
  }

  .cmasc-submenu-toggle::after {
    content: '';
    font-size: 0.7em;
  }
}

/*******************TITULO********************/
.container-titulo-igm{
  margin-top: 200px;
}
.titulo-igm{
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(35px,5vw,85px);
    font-weight: bold;
    background: linear-gradient(45deg, #8D85B0, #D1B0D8);
    text-align: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.subtitulo-igm{
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(25px, 3vw, 55px);
    font-weight: bold;
    background: linear-gradient(85deg, #D1B0D8,#ff96f1, #D1B0D8);
    text-align: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
/**************CARRUSEL 2.0 NUEVO*************/
.carousel-container {
  border-radius: 30px;
  overflow: hidden;
  max-width: 80%;
  background-color: #8D85B0;
  height: auto;
  position: relative;
  box-shadow: 0 0 60px -20px #223344;
  margin: auto;
  z-index: 0;
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}
.mySlides img {
  display: block;
  width: 100%;
  /*height: 100%;*/
  /*aspect-ratio: 16 / 9;*/
  object-fit: cover;
}

/* image gradient overlay [optional] */
/*  .mySlides::after {
  content: "";
  position: absolute;
  inset: 0;
    background-image: linear-gradient(-45deg, rgba(110, 0, 255, .1), rgba(70, 0, 255, .2));
}  */

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: auto;
  padding: 20px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  border-radius: 0 50% 50% 0;
  background: #8d85b084;
  user-select: none;
  transition: background-color 0.6s ease-in-out;
}
.next {
  right: 0;
  border-radius: 50% 0 0 50%;
  transition: background-color 0.6s ease-in-out;
}
.prev:hover,
.next:hover {
  background-color: #d1b0d88a;
}

/* Caption text */
.text {
  color: #f2f2f2;
  background-color: rgba(10, 10, 20, 0.5);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
}

/* Number text (1/3 etc) */
.number {
  color: #f2f2f2;
  font-size: 16px;
  background-color: rgba(173, 216, 230, 0.15);
/*   backdrop-filter: blur(6px); */
  border-radius: 10px;
  padding: 8px 12px;
  position: absolute;
  top: 20px;
  left: 20px;
}
.dots-container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%);
}

/* The dots/bullets/indicators */
.dots {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 4px;
  background-color: rgba(173, 216, 230, 0.2);
  backdrop-filter: blur(2px);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.active,
.dots:hover {
  background-color: rgba(173, 216, 230, 0.8);
}

/* transition animation */
.animate {
  -webkit-animation-name: animate;
  -webkit-animation-duration: 1s;
  animation-name: animate;
  animation-duration: 2s;
}

@keyframes animate {
  from {
    transform: scale(1.1) rotateY(10deg);
  }
  to {
    transform: scale(1) rotateY(0deg);
  }
}
/*****************REVISTAS********************/
.cmasc-revistas {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 50px;
  flex-wrap: wrap;
}

.cmasc-revista {
  width: 300px;
  height: 400px;
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: rotateY(0deg) rotateX(5deg);
  transform-origin: left center;
  transition: transform 0.6s ease;
}

/* Fondo visible detrás de la portada */
.cmasc-fondo {
  background: linear-gradient(135deg, #8D85B0, #D1B0D8);
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: inset 5px 0 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
}

/* Portada (img) encima del fondo */
.cmasc-revista img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px 10px 10px 5px;
  object-fit: cover;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  transform-origin: left center;
  z-index: 2;
}


/* Al hacer clic: sale y se gira */
.cmasc-revista:hover {
  transform: translateY(-50px) rotateY(0deg) rotate(-10deg) scale(1.05);
  z-index: 10;
}

.cmasc-revista:hover img{
  transform: none;
}

/* Hover: semi-abre la portada dejando ver el fondo */
.cmasc-revista:hover img {
  transform: rotateY(-25deg) scale(1.02);
  box-shadow: -20px 10px 40px rgba(0, 0, 0, 0.3);
}

.titulo-revista{
  margin-top: 15px;
  text-align: center;
  font-family: arial;
  font-size: clamp(10px, 4vw, 20px);
  font-weight: bold;
}


/***************CARRUSEL DE VIDEOS**************/

.igm-slider{
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;
  width: 80%;
  height: 300px;
  margin: auto;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 25px;
  padding: 50px;
  cursor: grab;
  justify-content: start;
}

.igm-slider:active {
  cursor: grabbing;
}

/* Cada contenedor de video */
.container-iframe-igm {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  height: 100%;
}

.igm-video-iframe {
  width: 100%;
  height: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 24px #00000094 ;
}

/* Opcional: oculta la scrollbar en navegadores WebKit */
.igm-slider::-webkit-scrollbar {
  display: none;
}

/****************SERVICIOS***************/
.container-servicios-igm{
  width: 100%;
  background: linear-gradient(90deg,#D1B0D8, #8D85B0, #D1B0D8);
  background-size: 400% 400%;
  padding: 20px 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  animation: rotarFondo 10s linear infinite;

}

@keyframes rotarFondo{
  0%{
    background-position: 0% 50%;
  }
  
  50%{
    background-position: 100% 50%;
  }
  
  100%{
    background-position: 0% 50%;
  }
}

.container-op-igm{
  width: 250px;
  height: 250px;
  background-color: transparent;
  border: 1px solid #ffffff;
  position: relative;
  border-radius: 50%;
  transition: transform 0.6s ease-in-out, border 0.6s ease;

}
.container-op-igm:hover{
  transform: scale(1.1);
  
}

.container-icon-igm{
  width: 100px;
  height: 100px;
  justify-content: center;
  margin: auto;
  margin-top: 50px;
}
.icon-igm {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(1) brightness(2)
}

.container-text-igm{
  width: 100%;
  justify-content: center;
  margin-top: 15px;
  padding: 0 25px;
}
.text-igm{
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-wrap: wrap;
  
}
/*******************GALERIA DE FOTOS******************/

.gallery-5 {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  margin-top: 50px;
  background-color: #f9f9f9;
}

.gallery-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.gallery-row > .gallery-col {
  width: 100%;
}

@media (min-width: 768px) {
  .gallery-row {
    flex-direction: row;
  }

  .gallery-row > .gallery-col {
    width: 50%;
  }
}

.gallery-img {
  overflow: hidden;
  border-radius: 10px;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.gallery-img:hover img {
  transform: scale(1.05);
}

.gallery-img.large {
  height: 500px;
}

.gallery-img.small {
  height: 250px;
}

.gallery-img-row {
  display: flex;
  gap: 10px;
}

.gallery-img-row .gallery-img {
  flex: 1;
}
/*******************PHOTOSWIPE********************/
/* Estilos para el modal de PhotoSwipe */
.pswp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.pswp__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.pswp__container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.pswp__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: none;
}

.pswp__ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  z-index: 1001;
}

.pswp__button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.pswp__counter {
  color: #fff;
}

.pswp__caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 14px;
}

/*******************NUEVO FOOTER*******************/
.footer-general {
  background-color: #ffffff;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 10px -5px;
  margin-top: 50px;
}

.container-igm-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.container-info {
  flex: 1 1 200px;
  min-width: 220px;
  display: flex;
  justify-content: center;
}

.container-info-redes{
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 220px;
  justify-content: center;
}

.cmasc-tit-footer {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #933557;
  font-weight: bold;
}
.cmasc-sub-footer{
  margin-bottom: 10px;

}


.cmasc-lista {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.cmasc-item {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.cmasc-item:hover {
  color: #00796b;
}

.cmasc-icono {
  color: #00796b;
  margin-right: 10px;
  font-size: 1.1rem;
}

.container-redes {
  margin-top: 10px;
  justify-content: center;
}

.container-redes i {
  font-size: 65px;
  color: #000000;
  margin-right: 15px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.container-redes i:hover {
  color: #0077b6; /* azulito dulce */
}

.container-img-footer{
  width: clamp(200px, 5vw, 50px);
}

.cmasc-logo-footer {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
  border-radius: 6px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.cmasc-logo-footer:hover {
  opacity: 1;
}

#topbar {
  transition: all 0.3s ease; /* animación suave */
  height: 60px;               /* altura normal del topbar */
  opacity: 1;                 /* visible */
  pointer-events: auto;       /* interactuable */
}

#topbar.hidden {
  opacity: 0;                 /* desaparece visualmente */
  height: 0;                   /* colapsa sin quitar del flujo */
  pointer-events: none;        /* no interactuable mientras está oculto */
  overflow: hidden;
}

/* navbar se ajusta automáticamente con transition */
#navbar {
  position: fixed;
  width: 100%;
  top: 60px;                  /* posición inicial debajo del topbar */
  transition: top 0.3s ease;
}

Zerion Mini Shell 1.0