@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: hsl(47, 88%, 63%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Figtree', sans-serif;
}
.container{
    display: inline-block;
    padding: 1.25rem;
    background-color: hsl(0, 0%, 100%);
    border-radius: 12px;
    border: 1px solid hsl(0, 0%, 7%);
    box-shadow: 8px 8px 1px hsl(0, 0%, 7%);
}
.container img{
    border-radius: 0.5rem;
    margin-bottom: 1.125rem;
}
.container h3{
    padding: 0.25rem 0.75rem;
    width: fit-content;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: hsl(0, 0%, 7%);
    border-radius: 5px;
    background: hsl(47, 88%, 63%);
}
h4{
    font-weight: 600;
    margin-bottom: 1.125rem;
    font-size: 1rem;
    color: hsl(0, 0%, 7%);
}
h1{
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: hsl(0, 0%, 7%);
}
p{
    line-height: 1.3;
    font-weight: 500;
    max-width: 20rem;
    color: hsl(0, 0%, 42%);
    font-size: 1rem;
    margin-bottom: 1rem;
}
.inline{
    display: flex;
    align-items: center;
}
.inline img{
    height: 2.5rem;
    width: 2.5rem;
}
h5{
    margin-left: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: hsl(0, 0%, 7%);
    margin-bottom: 9px;
}
@media screen and (max-width: 30rem) {
        body {
    padding: 1rem;
    }
        img{
            max-width: 100%;
        }
        .container {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    
    }
        h1 {
    font-size: 1.25rem; 
    }
        p {
    font-size: 0.9375rem; 
    max-width: 100%;
    }
        .inline img {
    height: 2rem;
    width: 2rem;
    }
    h5 {
    font-size: 1rem;
    } 
}
@media screen and (max-width: 48rem) {
    .container{
        max-width: 24rem;
    }
    h1{
        font-size: 1.375rem;
    }
    p{
        max-width: 22rem;
    }
}