* {
  box-sizing: border-box; /* Evita que padding/border rompan anchos */
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
}
body {
  background-color: aqua;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

h1 {
  text-align: center;
}
h1 {
  background-color: white;
  color: black;
}
nav {
  text-align: center;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  gap: 1px;
}

nav a {
  width: 20%; /* mantienes tu idea */
  min-width: 140px; /* no permite que se achiquen más de esto */
  background-color: rgb(0, 0, 0);
  display: inline-block;
  text-decoration: none;
  color: white;
  padding: 8px 12px; /* padding más cómodo (antes era 1px, muy pequeño) */
  text-align: center;
  box-sizing: border-box;
}

nav a:hover {
  background-color: chartreuse;
  color: yellow;
  transition: all 0.3s;
  transform: scale(1.3);
}
.seccion1 {
  background-color: rgb(255, 255, 255);
  width: 50%;
  border: solid black 20px;
}
.seccion2 {
  background-color: rgb(204, 21, 143);
  width: 30%;
  border: solid black 20px;
}
section h2 {
  text-align: center;
}
.img-sec2 {
  width: 30%;
}

section img {
  width: 40%;
  margin: 0 auto;
  display: block;
  justify-content: center;
  min-height: 200px;
}
section p {
  text-align: center;
}

.banner {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  height: auto;
}

.banner:hover {
  transition: all 0.3s;
  transform: scale(0.9);
}
main {
  display: flex;
  flex-direction: row;
}

h3 {
  text-align: center;
}

aside {
  background-color: blueviolet;
  width: 30%;
  display: flex;
  flex-direction: column;
  border: solid black 20px;
}
header {
  padding-bottom: 30px;
}
