@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root {
    --dark-purple: #502050;
    --pink: #ee68a4;
    --lilac: #937b92;
    --offwhite: #f7f2f7;
    --white: #ffffff;

    --mainfont: "League Spartan", sans-serif;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: var(--mainfont);
    font-size: 15px;
    line-height: 20px;
}

body {
    min-height: 100vh;
    position: relative;
    background-image: url('../images/bg-pattern-top-mobile.svg'), url('../images/bg-pattern-bottom-mobile.svg');
    background-position: top center, bottom center;
    background-attachment: fixed;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 30%, 100% 40%;
}

main {
}

div#intro {
    text-align: center;
}

h1 {
    font-size: 30px;
    color: var(--dark-purple);
    padding: 60px 50px 10px 50px;
    line-height: 30px;
}

p {
    color: var(--lilac);
    margin: 20px;
    /* text-align: center; */
}

section#rates {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

section#rates > div.block-rate {
    background-color: var(--offwhite);
    font-weight: 700;
    padding: 15px 0px;
    margin: 10px;
    text-align: center;
    border-radius: 8px;
}

section#rates div.block-rate div.star-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

section#rates > div.block-rate > p.rates-text {
    color: var(--dark-purple);
    margin: 0px;
}

section#comments {
    margin: 30px 0px 60px 0px;
}

section#comments > article.block-comment {
    background-color: var(--dark-purple);
    margin: 15px;
    border-radius: 8px;
    font-weight: 500;
    padding: 10px;
}

section#comments > article.block-comment > div.person {
    display: flex;
    margin-left: 15px;
}

section#comments > article.block-comment > div.person img {
    height: 50px;
    width: 50px;
    border-radius: 50px;
    align-self: center;   
}

section#comments > article.block-comment > div.person > div.id-comment {
    display: flex;
    flex-direction: column;
}

section#comments > article.block-comment > div.person > div.id-comment > p.name {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0px;
}

section#comments > article.block-comment > div.person > div.id-comment > p.verification {
    font-weight: 400;
    color: var(--pink);
    margin-top: 0px;
}

section#comments > article.block-comment > p.text-comment {
    color: var(--white);
    text-align: left;
    margin-top: 10px;
}

footer {
    background-color: var(--lilac);
    color: white;
    text-align: center;
    padding: 2px;
}

footer > a {
    text-decoration: none;
    color: var(--offwhite);
}

footer > a:hover {
    text-decoration: underline;
    color: var(--dark-purple);
}
