 @font-face {
     font-family: 'Montserrat';
     font-style: normal;
     font-weight: 400;
     src: url('https://static-udl.pages.dev/fonts/montserrat-v30-latin-regular.woff2') format('woff2');
     font-display: swap;
 }

 body {
     margin: 0;
     font-family: "Montserrat";
     font-weight: 400;
     font-size: 20px;
     line-height: 1.5;
     letter-spacing: -.01em;
     color: #111;
     background-color: #fff;
 }

 .hero {
     padding: 4rem 2rem;
     background: #f4f4f4;
     text-align: center;
 }

     .hero h1 {
         font-size: 3rem;
         margin-bottom: 1rem;
     }

     .hero p {
         font-size: 1.2rem;
         max-width: 600px;
         margin: 0 auto 2rem;
     }

     .hero img {
         width: 100%;
         max-width: 400px;
         height: auto;
         margin-bottom: 2rem;
     }

 .section {
     padding: 3rem 2rem;
     text-align: center;
     border-top: 1px solid #eee;
     background-color: #fafafa;
 }

     .section h2 {
         margin-bottom: 1rem;
     }

 .book-list {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 2rem;
     margin-top: 2rem;
 }

 .book {
     background: #fff;
     border: 1px solid #ddd;
     border-radius: 8px;
     padding: 1rem;
     width: 100%;
     max-width: 280px;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     box-shadow: 0 2px 8px rgba(0,0,0,0.05);
     transition: transform 0.2s ease;
 }

     .book:hover {
         transform: translateY(-4px);
     }

     .book img {
         max-width: 100%;
         height: auto;
         border-radius: 4px;
         margin-bottom: 0.75rem;
     }

     .book h3 {
         font-size: 1.1rem;
         margin: 0.5rem 0 0.75rem;
         color: #111;
     }

     .book p {
         font-size: 20px;
         line-height: 1.5;
         letter-spacing: -0.01em;
         color: #111;
         font-family: "Montserrat";
         flex-grow: 1;
     }

     .book .btn-link {
         margin-top: 1rem;
     }

 .btn-link {
     display: inline-block;
     background-color: #000;
     color: white;
     padding: 0.75rem 1.5rem;
     text-decoration: none;
     font-weight: 600;
     border-radius: 6px;
     transition: background-color 0.3s ease;
 }

     .btn-link:hover {
         background-color: #333;
     }

 footer {
     text-align: center;
     padding: 2rem;
     margin-top: 4rem;
 }

 .about-container {
     display: flex;
     flex-direction: row;
     gap: 2rem; /* espacio entre imagen y texto */
     align-items: flex-start;
     max-width: 1000px;
     margin: 2rem auto 0;
 }

 .bio {
     text-align: left;
 }

 .about-container img {
     max-width: 300px; /* tamaño razonable para la imagen */
     height: auto;
     border-radius: 6px;
 }

 a {
     color: red; /* azul */
     text-decoration: none; /* quita el subrayado si lo deseas */
     margin-right: 1rem;
 }

     a:hover {
         color: #ff3300; /* rojo al pasar el ratón */
         text-decoration: underline; /* opcional, lo puedes quitar o cambiar */
     }

 .mini-menu {
     display: flex;
     justify-content: center;
     gap: 3rem;
     padding: 0.5rem 0;
     margin: 1.5rem 0;
     border-radius: 8px;
     font-family: 'Courier New', Courier, monospace;
     font-weight: bold;
 }

     .mini-menu a {
         text-decoration: underline;
         color: #a01346; /* texto entre rojo y púrpura */
         padding: 0.3rem 0.6rem;
         border-radius: 4px;
         transition: color 0.2s ease;
     }

         .mini-menu a:hover {
             color: #d42f72; /* tono más brillante al pasar el ratón */
         }

 @media (max-width: 600px) {

     .hero img {
         max-width: 100%;
     }

     .about-container {
         flex-direction: column;
         align-items: center; /* centra la imagen y texto horizontalmente */
         text-align: center; /* texto centrado en móvil */
     }

         .about-container img {
             max-width: 80%; /* ocupa buena parte del ancho */
             margin-bottom: 1rem;
         }

     .bio {
         max-width: 100%;
     }

     .mini-menu {
         gap: 1rem;
     }
 }