@font-face {
  font-family: 'Hearts';
  src: url('../fonts/Hearts.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.fredoka-<uniquifier> {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


body {
  background-color: #fff0f5;
  color: #3c2a2a;
  font-family: "Fredoka", serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 80px auto;
  max-width: 1000px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.entrada-card {
  background-color: #fff0f5;
  border: 1px solid #e3cbd3;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.entrada-card a {
  display: inline-block;
  margin-top: 10px;
  background-color: #a94467;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.entrada-card a:hover {
  background-color: #872c4f;
}

h1 {
  font-family: 'Hearts';
  font-size: 72px;
  color: #8f2147;
}

.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: inline-block;
}

.back-button img {
  width: 80px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.back-button:hover img {
  transform: scale(1.1);
}

.tooltip-text {
  visibility: hidden;
  background-color: #e398b2;
  color: #fff;
  border: 2px dashed #fcd4e2;
  font-size: 14px;
  font-family: "Fredoka", sans-serif;
  text-align: center;
  border-radius: 8px;
  padding: 5px 10px;
  position: absolute;
  top: 50px; /* debajo de la imagen */
  left: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.back-button:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


header {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 0;
  min-height: 150px;
}

header p {
  background-color: rgba(255, 255, 255, 0.6); /* fondo blanco translúcido */
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: inline-block;
  max-width: 90%;
  margin: 10px auto 0;
  backdrop-filter: blur(4px); /* efecto "glass" */
  color: #3c2a2a;
  font-weight: 500;
  line-height: 1.6;
}
