* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  background-image: url(images/background-img.png);

}

/*Contenido*/
.content {
  display: grid;
  height: 80vh;
  width: 80%;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: 150px 40px 2fr;
  grid-template-areas: 
  "img img"
  "header header "
  "sidebar content";
  gap: 4px;
  
}

.main-img {
  grid-area: img;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  border-radius: 8px;
}

/*Imagen Header*/
.main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  justify-content: center;
}


.content header {
  grid-area: header;
  background-color: black;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  border-radius: 8px;
}

/*Barra de navegacion*/
.nav-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 25px;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-list a {
  padding: 3px 2px 2px 2px;
  text-decoration: none;
  color: white;
  font-family: "DynaPuff", system-ui;
  transition: 0.5s ease;
}

.nav-list a:hover {
  background-color: white;
  color: black;
  letter-spacing: 2px;
  overflow: hidden;
}

/*Main*/
.about {
  font-family: "DynaPuff", system-ui;
  grid-area: content;
  color: white;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  text-align: center;
  border-radius: 8px;
}

.about p {
  text-align:start;
  font-size: 1.2em;
  padding-left: 5px;
}

.about img {
  width: 16%;
  padding-left: 10px;
  padding-bottom: 10px;
  display: block;
}

/*Side bar*/
.content aside {
  grid-area: sidebar;
  font-family: "DynaPuff", system-ui;
  color: white;
  border-color: white;
  border-style: solid;
  border-width: 2px;
  height: 16%;
  border-radius: 8px;
}

.content aside h2 {
  text-align: center;
}

.content aside p {
  padding-left: 5px;
}

.content h1 h2 {
  font-weight: bold;
}


/*Responsive*/
@media (max-width: 700px) {
  .content {
  display: grid;
  height: 100vh;
  width: 95vw;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  grid-template-areas: 
  "img"
  "header"
  "content"
  "sidebar";
  padding-top: 5px;
  }

  .main-img {
    padding-top: 2px;
  }

  .nav-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-content: center;
  padding-top: 0;
 }

  .nav-list a {
    display: block;
    font-size: 1.5em;
    padding: 10px 0;
  }

  .content aside {
  border-color: white;
  border-style: solid;
  border-width: 2px;
  height: 100%;
 }

 .about img {
  width: 30%;
  padding-left: 10px;
  padding-bottom: 10px;
  display: block;
 }

}