/* Reset */

* {
    margin: 0;
    padding: 0;
}

/* General */

body {
    background-image: url(images/bg-pattern-bottom-desktop.svg);
    background-size: cover;
    font-family: "League Spartan", sans-serif;
}

section {
    margin: 72px 180px;
}

h1 {
    color: hsl(300, 43%, 22%);
    font-size: 44px;
    width: 60%;
    margin-bottom: 20px;
    font-weight: bolder;
}

h3 {
    font-weight: 500;
    font-size: 16px;
    color: white;
}

span {
    color: hsl(333, 80%, 67%);
    font-weight: 300;
}

/* Sección top con titular y valoraciones */

.titulares {
    width: 50%;
    color: hsl(300, 43%, 22%);
    margin: 40px 0px;
}
.titulares p {
    max-width: 80%;
    line-height: 1.5rem;
    color: hsl(303, 10%, 53%);
    font-weight: 400;
}

.valoraciones {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.opinion {
    display: flex;
    justify-content: center;
    background-color: hsl(300, 24%, 96%);
    gap: 20px;
    color: hsl(300, 43%, 22%);
    font-weight: 700;
    border-radius: 8px;
    padding: 16px 32px;
    margin: 8px 0px;
    max-width: 372px;
    align-items: center;
}

.estrellas {
    display: flex;
    gap: 4px;
}

/* Comentarios de usuarios */

.seccion-resenas {
    height: 250px;
    display: flex;
    justify-content: space-between;
}

.foto-perfil {
    border-radius: 50%;
    max-width: 40px;
}

.comentario {
    background-color: hsl(300, 43%, 22%);
    width: 260px;
    padding: 32px 28px;
    border-radius: 8px;
}
.comentario p {
    color: white;
    font-weight: 400;
    line-height: 1.5rem;
    font-size: 15px;
}


/* Útiles */

.flexgap {
    display: flex;
    gap: 24px;
    align-items: center
}

.flexcolumn {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.start {
    align-self: flex-start;
}

.mid {
    align-self: center; 
}

.end {
    align-self: flex-end;
}

.espaciado {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
