/* Global Styles */
:root {
    --primary-dark-magenta: hsl(300, 43%, 22%);
    --primary-soft-pink: hsl(333, 80%, 67%);
    --neutral-dark-gray-magenta: hsl(303, 10%, 53%);
    --neutral-light-gray-magenta: hsl(300, 24%, 96%);
    --white: hsl(0, 0%, 100%);
    --font: "League Spartan", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    font-size: 15px;
    background-color: var(--white);
    color: var(--primary-dark-magenta);
    line-height: 1.5;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.header-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.header-section p {
    color: var(--neutral-dark-gray-magenta);
}

/* Ratings */
.ratings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.rating-box {
    background-color: var(--neutral-light-gray-magenta);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    background-color: var(--primary-dark-magenta);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.user-info h3 {
    font-size: 1rem;
    font-weight: 700;
}

.user-info .verified {
    color: var(--primary-soft-pink);
    font-size: 0.875rem;
}

.testimonial {
    font-style: italic;
}

.header-section h1 {
    line-height: 30px;
}
/* Desktop Styles */
@media (min-width: 768px) {
    .header-section {
        text-align: left;
        max-width: 30%;
        float: left;
    }

    .ratings {
        flex-direction: column;
        align-items: flex-end;
        float: right;
        width: 60%;
    }

    .rating-box {
       padding-left: 0;
    }
    

    .testimonials {
        clear: both;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 3rem;
    }

    .card {
        width: 30%;
    }


    .card-middle {
        position: relative;
        top: 15px;
    }

    .card-bottom {
        position: relative;
        top: 30px;
    }

    .rating-box-top {
        width: 60%;
        display: flex;
        justify-content: space-evenly;
        margin-right: 100px;
    }

    .rating-box-middle {
        width: 60%;
        display: flex;
        justify-content: space-evenly;
        margin-right: 50px;
    }
    .rating-box-bottom {
        width: 60%;
        display: flex;
        justify-content: space-evenly;
    }
    .header-section h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 41px;
    }
    
}
