/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #004080;
  color: #333;
  height: 100vh;
}

/* Hacer que el contenedor ocupe toda la pantalla */
.container {
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header header"
    "aside main"
    "footer footer";
  width: 100%;
  min-height: 100vh;
}

/* HEADER */
header {
  grid-area: header;
  display: flex;
  padding: 20px;
  background: #004080;
  color: white;
}

.photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 20px;
}

.info h1 {
  margin: 0;
}

/* MAIN */
main {
  grid-area: main;
  padding: 30px;
  background: white;
}

/* ASIDE */
aside {
  grid-area: aside;
  background: #f0f0f0;
  padding: 30px;
}

aside h3 {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  grid-area: footer;
  background: #004080;
  color: white;
  text-align: center;
  padding: 15px;
}

.social img {
  width: 30px;
  margin: 0 10px;
}

/* RESPONSIVE - Opcional */
@media screen and (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "main"
      "aside"
      "footer";
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .photo img {
    margin-bottom: 10px;
  }
}
