/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Normalize */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    /* Palette */
    --primary-bg-color: #FFFFFF;
    --secondary-bg-color: #EFF2F5;

    /* Typography */
    --base-font: 'Montserrat', sans-serif;

    /* Fonts */
    --text-color: rgb(72, 72, 72);

    /* Stars */
    --star-color: #b5b8b1;
    --star-hover-color: #ffb851;
}

html {
    font-family: var(--base-font);
    font-size: 62.5%;
    color: var(--text-color);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    font-family: inherit;
    color: inherit;
}

ul,
ol {
    list-style-type: none;
}

img {
    width: 100%;
}


/* Main Section */
.content__wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6.8rem 9%;
    min-height: 100vh;
}

.content__wrap.active {
    padding: 6.8rem 9%;
}

.rating__box {
    text-align: center;
}

.logo img {
    width: 280px;
    height: 160px;
    object-fit: cover;
}

.rating__box .rating__title {
    font-size: 3.2em;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4rem;
    white-space: pre-line;
}

.rating__box .stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
}

.stars .star {
    font-size: 5.4em;
    color: var(--star-color);
    transition: all 0.2s;
    cursor: pointer;
}

.stars .star.active {
    color: var(--star-hover-color);
    transform: scale(1.2);
}
.stars .star.hover {
    color: var(--star-hover-color);
    transform: scale(1.2);
}

.content__wrap .rating__review {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 70%;
    transition: all 0.4s;
    opacity: 0;
    visibility: hidden;
}

.content__wrap .rating__review.active {
    opacity: 1;
    visibility: visible;
}

.rating__review .logo img {
    width: 340px;
    height: 180px;
}
 
.rating__review .rating__text {
    text-align: center;
    font-size: 1.8em;
    font-weight: 500;
    line-height: 1.6;
}

/* BREAKPOINTS */
@media (max-width: 480px) {
    .content__wrap {
        padding: 4.8rem 4%;
    }

    .content__wrap.active {
        padding: 4rem 6%;
    }

    .rating__review .logo img {
        width: 240px;
        height: 160px;
        object-fit: cover;
    }

    .content__wrap .rating__review {
        width: 100%;
    }

    .rating__box .stars {
        gap: 1rem;
    }
}