@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Outfit:wght@100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    background-color: hsl(47, 88%, 63%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Figtree", sans-serif;
}
main{
    width: 100%;
    max-width: 384px;
    max-height: 535px;
    background-color: white;
    padding: 1.3rem 1.4rem 1.5rem 1.5rem;
    border-radius: 1.2rem;
    box-shadow: 8px 7px 1px 1px black;
    border: 1px solid black;
    margin: 1.5rem;
}
main > img{
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}
main a{
    text-decoration: none;
    color: hsl(0, 0%, 7%);
    background-color: hsl(47, 88%, 63%);
    padding: 0.5rem 0.8rem;
    border-radius: 0.3rem;
    font-weight: 900;
    line-height: 150%;
}
main a+p{
    margin: 1.3rem 0;
    font-weight: 500;
    font-size: 16px;
}
main h2+p{
    margin: 1.3rem 0;
    color: hsl(0, 0%, 31%);
    font-weight: 500;
    line-height: 150%;
}
main h2{
    font-size: 1.6rem;
}
main footer{
    display: flex;
    gap: 10px;
}
main #smallImg{
    width: 10%;
}
main span{
    font-weight: 800;
    align-self: center;
}

main h2:hover{
    cursor: pointer;
    color: hsl(47, 88%, 63%);
}
main h2+p:hover{
    cursor: pointer;
    color: hsl(0, 0%, 51%);
}