* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/*Body*/
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  background-image: url(images/background-img.png);

}

/*Contenido del body*/
.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;
  
}

/*Header image*/
.main-img {
  grid-area: img;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  border-radius: 8px;
}

.main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  justify-content: center;
}

/*Contenedor nav*/
.content header {
  grid-area: header;
  background-color: black;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  border-radius: 8px;
}

/*Nav list*/
.nav-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 25px;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;

}

/*Links nav*/
.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 content*/
.welcome {
  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;
}

.welcome p {
  text-align:start;
  font-size: 1.2em;
  padding-left: 5px;
}

.welcome img {
  display: block;
  padding-top: 15px;
  padding-left: 10px;
  padding-bottom: 5px;
}


/*Aside*/
.content aside {
  grid-area: sidebar;
  font-family: "DynaPuff", system-ui;
  color: white;
  border-radius: 8px;
}

.content aside h2 {
  text-align: center;
}

.content aside p {
  padding-left: 5px;
}

.content h1 h2 {
  font-weight: bold;
}

.content aside {
  border-color: white;
  border-style: solid;
  border-width: 2px;
  height: 17%;
}

/*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%;
 }
}