%PDF- %PDF-
| Direktori : /home/tjamichg/defensoria.tjamich.gob.mx/css/ |
| Current File : /home/tjamichg/defensoria.tjamich.gob.mx/css/styles.css |
html{
scroll-behavior: smooth;
overflow-x: hidden;
}
body{
margin: 0;
padding: 0;
position: relative;
width: 100%;
overflow-x: hidden;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
justify-content: center;
align-items: center;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.section{
margin-top: 125px;
}
/* ==== LOADER ==== */
#loader-container{
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: #000000d3;
display: none;
justify-content: center;
align-items: center;
z-index: 5;
}
.rotate-loader{
width: 120px;
height: 120px;
animation: spinLoader 3s linear infinite;
}
@keyframes spinLoader{
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* ==== 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;
}
}
/**************BOTONES TIPOS CMASC****************/
.titulo-areas{
margin-top: 15px;
text-align: center;
}
.container-areas-cmasc{
width: 100%;
background-color: #cdcdcd;
display: grid;
align-items: center;
justify-content: center;
gap: 10px;
}
.container-botones{
width: 100%;
padding: 10px 20px;
display: flex;
flex-wrap: wrap;
padding: 10px 20px;
gap: 40px;
justify-content: center;
}
.botones-areas-cmasc{
width: 150px;
height: 150px;
display: flex;
justify-content: center;
align-self: center;
overflow: hidden;
border-radius: 50%;
padding: 0;
border: 1px solid #ffffff;
cursor: pointer;
transition: transform 0.6s ease, border 0.6s ease-in-out, padding 0.6s ease;
}
.botones-areas-cmasc:hover{
transform: scale(1.02);
border: 5px solid #ffffff;
padding: 5px;
}
.botones-areas-cmasc:nth-child(1){
background: linear-gradient(250deg, #e02e2e, #ffffff);
}
.botones-areas-cmasc:nth-child(2){
background: linear-gradient(250deg, #a03ce7, #ffffff);
}
.botones-areas-cmasc:nth-child(3){
background: linear-gradient(250deg, #3c80e7, #ffffff);
}
.botones-areas-cmasc:nth-child(4){
background: linear-gradient(250deg, #5bb91c, #ffffff);
}
.botones-areas-cmasc img{
width: 100%;
height: 100%;
object-fit: cover;
overflow: hidden;
padding: 15px;
filter: invert(1) brightness(2);
}
/*************WHATSAPP************/
.container-social{
display: inline-block;
position: fixed;
opacity: 0.5;
width: 60px;
height: 60px;
top: 45%;
left: 30px;
cursor: pointer;
z-index: 1001;
transition: transform 0.3s ease-in-out, opacity 0.6s ease;
}
.card-social{
position: fixed;
left: 20px;
top: 40%;
z-index: 2;
width: clamp(90%, 5vw, 150px);
max-width: 300px;
height: 270px;
background: url("../imgs/bg-whatsapp.jpg");
border-radius: 20px;
box-shadow: 0 0 15px 0 #000000;
margin: 5px;
margin-left: 15px;
display: none;
transform: translateY(-20px);
animation: slideDownSocial 0.6s ease-in-out forwards;
}
/*@media (max-width: 550px){
.card-social{
bottom: 220px;
width: 240px;
}
}
@media (max-width: 415px){
.card-social{
bottom: 245px;
width: 240px;
}
}
@media (max-width: 398px){
.card-social{
bottom: 300px;
right: 5px;
}
}*/
.container-info-social{
width: 100%;
display: flex;
box-sizing: border-box;
background-color: #075E54;
border-radius: 20px 20px 0 0;
}
.container-profile{
width: 30px;
height: 30px;
border-radius: 50%;
align-items: center;
justify-content: center;
margin: 10px;
}
.profile-img{
width: 30px;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.container-nickname{
font-weight: bold;
color: #ffffff;
}
.nickname-social{
margin: auto;
margin-top: 15px;
}
.container-message-social{
width: 100%;
height: 140px;
max-height: 140px;
box-sizing: border-box;
}
.message-bg{
width: 70%;
height: 100%;
display: block;
margin: auto;
}
@keyframes slideDownSocial{
0%{
transform: translateY(-10px);
opacity: 0;
}
100%{
transform: translateY(0px);
opacity: 1;
}
}
@keyframes slideUpSocial{
0%{
transform: translateY(0px);
opacity: 1;
}
100%{
transform: translateY(-10px);
opacity: 0;
}
}
.btn-mensaje{
background-color: #25D366;
border-radius: 40px;
width: 80%;
margin: auto;
color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
padding: 10px;
text-align: center;
cursor: pointer;
margin-bottom: 20px;
transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.btn-mensaje:hover{
background-color: #000000;
transform: scale(1.02);
}
.container-social:hover{
transform: scale(1.1);
opacity: 1;
}
/*@media (max-width: 550px){
.container-social{
position: absolute;
width: 70px;
height: 70px;
top: -25px;
right: -15px;
}
}
@media (max-width: 415px){
.container-social{
position: absolute;
width: 50px;
height: 50px;
top: -25px;
right: -15px;
}
}*/
.icon-social{
width: 100%;
height: 100%;
}
.show{
/*display: block;*/
}
.hide{
display: none;;
}
/**************FAQS**************/
.faqs-preguntas-cmasc {
position: fixed;
bottom: 25%;
right: 30px;
width: 60px;
height: 60px;
z-index: 1002;
cursor: pointer;
background: white;
border-radius: 50%;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
display: flex;
opacity: .5;
align-items: center;
justify-content: center;
transition: transform 0.3s ease, opacity 0.4s ease;
}
.faqs-preguntas-cmasc:hover {
transform: scale(1.1);
opacity: 1;
}
.faqs-preguntas-cmasc img {
width: 100%;
height: 100%;
object-fit: contain;
}
/* Menú de FAQs */
.faq-menu {
position: fixed;
bottom: 25%;
right: 20px;
width: clamp(50%, 60vw, 735px);
max-height: 300px;
background: #fff;
border-radius: 10px;
overflow-y: hidden;
scrollbar-width: none;
padding: 15px;
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
overflow-y: auto;
z-index: 999;
display: none;
}
@keyframes slideDownFaqs{
0%{
transform: translateY(-10px);
opacity: 0;
}
100%{
transform: translateY(0px);
opacity: 1;
}
}
@keyframes slideUpFaqs{
0%{
transform: translateY(0px);
opacity: 1;
}
100%{
transform: translateY(-10px);
opacity: 0;
}
}
.faq-menu.active{
display: block;
animation: slideDownFaqs 0.6s ease-in-out forwards;
}
.faq-menu h2 {
font-size: 1.3rem;
margin-bottom: 10px;
color: #9A003D;
}
/* Preguntas y respuestas */
.faq-question {
width: 100%;
text-align: left;
padding: 10px;
margin-bottom: 5px;
font-weight: bold;
background: #f5f5f5;
border: none;
cursor: pointer;
border-radius: 5px;
}
.faq-answer {
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height 0.3s ease, opacity 0.3s ease;
margin-bottom: 10px;
}
.faq-item.active .faq-answer {
max-height: 150px;
opacity: 1;
}
/***********NUEVO CARRUSEL**********/
.carrusel-cmasc {
width: 80%;
box-sizing: border-box;
margin: auto;
height: 650px;
margin-top: 200px;
transition: transform 0.7s ease-in-out, box-shadow 0.6s ease, width 0.7s ease;
border-radius: 30px 15px;
}
.carrusel-cmasc:hover{
/*transform: scale(1.01);*/
box-shadow: 0 0 15px #000000;
width: 95%;
}
ul.slides-cmasc {
display: block;
position: relative;
height: 650px;
margin: 0;
padding: 0;
overflow: hidden;
list-style: none;
border-radius: 30px 15px;
}
.slides-cmasc * {
user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
ul.slides-cmasc .input-cmasc {
display: none;
}
/*.slide-containe-cmasc{
display: none;
}*/
.slide-image-cmasc {
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.slide-container-cmasc .img-cmasc {
width: 100%;
height: 100%;
object-fit: cover;
}
.slide-text-cmasc{
position: absolute;
bottom: 20%;
left: 35%;
transform: translateX(-50%);
z-index: 998;
background-color: transparent;
color: #933557;
padding: 10px 20px;
border-radius: 20px;
font-size: clamp(35px, 2.5vw, 55px);
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
text-align: center;
pointer-events: none;
opacity: 0;
transition: opacity 1.3s ease-in-out;
}
.carousel-controls {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 999;
font-size: 100px;
line-height: 600px;
color: #fff;
}
.carousel-dots {
position: absolute;
left: 0;
right: 0;
bottom: 20px;
z-index: 998;
text-align: center;
}
.carousel-dots .carousel-dot {
display: inline-block;
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #fff;
opacity: 0.5;
margin: 10px;
cursor: pointer;
}
input:checked + .slide-container-cmasc .slide-image-cmasc {
opacity: 1;
transform: scale(1);
}
/* Dots control image visibility */
input:checked ~ .carousel-dots label#img-dot-1 {
opacity: 1;
}
input:checked ~ .carousel-dots label#img-dot-2 {
opacity: 1;
}
/*input:checked ~ .carousel-dots label#img-dot-3 {
opacity: 1;
}*/
input#img-1:checked ~ .carousel-dots label#img-dot-1,
input#img-2:checked ~ .carousel-dots label#img-dot-2
/*input#img-3:checked ~ .carousel-dots label#img-dot-3*/ {
opacity: 1;
}
/* Estilo de los dots cuando no están seleccionados */
input#img-1:not(:checked) ~ .carousel-dots label#img-dot-1,
input#img-2:not(:checked) ~ .carousel-dots label#img-dot-2
/*input#img-3:not(:checked) ~ .carousel-dots label#img-dot-3*/ {
opacity: 0.5;
}
input#img-1:checked ~ .slide-container-cmasc:nth-of-type(1) .slide-text-cmasc,
input#img-2:checked ~ .slide-container-cmasc:nth-of-type(2) .slide-text-cmasc
/*input#img-3:checked ~ .slide-container-cmasc:nth-of-type(3) .slide-text-cmasc*/{
animation: slideLeft 0.8s ease-in-out;
opacity: 1;
}
@keyframes slideLeft{
0%{
transform: translateX(0);
}
100%{
transform: translateX(-50%);
}
}
@keyframes crossfade {
0% {
opacity: 0;
}
25% {
opacity: 1;
}
75% {
opacity: 1;
}
100% {
opacity: 0;
}
}
ul.slides .slide-container-cmasc:nth-child(1) .slide-image-cmasc {
animation: crossfade 10s infinite 0s; /* empieza de una */
}
ul.slides .slide-container-cmasc:nth-child(2) .slide-image-cmasc {
animation: crossfade 20s infinite 10s; /* entra después de 10s */
}
/*ul.slides .slide-container-cmasc:nth-child(3) .slide-image-cmasc {
animation: crossfade 20s infinite 20s; /* luego de 20s */
/*}*/
/*******TRAMITES Y SERVICIOS*******/
/* Contenedor principal */
.container-tramites-cmasc {
width: 100%;
max-width: 85%;
margin: auto;
padding: 0 0px;
}
/* Grid de tarjetas */
.grid-container-cmasc {
display: flex;
/*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
gap: 20px;
flex-wrap: wrap;
}
/* Tarjetas */
.card-tramites-cmasc {
background-color: white;
border-radius: 20px;
padding: 30px;
margin: auto;
width: 400px;
height: 210px;
text-align: center;
justify-content: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
}
/* Efectos en las tarjetas */
.card-tramites-cmasc:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card-tramites-cmasc:active {
transform: scale(0.9);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
/* Íconos y texto con color primario */
.i-cmasc {
font-size: 60px;
color: #777777;
margin-bottom: 10px;
transition: color 0.3s;
}
.titulo-card-cmasc {
font-size: 25px;
color: #777777;
margin-bottom: 5px;
transition: color 0.3s;
}
.sub-card-cmasc {
color: #777777;
font-size: 14px;
transition: color 0.3s;
}
/* Cambio de color en hover */
/*.card-tramites-cmasc:hover .i-cmasc,
.card-tramites-cmasc:hover .titulo-card-cmasc,
.card-tramites-cmasc:hover .sub-card-cmasc{
color: #933557 !important;
}*/
/*para cada icono hover color*/
.card-tramites-cmasc:nth-child(1):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #e74c3c;
}
.card-tramites-cmasc:nth-child(2):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #3c80e7;
}
.card-tramites-cmasc:nth-child(3):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #a03ce7;
}
.card-tramites-cmasc:nth-child(4):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #d93ce7;
}
.card-tramites-cmasc:nth-child(5):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #e02e2e;
}
.card-tramites-cmasc:nth-child(6):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #e7e43c;
}
.card-tramites-cmasc:nth-child(7):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #e02e2e;
}
.card-tramites-cmasc:nth-child(8):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #3c80e7;
}
.card-tramites-cmasc:nth-child(9):hover :is(.i-cmasc, .titulo-card-cmasc){
color: #a03ce7;
}
/* Animación de entrada */
@keyframes slideDown {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/**********APARTADO DE CONCILIACION************/
/*.container-conci-cmasc{
margin-top: 30px;
width: 100%;
display: flex;
flex-wrap: wrap;
height: auto;
background-color: #c4c4c4;
padding: 20px 80px;
}
.info-conci-container{
width: clamp(200px, 90%, 600px);
margin: 0 auto;
}
.container-conci-img{
width: 100%;
margin: auto;
}
.conci-img{
width: 100%;
height: auto;
display: block;
object-fit: cover;
}*/
/******CARUSEL DE DOCUMENTOS NUEVO******/
#carousel{
cursor: grab;
}
#carousel.dragging{
cursor: grabbing;
}
.carousel-track {
user-select: none;
display: flex;
gap: 80px;
transition: transform 0.3s ease;
overflow-x: hidden;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
width: 80%;
padding-top: 5px;
padding-bottom: 5px;
margin: auto;
}
.carousel-item-cmasc {
scroll-snap-align: center;
width: clamp(250px, 30vw, 350px);
height: clamp(350px, 60vw, 500px);
background: #ffffff;
border-radius: 10px;
flex-shrink: 0;
text-align: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
margin-bottom: 20px;
position: relative;
overflow: hidden;
transition: transform 0.5s ease-in-out;
}
.carousel-item-cmasc:hover{
transform: scale(1.02);
}
.carousel-item-cmasc .img-carousel-cmasc{
width: 100%;
height: 100%;
object-fit: cover;
margin-bottom: 10px;
border-radius: 5px;
opacity: 0.5;
}
.pdf-preview-cmasc{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
z-index: 10;
opacity: 0;
transition: opacity 0.3s ease-in-out;
pointer-events: none;
}
.pdf-iframe-cmasc{
width: 100%;
height: 100%;
}
.carousel-item-cmasc:hover .pdf-preview-cmasc{
opacity: 1;
pointer-events: auto;
}
.text-carousel-cmasc{
position: absolute;
bottom: 20px;
width: 100%;
transition: width 0.5s ease;
}
.carousel-item-cmasc h3 {
margin: 0;
font-size: 1.8rem;
color: #ffffff;
background-color: #00000075;
width: 100%;
}
.carousel-item-cmasc p {
font-size: 1.2rem;
color: #9A003D;
bottom: 10%;
width: 100%;
font-weight: bold;
}
.button-cmasc-documento{
display: flex;
margin-top: 15px;
margin: auto;
background: linear-gradient(100deg, #933557,#ffffff );
color: #000;
border: 0px solid #000;
border-radius: 20px;
box-shadow: 0 4px 12px #cbcbcb;
padding: 10px 20px;
font-weight: bold;
font-size: 1rem;
cursor: pointer;
transition: transform 0.2s ease-in-out, background 0.5s ease;
}
.button-cmasc-documento:hover{
transform: scale(1.01);
background: linear-gradient(200deg, #ffffff, #933557);
}
/***********UBICACIONES Y CONTACTOS***********/
.container-maps-ubi-cmasc{
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
gap: 40px;
}
@media (max-width: 650px){
.container-maps-ubi-cmasc{
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}
}
.card-maps-cmasc{
width: clamp(400px, 30vw, 705px);
height: clamp(300px, 40vw, 350px);
border-radius: 20px;
box-shadow: 0 4px 10px #000000;
transition: transform 0.5s ease-in-out;
}
.card-maps-cmasc:hover{
transform: scale(1.02);
}
.card-ubi-cmasc{
width: clamp(400px, 30vw, 450px);
height: clamp(300px, 40vw, 350px);
display: grid;
align-items: center;
justify-content: center;
box-shadow: 0 4px 10px #000000;
border-radius: 20px;
transition: transform 0.5s ease-in-out;
}
.card-ubi-cmasc:hover{
transform: scale(1.02);
}
.container-ubi-cmasc{
width: 70%;
text-align: center;
margin: auto;
font-size: clamp(14px, 2vw, 18px);
word-wrap: break-word;
}
.fa-map-marker{
}
.fa-map-marker p{
font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
}
.link-ubi-cmasc{
color: #000000;
transition: color 0.5s ease;
cursor: pointer;
}
.link-ubi-cmasc:hover{
color: #933557;
}
/*******************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;
}
/**************MODALS DE SERVICIOS*****************/
@keyframes aparecerModal {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes desaparecerModal {
from {
opacity: 1;
transform: translateY(0);
}
to {
opacity: 0;
transform: translateY(-30px);
}
}
.cmasc-modal {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
transition: background-color 0.3s ease;
}
.cmasc-modal-contenido {
background: #fff;
margin: auto;
margin-top: 70px;
padding: 30px 0px;
border-radius: 10px;
width: clamp(90%, 5vw, 100%);
max-width: 100%;
height: auto;
overflow-y: auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
position: relative;
animation: aparecerModal 0.4s ease-out;
}
@keyframes slideDownModal{
0%{
transform: translateX(-250px);
opacity: 0;
}
100%{
transform: translateX(0px);
opacity: 1;
}
}
.sobretext-cmasc-modal{
background-color: #0000007e;
border-radius: 0 20px 20px 0;
width: 60%;
height: 200px;
padding: 15px 0px;
position: absolute;
top: 70px;
left: 0;
word-wrap: break-word;
overflow-y: auto;
scrollbar-width: none;
color: #ffffff;
animation: slideDownModal 0.6s ease-in-out forwards;
}
.cmasc-modal-contenido h2{
padding: 0 30px;
}
.cmasc-modal-contenido p{
padding: 0 30px;
}
.cmasc-cerrar {
position: absolute;
right: 15px;
top: 10px;
background-color: transparent;
font-size: 28px;
cursor: pointer;
color: #999;
transition: color 0.6s ease-in-out;
}
.cmasc-cerrar:hover {
color: #e74c3c;
}
.container-img-modal-cmasc{
width: 100%;
height: auto;
overflow: hidden;
position: relative;
}
.img-modal-cmasc{
width: 100%;
height: 500px;
border-radius: 20px 5px;
object-fit: cover;
position: relative;
}
/**carusel del modal**/
.demo {
position: absolute;
z-index: 200;
inset: 0 auto auto 0;
padding: 40px;
font-size: 2rem;
color: #fff;
background: rgba(0 0 0 / .4);
backdrop-filter: blur(2px);
pointer-events: none;
border-bottom-right-radius: 50px;
h3 {
margin: 0 0 20px;
}
p {
font-size: 1.25rem;
line-height: 1.4;
}
}
img {
display: block;
/*width: 100%;*/
height: auto;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
.vanilla-slider {
overflow: hidden;
width: 100%;
height: 600px;
}
.vanilla-slider__slide-list {
overflow: auto;
overflow-y: hidden;
scroll-behavior: smooth;
display: grid;
grid-auto-flow: column;
grid-template-cols: 1fr;
grid-auto-columns: 100%;
animation: 1s scroll 1s forwards;
&::-webkit-scrollbar {
height: 5px;
border-radius: 5px;
}
&::-webkit-scrollbar-track {
height: 5px;
background: rgba(0, 0, 0, .2);
border-radius: 0;
border-radius: 5px;
}
&::-webkit-scrollbar-thumb {
height: 5px;
background: #dda3b6;
border-radius: 5px;
cursor: pointer;
transition: background .3s ease-in-out;
}
&::-webkit-scrollbar-thumb:hover {
background: rgba(255,255,255,.5);
}
/* trick to make scroll-snap and scroll-behavior work together. */
&:focus-within {
animation: none;
}
&:before,
&:after {
content: '';
position: absolute;
top: 50%;
width: 20px;
height: 20px;
z-index: 2;
pointer-events: none;
transition: .3s transform ease-in-out;
}
&:before {
border-top: 2px solid #fff;
border-left: 2px solid #fff;
transform: translate(0, -50%) rotate(-45deg);
left: 40px;
}
&:after {
border-top: 2px solid #fff;
border-right: 2px solid #fff;
transform: translate(0, -50%) rotate(45deg);
right: 40px;
}
}
.vanilla-slider__slide {
scroll-snap-align: start;
max-width: 100vw;
height: 100vh;
position: relative;
& * {
pointer-events: none;
}
img {
height: 100vh;
width: 100%;
object-fit: cover;
}
a {
display: block;
position: absolute;
width: 50%;
max-width: 300px;
pointer-events: auto;
background-repeat: no-repeat;
transition: .3s background-position-x ease-in-out;
&:focus-visible {
pointer-events: none;
}
&:hover {
background-position-x: 0px !important;
}
}
a.prev {
inset: 0 auto 0 0;
background-image: linear-gradient(to right, rgba(0 0 0 / .3) 0%, transparent 100%);
background-position-x: -200px;
}
a.next {
inset: 0 0 0 auto;
background-image: linear-gradient(to left, rgba(0 0 0 / .3) 0%, transparent 100%);
background-position-x: 200px;
}
}
.vanilla-slider__bullets {
position: absolute;
bottom: 30px;
left: 0;
width: 100%;
z-index: 100;
padding: 20px 0;
ul {
margin: 0 auto;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 10px;
}
a {
display: block;
font-size: 0;
width: 0;
height: 0;
color: #fff;
border-radius: 100%;
border: 7px solid;
transition: .3s color ease-in-out;
&:hover {
color: #fc3;
}
&:focus-visible {
pointer-events: none;
}
}
}
.vanilla-slider__bullets:focus-within + .vanilla-slider__slide-list {
animation: none;
}
@keyframes scroll {
to {
scroll-snap-type: x mandatory;
}
}
/************faqs footer*************/
.container-faqs-cmasc-footer{
width: 80%;
margin: auto;
margin-top: 50px;
}
/*************IMGS TEMPORALES**************/
.container-temporal{
width: 100%;
height: auto;
margin-top: 80px;
margin-bottom: -80px;
}
.container-temporal img{
width: 100%;
height: 100%;
object-fit: cover;
}
/***************UBICACIONES******************/
.container-container-ubicaciones-def{
width: 100%;
height: 100%;
position: relative;
margin: auto;
overflow-y: auto;
scroll-behavior: smooth;
scrollbar-width: none;
margin-bottom: 20px;
}
.titulo-ubicacion-def{
font-size: 40px;
font-weight: bold;
text-align: center;
}
.column-maps{
display: grid;
gap: 40px;
height: 1200px;
}
.btn-mostrar-map-def{
width: 100px;
height: 105px;
/*padding: 10px 20px;*/
background-color: #ffffff;
border-radius: 0 20px 20px 0;
color: #000000;
cursor: pointer;
user-select: none;
text-align: center;
z-index: 1;
transition: background-color 0.4s ease-in-out, color 0.7s ease-in-out;
}
.btn-mostrar-map-def.active{
background-color: #000000;
color: #ffffff;
}
.bi-list{
font-size: 100px;
}
.container-title-parallax{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
position: relative;
}
.title-parallax{
padding: 2px;
text-align: center;
font-size: 38px;
background-color: #00000070;
border-radius: 20px;
color: #ffffff;
font-weight: bold;
}
.parallax-place{
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
}
.parallax-morelia{
background-image: url('../imgs/tjam-morelia.png');
}
.parallax-uruapan{
background-image: url('../imgs/tjam-uruapan.png');
}
.parallax-zitacuaro{
background-image: url('../imgs/tjam-zitacuaro2.png');
}
.card-contactos{
background-color: #ffffff;
box-shadow: 0 0 10px 0 #000000;
border-radius: 20px;
margin: 5px;
text-align: center;
width: 90%;
margin-left: 15px;
animation: slideDownCard 0.6s ease-in-out forwards;
}
.contactos-title{
font-weight: bold;
letter-spacing: 2px;
margin-top: 15px;
font-size: 20px;
}
/**************la tabla pues**************/
table {
width: 100%;
border-collapse: collapse;
font-family: sans-serif;
margin-top: 20px;
table-layout: fixed; /*esta wea hace que la tabla no se desborde de la card-contactos*/
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
thead {
background-color: #000000;
color: white;
}
th, td {
padding: 12px;
border: 1px solid #ddd;
text-align: center;
word-wrap: break-word;
}
tbody tr:hover {
background-color: #e0f0ff;
}
/*****************************************/
.card-maps-ubi{
position: relative;
width: 90%;
max-width: 90%;
height: 100%;
background-color: #ffffff;
border-radius: 20px;
box-shadow: 0 0 15px 0 #000000;
margin: 5px;
display: block;
margin-left: 15px;
transition: transform 0.4s ease-in-out;
transform: translateY(-20px);
animation: slideDownCard 0.6s ease-in-out forwards;
}
.card-maps-ubi:hover .active{
transform: scale(1.2);
}
@keyframes slideDownCard{
0%{
transform: translateY(-25px);
opacity: 0;
}
100%{
transform: translateY(0);
opacity: 1;
}
}
@keyframes slideUpCard{
0%{
opacity: 1;
transform: translateY(0);
}
100%{
opacity: 0;
transform: translateY(-25);
}
}
.container-social-def{
display: inline-block;
position: absolute;
width: 100px;
height: 100px;
top: -25px;
right: -15px;
cursor: pointer;
transition: transform 0.3s ease-in-out;
}
.card-social-def{
position: absolute;
right: -5px;
bottom: 240px;
width: 235px;
max-width: 300px;
height: 45%;
background: url('../imgs/bg-whatsapp.jpg');
border-radius: 20px;
box-shadow: 0 0 15px 0 #000000;
margin: 5px;
margin-left: 15px;
display: none;
transform: translateY(-20px);
animation: slideDownSocial 0.6s ease-in-out forwards;
}
/*@media (max-width: 550px){
.card-social{
bottom: 220px;
width: 240px;
}
}
@media (max-width: 415px){
.card-social{
bottom: 245px;
width: 240px;
}
}
@media (max-width: 398px){
.card-social{
bottom: 300px;
right: 5px;
}
}*/
.container-info-social{
width: 100%;
display: flex;
box-sizing: border-box;
background-color: #075E54;
border-radius: 20px 20px 0 0;
}
.container-profile{
width: 30px;
height: 30px;
border-radius: 50%;
align-items: center;
justify-content: center;
margin: 10px;
}
.profile-img{
width: 30px;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.container-nickname{
font-weight: bold;
color: #ffffff;
}
.nickname-social{
margin: auto;
margin-top: 5px;
}
.container-message-social{
width: 100%;
height: 140px;
max-height: 140px;
box-sizing: border-box;
}
.message-bg{
width: 70%;
height: 100%;
display: block;
margin: auto;
}
@keyframes slideDownSocial{
0%{
transform: translateY(-10px);
opacity: 0;
}
100%{
transform: translateY(0px);
opacity: 1;
}
}
@keyframes slideUpSocial{
0%{
transform: translateY(0px);
opacity: 1;
}
100%{
transform: translateY(-10px);
opacity: 0;
}
}
.btn-mensaje{
background-color: #25D366;
border-radius: 40px;
width: 80%;
margin: auto;
color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
padding: 10px;
text-align: center;
cursor: pointer;
transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.btn-mensaje:hover{
background-color: #000000;
transform: scale(1.02);
}
.container-social:hover{
transform: scale(1.1);
}
/*@media (max-width: 550px){
.container-social{
position: absolute;
width: 70px;
height: 70px;
top: -25px;
right: -15px;
}
}
@media (max-width: 415px){
.container-social{
position: absolute;
width: 50px;
height: 50px;
top: -25px;
right: -15px;
}
}*/
.icon-social{
width: 100%;
height: 100%;
}
.show{
display: block;
}
.hide{
display: none;;
}
.container-titulo-maps{
width: 100%;
}
.titulo-maps{
text-align: center;
margin-top: 10px;
font-size: 25px;
margin-bottom: 0;
}
.container-text-maps{
width: 100%;
}
.text-maps{
text-align: center;
font-size: 20px;
margin-left: 15px;
margin-right: 15px;
}
.iframe-maps{
margin-bottom: 10px;
}
.iframe-class{
display: block;
justify-content: center;
align-items: center;
margin: auto;
margin-bottom: 0;
}