@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
    height: 100%;
}
:root{
    --YELLOW: hsl(47, 88%, 63%);
    --WHITE: hsl(0, 0%, 100%);
    --GRAY-500: hsl(0, 0%, 42%);
    --GRAY-950: hsl(0, 0%, 7%);
}
.attribution { 
    font-size: 1.4rem; 
    text-align: center;
    text-wrap: nowrap; 
}
.attribution img  {
    display: none;
}
.attribution a { color: hsl(228, 45%, 44%); }
.attribution a:hover, .attribution a:active { 
    color: var(--WHITE);
}
body{
    height: 100%;
    display: grid;
    background-color: var(--YELLOW);
    place-content: center;
    font-family: Figtree, serif;
    position: relative;
}
.card{
    background-color: white;
    width: 32rem;
    padding: 2rem;
    border: 1px solid black;
    border-radius: 2rem;
    box-shadow: 1rem 1rem black;
}
.card img{
    border-radius: 1rem;
    width: 100%;
    object-fit: cover;
    height: 22vh;
}
.card .card__profile img{
    width: 4rem;
    height: 4rem;
}
mark{
    display: grid;
    width: 9rem;
    height: 3.5rem;
    font-size: 1.5rem;
    place-content: center;
    padding: auto;
    margin: 2rem 0 1.5rem 0;
    border-radius: 0.4rem;
    font-weight: bold;
    background-color: var(--YELLOW);
}
small{
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--GRAY-950);
    margin-bottom: 1.6rem;
    display: block;
}
.card__text a{
    text-decoration: none;
    display: block;
    color: var(--GRAY-950);
    font-weight: bolder;
    font-size: 1.1rem;
    margin-bottom: 1.6rem;
}
.card__text a:active,.card__text a:hover{
    color: var(--YELLOW);
}
.card__text p{
    font-size: 1.5rem;
    color: var(--GRAY-500);
    line-height: 1.4em;
}
.card__profile{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 0.5rem 0;
}
.card__profile p{
    font-size: 1.6rem;
}
.attribution{
    display: flex;
    align-items: center;
    width: 30rem;
    height: 3rem;
    justify-content: center;
    place-self: bottom;
    position: absolute;
    bottom: 0;
    margin: 0 auto 2rem auto;
    transform: translateX(1rem);
}
.attribution img{
    margin-right: 1rem;
}
.attribution a{
    color: rgb(155, 85, 155);
    text-decoration: none;
    font-weight: bold;
}