/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   

body {
  background-color: #fff0f5;
  color: #3c2a2a;
  font-family: "Georgia", serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 80px auto;
  max-width: 1000px;
}

.wrapper {
  display: flex;
  gap: 40px;
}


/* Sidebar */
.sidebar {
  width: 220px;
  background-color: #ffeef5;
  border: 2px dashed #f5a9c4;
  padding: 15px;
  border-radius: 12px;
  font-family: "Gaegu", sans-serif;
  font-size: 20px;
  text-align: center;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 8px 0;
}

.sidebar a {
  color: #a94467;
  text-decoration: none;
  border-bottom: none;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar a:hover {
  background-color: #d98ca2; /* un rosado más oscuro */
  color: white;
}

/* Contenido principal */
.content {
  flex-grow: 1;
  max-width: 700px;
}

.content img {
  max-width: 100%;
  border-radius: 10px;
}

h1 {
  font-size: 2em;
  letter-spacing: 1px;
}

a {
  color: #a94467;
  text-decoration: none;
  border-bottom: 1px dotted #a94467;
}

a:hover {
  background-color: #ffe3ee;
}


.title-with-gif {
  display: flex;
  align-items: center;
  gap: 10px; 
}

.small-gif {
  width: 55px; 
  height: auto;
}


.back-button {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  display: inline-block;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  text-decoration: none !important;
}

.back-button img {
  width: 80px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: block;

}

.back-button:hover img {
  transform: scale(1.1);
  background: none !important;
}

.tooltip-text {
  visibility: hidden;
  background-color: #e398b2;
  color: #fff;
  border: 2px dashed #fcd4e2;
  font-size: 14px;
  font-family: "Gaegu", sans-serif;
  text-align: center;
  border-radius: 8px;
  padding: 5px 10px;
  position: absolute;
  top: 80px; /* debajo de la imagen */
  left: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.back-button:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}