/* Importing the Amiri font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');
/* General page styles for aesthetic improvement */
/* Style for the body element */
body {
    font-family: 'Amiri', serif;
    background-color: #333; /* Dark grey background for the page */
    color: #f0f0f0; /* Light text color for contrast */
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Styling the container of the age input */
/* Styling the container of the age input */
.age-input-container {
    border: 3px solid #f0f0f0; /* Light border for contrast on dark background */
    background-color: #444; /* Dark background for the container */
    padding: 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px; /* Rounded corners for the square */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Darker shadow for depth */
}

/* Styling the individual input fields within the container */
.age-input {
    width: 80%;
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: #555; /* Darker background for the inputs */
    color: #f0f0f0; /* Light color for the text */
}

/* Apply the reset to the container and image as well */
.test-container, .test-image {
    margin: 0;
    padding: 0;
}

/* Adjusted input and select styles for better visibility */
input, select {
    background-color: #ffffff; /* Light background for inputs */
    color: #333; /* Darker text for better contrast */
    border: 2px solid #5a5a5a; /* Slightly thicker border for definition */
    padding: 15px; /* More padding for a larger touch area */
    margin-bottom: 20px; /* More space between inputs */
    border-radius: 8px; /* Rounded borders */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
    font-size: 1.1em; /* Larger font size */
    transition: all 0.3s ease; /* Transition for interaction effects */
}

/* Hover and focus effects for inputs and selects */
input:hover, input:focus, select:hover, select:focus {
    border-color: #a8c0ff; /* Highlight color for interaction */
    box-shadow: 0 4px 8px rgba(168, 192, 255, 0.5); /* Brighter shadow on hover/focus */
}

.title {
    font-size: 3em; /* Adjust the font size if necessary */
    color: #ffffff; /* Sets the text color to white */
    text-shadow: none; /* Removes the text shadow */
    margin: 0px 0 0px 0; /* Adds margin to the top and bottom */
    /* Adjust the top margin as needed to position the title within the page */
}

/* Style adjustments for the submit button */
input[type="submit"] {
    background-color: #4e54c8; /* Attractive button color */
    color: #ffffff; /* Text color */
    border: none; /* No border */
    padding: 15px 30px; /* Padding around text */
    margin-top: 10px;
    border-radius: 8px; /* Rounded corners */
    font-weight: bold; /* Make the text bold */
    cursor: pointer; /* Cursor indicates the button is clickable */
    transition: background-color 0.3s ease; /* Smooth background color transition */

}
/* Style for the test container */
.test-container {
    /* Set max-width instead of min-width to prevent overflow */
    max-width: 1000px;
    /* Removed overflow:hidden to show all content */
    text-align: center;
    margin: auto;
}

/* Style for images */
.test-image {
    display: inline-block;
    height: 450px; /* Set a fixed height */
    width: 850px; /* Adjust width as needed */
    object-fit: contain; /* Maintain aspect ratio */
    margin: 20px 0; /* Add vertical space and reset horizontal margin */
    object-fit: fill; /* This will stretch the image */
}

/* Style for radio options and submit button container */
.radio-options, .button-classname {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    width: 100%;
    /* Removed padding-top for .radio-options */
}

.flashes {
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    color: red;
    list-style: none;
}

/* Enhanced style for all footers */
.footer-content {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 10px; /* Padding inside the footer */
    position: fixed; /* Fixed position to keep it in view */
    bottom: 0; /* Position it at the bottom of the viewport */
    right: 0; /* Align to the right of the viewport */
    font-size: 1.1em; /* Keep original font size */
    z-index: 10; /* Ensure footer stays above other content */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center content horizontally */
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2); /* Add subtle shadow for depth */
    border-top: 2px solid #cccccc; /* Light grey border on top for definition */
    text-shadow: 1px 1px 2px #888888; /* Slight text shadow for 3D effect */
    transition: all 0.3s ease; /* Transition for hover effects */
}

.footer-content a {
    color: #0066cc; /* Change link color for distinction */
    text-decoration: none; /* Remove underline from links */
    transition: color 0.3s ease; /* Smooth color transition for hover */
}

.footer-content a:hover {
    color: #ff6600; /* Change link color on hover for interactivity */
}

/* Add a subtle hover effect for the entire footer */
.footer-content:hover {
    background-color: #ffff66; /* Lighten background color on hover */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* Enhance shadow for depth */
}

/* Specific styles for the footer on the input page */
.input-page-footer {
    position: fixed; /* Fixed position to keep it at the bottom */
    bottom: 0; /* Align to the bottom */
    left: 0; /* Align to the left edge */
    right: 0; /* Align to the right edge */
    width: 100%; /* Full width */
    background-color: #343a40; /* Specific background color for input page footer */
    color: #f8f9fa; /* Specific text color for input page footer */
    padding: 10px 20px; /* Specific padding for input page footer */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Box shadow for aesthetic */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em; /* Specific font size for input page footer */
    z-index: 1000; /* Ensure it stays above other content */
}

.footer-content .footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    /* ... other styles ... */
}


.footer-inner {
    display: flex;

    justify-content: center;
    align-items: center;
}

.footer-inner a {
    color: #17a2b8;
    text-decoration: none;
    margin-left: 4px;
    margin-right: 8px;
}

.footer-inner span {
    margin-left: 8px;
}

.footer-content a {
    color: #17a2b8;
    text-decoration: none;
    /* ... other styles ... */
}

.footer-content a:hover {
    color: #138496;
}

