@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@400;500;700&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: 'Spartan', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
main {
    margin: 8%;
}
.hero {
    color: hsl(300, 43%, 22%);
    text-align: center;
}
.hero p {
    color: hsl(300, 43%, 22%);
    margin: 24px auto;
}
.lower-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: auto;
    max-width: 350px;
}
.review-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:hsl(300, 24%, 96%);
    width: 100%;
    max-width: 550px;
    margin: 15px auto;
    border-radius: 8px;
}

.review-box p {
    text-align: center;
    color: hsl(300, 43%, 22%);
    font-weight: 700;
    margin-bottom: 16px;
}
.stars img {
    padding: 16px 0 8px 0;
    width: 18px;
}
blockquote {
    margin-bottom: 12px;
    width: 100%;
    min-width: 200px;

    padding: 26px;
    border-radius: 6px;
    background-color: hsl(300, 43%, 22%);
    color: white;
}
blockquote p {
    font-size: 14px;
    margin: 14px auto;
    font-weight: 500;
}
.quote-info {
    display: flex;
    align-content: center;
    margin: 8px 0;
}
.quote-info img {
    width: 42px;
    border-radius: 50%;
    margin-right: 18px;
}
.quote-person {
    margin-top: 4px;
}
.quote-person small {
    color: hsl(333, 80%, 67%);
}
@media (min-width: 1056px) {
    .hero {
        max-width: 450px;
        text-align: left;
        font-size: 1.2em;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        
    }
    .hero h1 {
        font-size: 2.5em;
    }
    main {
        display: flex;
        flex-direction: column;
        margin: 6%;
    }
    .upper-section {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-width: fit-content;
    }
    .review-box {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 16px 18px;
    }
    .review-box:nth-child(2) {
        margin-left: -13.5%;
    }
    .review-box:nth-child(1) {
        margin-left: -25%;
    }
    .review-box p {
        margin-bottom: 0;
    }
    .stars {
        margin: 0 14px;
    }
    .stars img {
        padding: 0;
    }
    .lower-section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        min-width: fit-content;
        margin: 0;
    }
    blockquote {
        max-width: 500px;
        min-width: 250px;
        margin: 12px;
    }
    blockquote:nth-child(1) {
        margin-left: 0;
    }
    blockquote:nth-child(2) {
        margin-top: 4%;
    }
    blockquote:nth-child(3) {
        margin-top: 8%;
    }
}
.attribution {
    font-size: 11px;
    text-align: center;
}
.attribution a {
    color: hsl(228, 45%, 44%);
}
