.grid-item-hijo {
  background: #0000ff;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  box-sizing: border-box;
}

body {
  color: #333;
  background-color: violet;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
body.index main {
  width: 100%;
}

h1 {
  font-family: "Pacifico", cursive;
}

header, footer {
  width: 100%;
  box-sizing: border-box;
  padding: 24px 0;
  text-align: center;
}

header img {
  margin-bottom: 16px;
}

.grid-contenedor-padre {
  display: grid;
  grid-template-areas: "item1 item2" "item3 item4";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
  width: 80%;
  max-width: 900px;
  margin: 40px auto;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .grid-contenedor-padre {
    grid-template-areas: "item1" "item2" "item3" "item4";
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 16px;
    width: 95%;
    margin: 20px auto;
  }
}

.item1 {
  grid-area: item1;
}

.item2 {
  grid-area: item2;
}

.item3 {
  grid-area: item3;
}

.item4 {
  grid-area: item4;
}

.grid-item-hijo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 180px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.grid-item-hijo:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.grid-item-hijo a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.grid-item-hijo a:hover {
  background: #2222ff;
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

footer {
  margin-top: auto;
  font-size: 0.9em;
  background: #2222ff;
  color: #fff;
  padding: 16px 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-sizing: border-box;
}

nav.my-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
}
nav.my-3 .btn {
  margin: 0 4px;
  min-width: 140px;
  flex: 1 1 45%;
  transition: box-shadow 0.2s, transform 0.2s;
}
nav.my-3 .btn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: scale(1.04);
}
@media (max-width: 600px) {
  nav.my-3 .btn:nth-child(n+3) {
    margin-top: 18px;
  }
}

/*# sourceMappingURL=estilos.css.map */
