/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5e7d2;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

header {
  background-color: #ecccb3;
  padding: 20px 0;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}



nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #c07e72;
  font-weight: bold;
  font-size: 18px;
}

nav a:hover {
  color: #9a031e;
}

.contenedor {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.contenedor img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

h1, h2 {
  color: #5e3023;
  margin-top: 20px;
  text-align: center;
}

p {
  max-width: 800px;
  margin: 10px auto;
  font-size: 17px;
}

#personajes, 
#lugares-iconicos, 
#libros {
  background-color: #f0d2c1;
  padding: 20px;
  margin: 30px auto;
  border-radius: 12px;
  max-width: 1000px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#libros h2 {
  text-align: center;
  font-size: 20px;
  color: #3c0919;
  margin: 10px 0;
}
#carouselExampleSlidesOnly {
  max-width: 800px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-inner img {
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-item:hover img {
  transform: scale(1.02);
}
footer {
  background-color: #f3d5af;
  color: #333;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  border-top: 1px solid #e9c0c7;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #a86c4b;
  margin: 8px auto 0;
  border-radius: 2px;
}


#personajes:hover,
#lugares-iconicos:hover,
#libros:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.personajes {
  border: 2px dashed #c98154;
  padding: 25px;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  padding: 20px;
  background-color: #f5dabe;
}

.galeria img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.galeria img:hover {
  transform: scale(1.05);
}

body {
  background: linear-gradient(to bottom, #fff5f5, #f5e7d2);
}

.volver-arriba {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #d891a3;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

body {
  background-color: #fef9f4;
  font-family: 'Georgia', serif;
  color: #4e3b31;
  text-align: center;
  padding: 40px;
}

.cafe-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.cafe-container button {
  background-color: #d6a77a;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.cafe-container button:hover {
  transform: scale(1.05);
  background-color: #b97a56;
}

#frase-cafe {
  background-color: #fff6ee;
  border-left: 4px solid #b97a56;
  padding: 15px 20px;
  border-radius: 10px;
  font-style: italic;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

