/* - 
- Light Grey: 
- Medium Grey: hsl(216, 12%, 54%)
- Dark Blue: hsl(213, 19%, 18%)
- Very Dark Blue: hsl(216, 12%, 8%)

- Font size (paragraph): 15px

- Family: [Overpass](https://fonts.google.com/specimen/Overpass)
- Weights: 400, 700*/

/*
*******************************************
*                  BASE                   *
*******************************************
*/

/* ------------ UTILS ------------ */

.center-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

* {
    box-sizing: border-box
}

img {
    max-width: 100%;
}

/* ------------------------ */

html {
    font-family: 'Outfit', sans-serif;
    font-size: 62.5%;
}

body {
    background: #141519;
    width: 100%;
    height: 100vh;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

p, span {
    font-size: 1.5rem;
    color: hsl(217, 12%, 63%);
}

p {
    line-height: 150%;
}

main {
    background: #1c232d;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    padding: 40px;
    margin: 0 3%;
}

/*
*******************************************
*                 Modules                 *
*******************************************
*/

/* ------------ Rating Bar ------------ */

.rating-bar {
    display: flex;
    flex: row nowrap;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}

.rating-bar span {
    font-weight: bold;
}

.rating-bar input[type="radio"] {
    display: none
}

.rating-bar input[type="radio"] + label {  
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.rating-bar input[type="radio"]:hover + label {
    background-color: #fc7613;
}

.rating-bar input[type="radio"]:checked + label {
    background-color: hsl(217, 12%, 63%);
  }

.rating-bar input[type="radio"]:checked + label > span{
    color: white
  }

  .rating-bar input[type="radio"]:hover + label > span{
    color: white
  }


/* ------------ Ball ------------ */

.ball {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #212c37;
}

#star {
    background: #212c37 url("../images/icon-star.svg") no-repeat center;
    background-size: 20px;
}

.thank-you-card {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}

.thank-you-card p {
    text-align: center;
    margin: 0;
}

.thank-you-card h2 {
    letter-spacing: 1px;
}

#thank-you-image {
    background: #1c232d url("../images/illustration-thank-you.svg") no-repeat center;
    background-size: contain;
    width: 100%; 
    height: 110px;
}

#rating-selection {
    background: #212c37;
    color: #fc7613;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    margin: 30px 0 0 0;
}

/* ------------ Submit button ------------ */

.rating-card button {
    display: block;
    background: #fc7613;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.rating-card button:hover {
    color: #fc7613;
    background: white;
}

/* ------------ Submit button ------------ */

/*
*******************************************
*                  States                 *
*******************************************
*/

.is-hidden {
    display: none;
}
