html {
    background: #A19C8A;

    -webkit-font-smoothing: antialiased;
}
.fondo{ 
}
body {
    background: #C5DBCE;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: #545454;
    font-family:monospace;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 800px;
    padding: 2em 2em 4em;
}
 @font-face {
  font-family: 'fuentecentral';
  src: url('otros/fuentetitulos.otf')format('opentype');
}

h1, h2, h3, h4, h5, h6 {  font-family: 'fuentecentral';
 
    color: #79AD72;
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    margin-top: 1.3em;
}

a {
    color: #0083e8;
}

b, strong {
    font-weight: 600;
}

samp {
    display: none;
}
img {
    
}


@font-face {
  font-family: 'fuentecentral';
  src: url('https://www.fontspace.com/b-bright-nature-font-f63479')format('truetype');
}
    
 .nubecita {
    background: #7a8f7a;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
}
/* contenedor: posición relativa para overlay */
.card.logo {
  position: relative;
  overflow: hidden;
  display: inline-block;      /* que se ponga en línea con otras tarjetas */
  width: 250px;               /* ajusta al tamaño que uses */
  box-sizing: border-box;
  cursor: pointer;
}

.card.logo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease; /* efecto sutil */
}
/* capa de texto (inicialmente oculta y en la parte baja) */
.card.logo .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  text-align: center;
  pointer-events: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  /* fondo degradado para asegurar legibilidad sobre la imagen */
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 100%);
  /* brillo + sombra bajo las letras (ajusta intensidades si quieres) */
  text-shadow:
    0 1px 0 rgba(0,0,0,0.6),   /* sombra nítida debajo */
    0 8px 20px rgba(255,255,255,0.06), /* ligero halo */
    0 0 8px rgba(255,255,255,0.15);    /* brillo sutil */
}

/* Hover: mostrar texto y hacer la imagen ligeramente zoom */
.card.logo:hover .caption {
  opacity: 1;
  transform: translateY(0);
}
.card.logo:hover img {
  transform: scale(1.04);
}
.principal {
    position: absolute;
    top: 35%;
    left: 47%;
    transform: translate(-50%, -50%);
    width: 250px;
    z-index: 2;
    transition: 0.3s;
}

/* ✨ EFECTO HOVER */
.principal:hover {
    filter: brightness(1.3) drop-shadow(0 0 10px #c9a27e);
    transform: translate(-50%, -50%) scale(1.07);¨ }
