@import url(https://fonts.google.com/specimen/Figtree);

* { 
  margin: 0;
  padding: 0;
  font-family:Figtree, sans-serif;
}

body { 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: hsl(47, 88%, 63%);
}

.main-content { 
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 20rem;
  height: 30rem;
  align-items: flex-start;
  justify-content: center;
  border: solid 1px black;
  border-radius: 1rem;
  background-color: white;
  padding: 1rem;
  box-shadow: .5rem .5rem;
}

img { 
  width: 20rem;
  height: auto;
  border-radius: 1rem;
  align-self: center;
}

#avatar { 
  width: 2rem;
  height: auto;
  position: relative;
}
#learning { 
  background-color: hsl(47, 88%, 63%);
  font-weight: bold;
  padding: .5rem;
  font-size: 12px;
  border-radius: .30rem;
}
#published { 
  font-size: .85rem;
  font-family: Arial, Helvetica, sans-serif;
}
#foundations{ 
font-size: 1.5rem;
font-weight: bold;
}
#description { 
  color: rgb(63, 63, 63);
  margin: 0;
}
#author { 
  display: flex;
  align-items: center;
  gap: 1rem;
}
#author > h4 { 
  font-weight: 900;
}
.attribution { 
  margin-top: 5rem;
}

@media (max-width: 440px) { 
  .main-content {
    width: 15rem;
  }
  img { 
    width: 15rem;
  }
}