*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Figtree", sans-serif;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body{
    background: hsl(47, 88%, 63%) ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    gap: 3rem;
    line-height: 1.5; 
    margin-top: 10rem;  
    margin-bottom: 10rem; 
    margin-inline: 1.2rem;
}

h2, h3 {
  text-wrap: balance;
  line-height: 1.1;
}

img {
  max-width: 100%;
  display: block;
}

.card{
    background: hsl(0, 0%, 100%);
    max-width: 25rem;
    border: 1px solid hsl(0, 0%, 7%);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 8px 7px 0px 0px hsl(0, 0%, 7%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-img{
    border-radius: 1rem;
}

.category{
    width: 5.5rem;
    background-color:hsl(47, 88%, 63%);
    border-radius: 0.3rem;
    padding: 0.8rem;
    font-weight: 800;
}

p{
    font-size: 1rem;
    font-weight: 500;
}

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

.topic{
    font-weight: 800;
    font-size: 1.7rem;
}

.topic:hover{
    color: hsl(47, 88%, 63%);
}

.article{
    color: hsl(0, 0%, 42%);
}

.name-tag{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.author-img{
   width: 10%;
}

.name{
    font-weight: 800;
}

footer{
    font-size: 0.8rem;
    color: hsl(0, 0%, 7%);
}

footer a{
    text-decoration: none;
    color: hsl(0, 0%, 42%);
}
