@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap');
* {
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Overpass";
    margin: 0px;
}

.container {
    flex-grow: 1;
    background-color: hsl(216, 12%, 8%);
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 350px;
    background-image: linear-gradient(to bottom, hsl(213, 24%, 15%), hsl(216, 24%, 12%) );
    padding: 20px;
    border-radius: 20px;
}

.card-front {
    display: flex;
    flex-direction: column;
}

.card-back {
    padding: 10px 0px;
    text-align: center;
}

.ratingContainer {
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.star, .rating-card {
    background-color: hsl(213, 19%, 18%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: hsl(216, 12%, 54%);
    padding: 2px 1px 0px 0px;
}


.rating-card:hover {
    background-color: hsl(216, 12%, 54%);
    color: hsl(0, 0%, 100%);
}

.rating-card:active {
    background-color: hsl(25, 97%, 53%);
}

.rating-card-selected {
    background-color: hsl(216, 12%, 54%);
    color: hsl(0, 0%, 100%);
}

.btn {
    background-color: hsl(25, 97%, 53%);
    color: hsl(0, 0%, 100%);
    border-radius: 20px;
    margin: 20px 0px;
    padding: 10px 0px;
    border: 0px;
}

.btn:active {
    background-color: hsl(0, 0%, 100%);
    color: hsl(25, 97%, 53%);
}

p {
    color: hsl(217, 12%, 63%);
}

h1 {
    color:  hsl(0, 0%, 100%);
}

.selected {
    display: inline-block;
    justify-content: center;
    border-radius: 20px;
    padding: 10px;
    background-color: hsl(213, 19%, 18%);
    color:hsl(25, 97%, 53%);
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}