*{
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
    color: hsl(292, 42%, 14%);
}
body{
    background-color: hsl(275, 100%, 97%);
    background-image: url(./assets/images/background-pattern-mobile.svg);
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0 auto;
}
article{
    margin: 9rem 1.5rem;
    background-color: #FFF;
    border-radius: 2%;
    padding: 1.5rem 1.5rem 0 1.5rem;
}
.star{
    width: 1.5rem;
    margin-right: 1rem;
}
h1, h4{
    display: inline-block;
}
h1{
    font-size: 2rem;
}
details{
    padding: 1.4rem 0;
    border-bottom: solid 0.15rem hsl(275, 100%, 97%);
}
details:nth-of-type(4){
    border-bottom: none;
}
summary{
    list-style: none;
    display: flex;
    
}
summary:hover h4{
    color: #AD28EB
}
h4{
    width: 15rem;
    margin: .5rem 1.4rem 0 0;
}
p{
    color: hsl(292, 16%, 49%);
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.3rem;
    margin-top: 1.5rem;
}
@media(min-width: 376px){
    body{
        background-image: url(./assets/images/background-pattern-desktop.svg);
        max-width: 1440px;
    }
    article{
        max-width: 475px;
        margin: 10.5rem auto;
        padding: .5rem 2.5rem 0rem 2rem;
    }
    details{
        border-bottom: solid 0.1rem hsl(275, 100%, 97%);
    }
    .star{
        width: 2.1rem;
    }
    h1{
        font-size: 3rem;
        margin-bottom: 1.2rem;
    }
    h4{
        width: 85%;
        margin: .4rem 2.5rem 0 0;
    }
}


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