@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@200;300;400;500;700;900&family=Poppins:wght@100;200;300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.background {
    background: linear-gradient(rgba(134, 134, 134, 0.384), rgba(0, 0, 0, 0.459)),
    url("https://dltb83xt8xjo5.cloudfront.net/images/tbtm-sale-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.information-message {
    text-align: center;
    font-weight: 550;
    display: none;
    color: #28a745;
}

.submit-message {
    color: grey;
    font-weight: 550;
    display: none;
}

.review-heading {
    padding: 2px 15px;
    margin: 2rem 0 0 0;
    color: orange;
    text-align: center;
    font-size: 2rem;
    text-shadow: 4px 5px 5px rgb(0 0 0 / 70%);
}

.review-info {
    margin: 2rem auto 2.6rem auto;
    text-align: center;
    width: 60%;
    color: #fff;
    font-weight: normal;
}

#submit-review {
    max-width: 60%;
    width: 100%;
    margin: 10px auto;
    padding: 20px;
    border: solid 1px #f1f1f1;
    background: #fbfbfb;
    box-shadow: #e6e6e6 0 0 4px;
    border-radius: 0.3rem;
}

.section-heading {
    margin: 8px auto;
    font-weight: bold;
    line-height: 1.5;
    color: #0d0d0d;
}

.form-group {
    margin-bottom: 1rem;
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.input-group-addon {
    width: 45px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.25;
    color: #2e2e2e;
    text-align: center;
    background-color: #eceeef;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: black;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-control:focus {
    color: black;
    background-color: #fff;
    border-color: orange;
    outline: none;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.66);

}

.review-icon {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

.fa-star {
    font-size: 2rem;
    color: orange;
}

.rating-section-flex {
    display: flex;
    gap: 3rem;

}

.personal-info {
    width: 100%;
}

textarea {
    resize: none;
}

textarea::-webkit-scrollbar {
    width: 0.8rem;
}

textarea::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb {
    background: orange;
    border-radius: 10px;
}

.input-group .form-control {
    position: relative;
    z-index: 2;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.input-group-addon:not(:last-child) {
    border-right: 0;
}

.input-group .form-control:not(:last-child),
.input-group-addon:not(:last-child) {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.input-group-addon,
.input-group-btn,
.input-group .form-control {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}


.input-group .form-control:not(:first-child),
.input-group-addon:not(:first-child) {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.book-url:hover {
    text-decoration: underline;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.button-section {
    display: flex;
    justify-content: center;
}

.review-btn {
    display: inline-block;
    background: linear-gradient(60deg, rgba(255, 94, 0, 0.904), rgba(248, 165, 41, 0.904));
    color: #fff;
    font-size: 1.3rem;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1.25;
    text-align: center;
    user-select: none;
    padding: 0.5rem 1rem;
    border-radius: 9px;
    transition: all 0.3s linear;
    cursor: pointer;
    box-shadow: 1px 2px 5px rgb(0 0 0 / 49%);
    border: none;
    -webkit-appearance: none !important;
    opacity: 1 !important;
}

.review-btn:hover {
    box-shadow: 1px 2px 7px rgba(0, 0, 0, 0.7);
    color: rgba(0, 0, 0, 0.842);
}

.review-btn:focus, .review-btn:hover {
    text-decoration: none;
}

a.review-btn.disabled,
fieldset[disabled] a.review-btn {
    pointer-events: none;
}

@media (max-width: 1024px) {
    .review-heading {
        margin-top: 1rem;
        font-size: 1.8rem;
    }

    #submit-review {
        max-width: 70%;
    }

    .review-info {
        width: 70% !important;
    }
}

@media (max-width: 892px) {
    .rating-section-flex {
        gap: 1rem;
    }
}

@media (max-width: 816px) {
    .rating-section-flex {
        gap: 3rem;
    }

    .review-heading {
        font-size: 1.6rem;
    }

    #submit-review {
        max-width: 90%;
    }

    .review-info {
        width: 90% !important;
    }
}

@media (max-width: 768px) {
    .review-info {
        margin: 1.5rem auto 2.6rem auto;
        font-size: 17px;
    }
}

@media (max-width: 700px) {
    .rating-section-flex {
        gap: 0.5rem;
        flex-direction: column-reverse;
    }

    .title-image-flex {
        text-align: center;
    }
}

@media (max-width: 582px) {
    .review-info {
        margin: 0 auto 1rem auto;
    }
}

@media (max-width: 500px) {
    .review-heading {
        font-size: 1.4rem;
    }

    #submit-review {
        padding: 10px;
    }

}

@media (max-width: 425px) {

    .review-heading {
        font-size: 20px;
    }
}

@media (max-width: 375px) {
    .g-recaptcha {
        display: block;
    }

    .g-recaptcha {
        transform: scale(0.90);
        transform-origin: 0 0;
    }
}

@media (max-width: 320px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
    }
}