@import url('https://fonts.googleapis.com/css?family=Poppins:wgth@300;400;500;600;700;800;900&display=swap');

:root{
    --bg-color:  #FFFFFF;
    --second-bg-color:#FF00FF;
    --third-bg-color: #FFD700;
    --text-color : #444;
    --main-color : #FF00FF;
}

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.feedbackForm{
    width: 100%;
    height: 100%;
    padding: 15px 15px 15px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background: url(../others/reading1.jpg) no-repeat;
    background-position: center;
}

.feedbackForm .feedbackVisuals{
    padding: 5px 5px 5px 5px;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.feedbackVisuals .feedbackContainer,
.feedbackContainer .feedbackHolder{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.feedbackVisuals .feedbackContainer{
    width: 75%;
    align-items: center;
    box-shadow: 10px 20px 30px rgba(172, 151, 151, 0.774);
    background: transparent;
    border-radius: 20px;
}

.feedbackContainer .inputReviewBtn{
    position: relative;
    padding: 5px 5px 5px 5px;
    text-align: center;
}

.inputReviewBtn .btn{
    font-size: 20px;
    padding: 5px 5px 5px 5px;
    background: #c9d8cd9c;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
    border: 0.2px solid #444;
    border-radius: 15px;
}

.inputReviewBtn .btn:hover{
    transform: scale(1.4);
}

.feedbackHolder p{
    margin-top: 10px;
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
}

.feedbackHolder .rating{
    /* position: relative; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating i.active{
    color: gold;
}
 
.rating  i{
    font-size: 30px;
    font-weight: 200;
    text-align: center;
    margin-left: 15px;
    transition: 0.6s ease;
    cursor: pointer;
}

.rating i:hover{
    transform: scale(1.4);
    color: #cfcf3e;
}


.feedbackdetails .inputBlock{
    position: relative;
    width: 100%;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feedbackdetails .inputBlock input,
.feedbackdetails .inputBlock textarea{
    background: transparent;
    width: 100%;
    resize: none;
    font-size: 20px;
    border: none;
    border-bottom: 1px solid #444;
    margin: 1rem 0;
    padding: 1rem 0;
    outline: none;
}

.feedbackdetails .inputBlock span{
    position: absolute;
    left: 0;
    font-size: 20px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.6s;
    color: #050303;
    padding: 1rem 0;
}

.feedbackdetails .inputBlock input:focus + span,
.feedbackdetails .inputBlock input:valid + span{
    color: #000000;
    transform: translateY(-25px);
    font-size: 10px;
}

.feedbackdetails .inputBlock textarea:focus + span,
.feedbackdetails .inputBlock textarea:valid + span
{
    color: #000000;
    transform: translateY(-75px);
    font-size: 10px;
}

.feedbackdetails .inputBlock input[type="text"]{
    color: #000000;
}

@media (max-width: 1120px) {
    .feedbackForm {
        padding: 8rem 9% 2rem;
    }

    .feedbackVisuals {
        padding: 0;
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .feedbackContainer {
        width: 80%;
    }

    .feedbackHolder p {
        font-size: 14px;
    }

    .rating i {
        font-size: 24px;
    }

    .feedbackdetails .inputBlock input,
    .feedbackdetails .inputBlock textarea {
        font-size: 12px;
    }

    .feedbackdetails .inputBlock span {
        font-size: 12px;
    }

    .feedbackdetails .inputReviewBtn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .feedbackForm {
        padding: 5rem 9% 2rem;
    }

    .feedbackVisuals .feedbackContainer {
        width: 100%;
    }

    .feedbackHolder p {
        font-size: 12px;
    }

    .rating i {
        font-size: 20px;
    }

    .feedbackdetails .inputBlock input,
    .feedbackdetails .inputBlock textarea {
        font-size: 10px;
    }

    .feedbackdetails .inputBlock span {
        font-size: 10px;
    }
}