@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

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

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    color: #ffffff;
}

.bg-image {
    background-image: url("fantasy-image.jpg"); /* Make sure this matches the name of your image file */
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(50%);
}

h1 {
    font-size: 2.5em; /* Larger font for desktop but still manageable on mobile */
    margin: 0.5em 0; /* Space above and below the heading */
}

p {
    font-size: 1.5em; /* Larger font for readability */
    margin-bottom: 2em; /* Space below the paragraph */
}

form {
    background: rgba(0, 0, 0, 0.8); /* Slightly darker form background for better contrast */
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px; /* Maximum width of the form */
    margin: 0 auto; /* Center the form */
    box-sizing: border-box;
}

/* All text input fields will use this style */
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 90%; /* Reduced to account for padding */
    padding: 15px;
    margin: 10px auto; /* Centered horizontally */
    border-radius: 5px;
    border: 1px solid #ddd; /* Slight border for better definition */
    background: #fff; /* White background for input fields */
    display: block;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 90%; /* Match input field widths */
    padding: 15px;
    margin: 10px auto; /* Centered horizontally */
    border-radius: 5px;
    border: none;
    background-color: #D81B60; /* Deep pink color to match the cherry blossoms */
    color: #ffffff;
    font-size: 1.2em;
    cursor: pointer;
    box-sizing: border-box;
    text-transform: uppercase; /* Added text transformation for button */
}

button[type="submit"]:hover {
    background-color: #C2185B; /* A slightly darker pink on hover for visual feedback */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .container {
        padding-top: 20%; /* More top padding on mobile to center the content vertically */
    }

    h1 {
        font-size: 2em; /* Smaller font size for mobile */
    }

    p {
        font-size: 1em; /* Smaller font size for mobile */
    }
}


/* Better link styling for visibility */
a {
    color: #ffb6c1; /* Light pink */
    text-decoration: underline;
    font-weight: 500;
}

/* Form section spacing for better grouping */
form label {
    display: block;
    text-align: left;
    margin: 15px auto 5px;
    width: 90%;
    color: #fff;
    font-weight: 500;
}

form input[type="checkbox"] {
    margin-right: 8px;
}

/* Optional bear question input */
input[name="favorite-bear"] {
    width: 90%;
    padding: 15px;
    margin: 10px auto;
    border-radius: 5px;
    border: 1px solid #ddd;
    background: #fff;
    display: block;
    box-sizing: border-box;
}

/* Slightly rounder form box to soften*
