
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap');

:root {
    --font-family: 'Overpass', sans-serif;

    --primary-color: hsl(25, 97%, 53%);

    --color-white: hsl(0, 0%, 100%);
    --color-lightGrey: hsl(217, 12%, 63%);
    --color-mediumGrey: hsl(216, 12%, 54%);
    --color-lightblue: hsl(211, 17%, 25%);;
    --color-darkBlue: hsl(213, 19%, 18%);
    --color-VdarkBlue: hsl(216, 12%, 8%);
    

    --font-size: 15px;
    --font-weightRegular: 400;
    --font-weightBold: 700;
}

.hide {
    display: none;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    text-decoration: none;
    background-color: var(--color-VdarkBlue);
}

/* CARD RATING */

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card__rating {
    width: 25rem;
    background-color: var(--color-darkBlue);
    padding: 2rem 2rem;
    border-radius: 30px;
}

.card__header{
    background-color: var(--color-lightblue);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.card__header img {
    width: 0.8rem;
}

.card__body {
    font-family: var(--font-family);
}
.card__body h2 {
    color: var(--color-white);
    font-weight: var(--font-weightBold);
}
.card__body p {
    color: var(--color-mediumGrey);
    font-weight: var(--font-weightRegular);
    font-size: var(--font-size);
    margin-bottom: 1.5rem;
}

.card__buttons {
    display: flex;
    flex-direction: column;
}
.card__buttons__rating {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}
.card__buttons__rating button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background-color: var(--color-lightblue);
    color: var(--color-mediumGrey);
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-weightRegular);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card__buttons__submit{
    width: 100%;
}
.card__buttons__submit button {
    width: 100%;
    height: 2.5rem;
    border-radius: 2rem 2rem 2rem 2rem;
    border: none;
    background-color: var(--primary-color);
    color: var(--color-white);
    font-family: var(--font-family);
    font-weight: var(--font-weightBold);
    
}


/* HOVER EFFECT */

.card__buttons__rating button:hover {
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--color-white);
}
.card__buttons__rating button:focus {
    cursor: pointer;
    background-color: var(--color-lightGrey);
    color: var(--color-white);
}
.card__buttons__rating button:active:focus {
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--color-white);
}

.card__buttons__submit button:hover {
    background-color: var(--color-white);
    color: var(--primary-color);
    cursor: pointer;
    
}


/* CARD RESULT */

.card__result {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}

.card__submit {
    width: 25rem;
    background-color: var(--color-darkBlue);
    padding: 2rem 2rem;
    border-radius: 30px;
}

.card__header__submit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 1rem;
}
.card__header__submit img {
    width: 8rem;
}
.card__header__submit h3 {
    background-color: var(--color-lightblue);
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: baseline;
    padding: 0.4rem 0.8rem;
    color: var(--primary-color);
    font-family: var(--font-family);
    font-weight: var(--font-weightRegular);
    font-size: var(--font-size);
    border-radius: 2rem 2rem 2rem 2rem;
    margin-top: 2rem;
}
span{
   text-align: center;
}

.card__body__submit {
    text-align: center;
    padding: 0 1rem 1rem 1rem;
    font-family: var(--font-family);
}

.card__body__submit h2 {
    color: var(--color-white);
}

.card__body__submit p {
    color: var(--color-mediumGrey);
}

