:root {
  --color-white: hsl(0, 0%, 100%);
  --color-yellow: hsl(47, 88%, 63%);
  --color-grey-500: hsl(0, 0%, 42%);
  --color-grey-950: hsl(0, 0%, 7%);

  font-family: "Figtree", sans-serif;
  color: var(--color-grey-950);
  text-align: left;
}

p {
    color: var(--color-grey-500);
}

body {
  background-color: var(--color-yellow);
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 16px;
}

main {
  background-color: var(--color-white);
  width: 20%;
  height: auto;
  flex-direction: column;
  border-radius: 0.8em;
  border-color: var(--color-grey-950);
  border: 1px solid;
  padding: 2em;
  box-shadow: 6px 6px 0px;
 
}

img {
  width: 100%;
  border-radius: 1em;
}
.avatar {
  border-radius: 60%;
  width: 20%;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--color-yellow);
  border-radius: 5px;
  color: var(--color-grey-950);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10%;
}

.title {
   text-decoration: none;
  font-weight: bold; 
  color: var(--color-grey-950);
  font-size: x-large;
}

.title:hover{
   color: var(--color-yellow); 
}

.avatar-name{
   display: flex;
  align-items: center; 
  
}

strong {
    padding-left: 4%;
}

footer {
  margin: 6%;
  align-content: center;
}

@media screen and (max-width: 800px) {
  main {
    width: 70%;
  }
}
