.figtree-text {
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
  }

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

.card{
    display: grid;
    background-color: hsl(0, 0%, 100%);
    text-align: center;
    height: auto;
    width: fit-content;
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    border: solid;
    border-width: 1px;
    border-color: black;
    box-shadow: 8px 8px;
}

.ilustration > img {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.text-card{
    text-align: left;
    letter-spacing: 0.2px;
}

h2{
    color: hsl(0, 0%, 7%); 
}

h2:hover{
    color: hsl(47, 88%, 63%);
    cursor: pointer;
}

h3{
    color: hsl(0, 0%, 7%);
    font-size: medium;
    font-weight: 350;
}

h4{
    color: hsl(0, 0%, 42%);
    font-weight: 400;
}

button{
  background-color: hsl(47, 88%, 63%);
  border: none;
  border-radius: 3px;
  color: hsl(0, 0%, 7%);
  font-weight: 800;
  max-width: max-content;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.bottom-card{
    display: flex;
    align-items: center;
}

.avatar{
    height: 2.5rem;
}

p{
    color: hsl(0, 0%, 7%);
    font-weight: 800;
    text-align: left;
    padding-left: 0.8rem;
}

.attribution{
    color: hsl(228, 45%, 44%);
    font-size: 11px;
    text-align: center;
}

@media only screen and (max-width: 500px) {
    body{
        justify-content: center;
        align-items: center;
    }
    .ilustration img {
        width: 18rem;
        object-fit: none;
    }
    
    .card{
        width: 18rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    button{
        font-size: 12px;
    }
    
    h2{
        font-size: 21px;
    }

    h3{
        font-size: 13px;
    }

    h4{
        font-size: 14px;
    }
    p{
        font-size: 14px;
    }
}
