:root {
  --very-dark-magenta: hsl(300, 43%, 22%);
  --soft-pink: hsl(333, 80%, 67%);
  --dark-grayish-magenta: hsl(303, 10%, 53%);
  --light-grayish-magenta: hsl(300, 24%, 96%);
  --white: hsl(0, 0%, 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Spartan', sans-serif;
    background-color: var(--white);
    color: var(--very-dark-magenta);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 1440px;
    width: 100%;
}

.top-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.top-text {
  flex: 1 1 300px;
}

.top-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 15ch
}

.top-text p {
  color: var(--dark-grayish-magenta);
  max-width: 45ch;
}

.estrelas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.estrela {
    background-color: var(--light-grayish-magenta);
    padding: 1rem; 
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.estrela img {
  height: 1rem;
}

.estrela span {
    display: inline-block;
}

.estrela:nth-child(1) {
    transform: translateX(-60px);
}

.estrela:nth-child(2) {
    transform: translateX(-30px);
}

.avaliacoes {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 4rem;
}

.avaliacao {
    background-color: var(--very-dark-magenta);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    flex: 1;
    position: relative;
}

.avaliacao h2 {
    font-size: 1rem;
    font-weight: 700;
}

.verified {
    color: var(--soft-pink);
    font-size: 0.85rem;
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--soft-pink);
}


.avaliacao:nth-child(2){
    transform: translateY(20px);
}

.avaliacao:nth-child(3){
    transform: translateY(35px);
}

blockquote p {
    font-size: 0.9rem;
}

@media (max-width: 800px) {
    .top-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .top-text {
        flex: 1;
    }

    .estrela {

        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .estrela:nth-child(1),
    .estrela:nth-child(2) {
        transform: none;
    }

    .avaliacoes {
        flex-direction: column;
        gap: 1.5rem;
    }

    .avaliacao {
    transform: none !important;
}


}

   