/* -----------------------------------
   BASE CSS — Reset y estructura común
   ----------------------------------- */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografía base */
html {
  font-size: 16px;
}

body {
  line-height: 1.6;
  font-family: 'Lora', serif; /* Se sobrescribe en modo audaz */
  color: #333;
  background-color: #fff;
  transition: all 0.5s ease;
  overflow-x: hidden;   /* Oculta el scroll horizontal */
  overflow-y: auto;     /* Permite scroll vertical si es necesario */
}

/* Imágenes */
img {
  max-width: 100%;
  display: block;
}

/* Listas */
ul {
  list-style-type: none;
  padding-left: 0;
}

/* Enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* Contenedor principal */
main.presentacion {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Frase principal */
.frase-titulo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

/* Botón de volver arriba a la izquierda */
.btn-volver-superior {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #8a8bd4;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: bold;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.btn-volver-superior:hover {
  background-color: #6a6bb4;
}

/* Transiciones suaves */
body,
img,
h1,
h2,
p,
li,
a {
  transition: all 0.3s ease;
}