html, body {
  font-family: 'Comic Neue', sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, #fdfafa 0%, #b0d7c0 50%, #029727 100%);
}

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* mantiene proporción sin recorte */
}

.container {
  width: 100%;
  height: 100%;
  min-height: 560px;
  max-width: 540px;
  box-sizing: border-box;
  padding: 5%;
  display: flex;
  flex-direction: column;
}

.mensajeria {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 420px;
  margin: 5%;
}

.mensajeria a {
  width: 44px;
  height: 44px;
  font-size: 40px;
}

/* Clases para WhatsApp y Telegram con estilo grabado */
.whatsapp {
  color: #25D366;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.4), -1px -1px 1px rgba(0,0,0,0.2);
}

.telegram {
    color: #005580;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.4), 
                 -1px -1px 1px rgba(0,0,0,0.2);
}


.info-card {
    display: flex;
    height: 30%;
    flex-direction: column;
    color: rgb(5, 5, 5);
    font-size: 11px;
    max-height: 140px;
    justify-content: center;
    align-items: center;
}

.body-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 50%;
  max-height: 220px;
  background-color: transparent;
}

/* Estilo para cada ítem */
.body-card .item {
  background-color: #ffffff; /* blanco hueso */
  color: #2f2f2f; /* negro grafito */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2); /* relieve sutil */
  padding: 2px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  height: 34px;
  text-decoration: none;
}

.item i {
  width: 24px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
  padding-left: 10px ;
}

.item span {
  flex-grow: 1;
  padding-left: 8px;
  display: flex;
  justify-content: center;
  padding-right: 34px;
}

/* Elimina el margen del último ítem */
.body-card .item:last-child {
  margin-bottom: 0;
}

.footer-card {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 10px;
}
.social, .social-2 {
    display: flex;
    flex-direction: row;
    padding-top: 10px;
    align-items: center;
}

.social {
    justify-content:space-between;
}

.social-2 {
    justify-content:space-around;
}
/* Social media**/
/* Estilo base para todos los íconos */
.item-social{
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #000;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  font-size: 2rem;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2); /* efecto relieve */
  transition: all 0.3s ease;
  justify-content: center;
  align-items: center;
  text-decoration: unset;
}

/* Hover individual por red social */
.youtube:hover {
  background-color: #FF0000;
  color: #fff;
}

.facebook:hover {
  background-color: #1877F2;
  color: #fff;
}

.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}

.tiktok:hover {
  background-color: #000;
  color: #25F4EE; /* color característico de TikTok */
}

/* Twitter */
.x-twitter:hover {
  background-color: #1DA1F2; /* Azul Twitter */
  color: #fff;
}

/* Pinterest */
.pinterest:hover {
  background-color: #E60023; /* Rojo Pinterest */
  color: #fff;
}

/* LinkedIn */
.linkedin:hover {
  background-color: #0077B5; /* Azul LinkedIn */
  color: #fff;
}
.animated-text {
  font-family: 'Comic Neue', sans-serif;
  font-size: 20px;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}
.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fondo oscuro semitransparente */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

/* Caja del contenido */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 60%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

/* Botón de cerrar */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* Animación de entrada */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}