body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    background-color: #313131;
}

.background-image {
    position: fixed; /* Changed from absolute to fixed */
    top: 0;
    left: 0;
    right: 0; /* Ensure it spans the full width */
    bottom: 0; /* Ensure it spans the full height */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: left; /* Adjusted to center for better positioning */
    opacity: 0.3;
    z-index: -1;
    background-attachment: fixed; /* This ensures the background is fixed during scrolling */
}


.restaurant-image {
    display: block;
    margin: 0 0 0 0;
    width: 100%;
    max-width: 100%; /* Ensures the image is not bigger than the screen */
} 

.restaurant-image, .restaurant-logo {
    max-width: 100%;
    margin: 0px 0px;
}


.restaurant-description {
    margin-bottom: 20px;
}

.rate-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Add this line to center content horizontally */
    max-width: 100%;
    width: 80%;
    margin: 10px auto; 
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 1;
    font-size: clamp(20px, 2.5vw, 24px);
}

.rate-title {
    margin-bottom: 20px;
    font-size: 24px;
}

.rating i {
    color: #ffc107;
    cursor: pointer;
    font-size: 36px;
}

#submitBtn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

#feedbackForm, #positiveFeedback {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

#feedbackForm label, #feedbackForm input, #feedbackForm textarea, #feedbackForm #submitFormBtn {
    display: block;
    margin: 5px 0; /* Consistent vertical spacing */
    width: calc(100% - 20px); /* Full width minus padding */
    box-sizing: border-box; /* Include padding and border in element's width */
}

#foodRating i, #serviceRating i {
    font-size: 30px;
    margin-top: 5px;
}

#comments {
    box-shadow: none;
    text-shadow: none;
    height: 100px; /* Fixed height for the textarea */
    resize: vertical; /* Allow vertical resizing */
}

#submitFormBtn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
} 

#buttonsContainer {
    display: flex;
    flex-direction: row; /* This will place the buttons side by side */
    justify-content: center; /* This centers the buttons within the container */
    gap: 10px; /* Optional: Adds some space between the buttons */
}


#yesButton , #noButton {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    margin-top: 5px;
}

#happyVisit{
    font-weight: 600;
}

#thankYouMessage{
    margin-top: 20px;
}

#noWorriesMessage{
    margin-top: 20px;
}

.restaurant-logo {
    display: block;
    width: 140px; /* Responsive size, you can adjust this */
    max-width: 140px; /* Maximum size */
    margin: 10px auto; /* Centers the logo */
    margin-top: 30px;
}

.hidden{
    display: none;
}