@import url('https://fonts.googleapis.com/css2?family=Overpass&display=swap');



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Overpass', sans-serif;
}

body{
    background-color: hsl(216, 12%, 8%);
    background-size: cover;
    overflow : hidden;
}
.wrapper{
    height : 100vh;
    width : 100vw;
    display : flex;
    align-items: center;
    justify-content: center;
}
.container{
    display : block;
    transition :display 10s;
    max-width: 22rem;
    min-height: 23rem;
    border-radius : 2rem;
    background: radial-gradient(circle at top ,hsl(213, 19%, 18%)10% , hsl(216, 12%, 8%)150%);
}
.star{
    max-width : 1.4rem;
    min-height: auto;
    float : left;
    margin-left: 2rem;
    margin-top: 1.8rem;
}
.star .star-btn{
    border : none;
    background-color: hsl(213, 19%, 18%);
    border-radius : 5rem;
    padding :0.8rem 0.75rem 0.7rem 0.8rem;
}
.text{
    color : white;
    max-width : 100%;
    height : 10%;
    margin-top : 6rem;
    margin-left : 2rem;
    margin-right : 2rem;
}
.text h1{
    font-weight: 700;
    font-size: 25px;
    margin-bottom : 0.5rem;
}
.text h3{
    font-size : 15px;
    font-weight: 400;
    color : hsl(216, 12%, 54%);
}
.rating-buttons{
    display: flex;
    align-items : center;
    justify-content: center;
    gap: 0.8rem;
    margin-top : 1.5rem;
}
.rating-buttons button{
    background-color : hsl(213, 19%, 18%);
    border : none;
    border-radius : 50%;
    outline: none;
    padding : 1rem 1.25rem;
    margin-left : 0rem;
    color : hsl(216, 12%, 54%);
    font-weight : 700;
    cursor : pointer;
    transition : 0.3s;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.rating-buttons :first-child{
    padding : 1rem 1.35rem;
}
.rating-buttons button:hover{
    background-color: hsl(25, 97%, 53%);
    color : hsl(0, 0%, 100%);
}
.rating-buttons .focus{
    background-Color : hsl(217, 12%, 63%);
    color : hsl(0, 0%, 100%);
}
.submit{
    text-align: center;
    margin-top : 1.5rem;
}
.submit .submit-btn{
    opacity : 50%;
    pointer-events: none;
    background-color :hsl(25, 97%, 53%);
    color :hsl(0, 0%, 100%);
    border : none;
    border-radius : 5rem;
    width : 18rem;
    height : 2.5rem;
    padding-top : 0.2rem;
    text-transform: uppercase;
    font-weight : 700;
    letter-spacing : 0.2rem;
    cursor: pointer;
    transition : 0.7s;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.submit .submit-btn:hover{
    color :hsl(25, 97%, 53%);
    background-color :hsl(0, 0%, 100%);
}


/*After Submission*/

.wrapper-2{
    height : 100vh;
    width : 100vw;
    display : flex;
    align-items: center;
    justify-content: center;
    margin-top : -38rem;
}
.wrapper-2 .container-2{
    display : none;
    max-width: 22rem;
    min-height: 23rem;
    border-radius : 2rem;
    transition : display 10s;
    background: radial-gradient(circle at top ,hsl(213, 19%, 18%)10% , hsl(216, 12%, 8%)150%);
}
.wrapper-2 .container-2 .illustration{
    margin-left : 6rem;
    margin-top : 2rem;
}
.wrapper-2 .container-2 .text{
    color : white;
    max-width : 100%;
    height : 10%;
    margin-top : 1rem;
    margin-left : 2rem;
    margin-right : 2rem;
    text-align : center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wrapper-2 .container-2 .text .rating{
    background-color: hsl(213, 19%, 18%);
    color :hsl(25, 97%, 53%);
    border-radius: 10rem;
    height : 2rem;
    width : 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top : 0.2rem;
}
.wrapper-2 .container-2 .text h1{
    font-weight: 700;
    font-size: 25px;
    margin-top : 1.8rem;
}
.wrapper-2 .container-2 .text h3{
    font-size : 15px;
    font-weight: 400;
    color : hsl(216, 12%, 54%);
    margin-top : 1rem;
}
