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

/* Set the background image with full cover */
body {
    font-family: 'Crimson Pro', serif;
    font-size:16px;
}

p {
    font-size:18px;
}

main {
    margin-top:50px;
    display: grid;
    grid-template-rows: auto auto; /* Adjust based on content */
    gap: 20px; /* Space between items */
    justify-items: center; /* Center items horizontally */
    padding: 20px;
}

header {
    width: 100%;
    text-align: center;
    background-color: #f0f0f0; /* Optional: Change to desired background color */
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Set a high z-index value */
}

.header-logo-link {
    position: absolute;
    left: 30px; /* Adjust the left margin as needed */
}

.header-logo {
    height: 40px; /* Adjust as needed */
    width: auto; /* Maintain aspect ratio */
}

header h1 {
    margin: 0;
    line-height: 50px; /* Adjust to vertically align with the logo if needed */
    font-family: "Roboto Condensed", sans-serif;
}

/* Style for the centered box */
.centered-box {
    width: 80%; /* Adjust as needed */
    max-width: 700px; /* Adjust as needed */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    text-align: center;
}

.hrefs-container {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom:110px;
}

/* Center the image inside the box */
.centered-box .tallogo {
    display: block;
    margin: 0 auto 10px; /* Center image horizontally, and add some margin below */
    max-width: 30%;
    height: auto; /* Ensure the image is responsive */
}

.centered-box .excellogo {
    display: block;
    margin: 0 auto 10px; /* Center image horizontally, and add some margin below */
    max-width: 20%;
    height: auto; /* Ensure the image is responsive */
}

.button {
    display: inline-block; /* Make the anchor tag behave like a block-level element */
    background: linear-gradient(to bottom, #333, #000);
    font-family: "Roboto Condensed", sans-serif;
    border: 1px solid #000;
    border-radius: 5px;
    color: white;
    padding: 10px 20px;
    margin-top:30px;
    margin-left:5px;
    margin-right:5px;
    margin-bottom:40px;
    font-size: 14px; /* Smaller font size */
    text-decoration: none; /* Remove default underline */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    outline: none; /* Remove outline */
    width: 100%; /* Ensure all buttons have the same width */
    max-width: 200px; /* Prevent buttons from being too wide */
    height: 50px; /* Set button height */
    line-height: 25px; /* Vertically center the text */
    text-align: center; /* Center align the text horizontally */
    box-sizing: border-box; /* Include padding and border in the width calculation */
    vertical-align: middle;

}

/* Hover effect for the button */
.button:hover {
    background: linear-gradient(to bottom, #555, #222);
    transform: scale(1.05);
}

/* Active effect for the button */
.button:active {
    background: linear-gradient(to bottom, #222, #000);
    transform: scale(1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.app-name {
    font-size: 36px; /* Adjust font size as needed */
    font-weight: 700; /* Use bold font weight */
    margin-bottom: -10px; /* Add some space below the app name */
    font-family: 'Clash Grotesk';
    color: #3a3a3c; /* Ensure text color is black */
    text-shadow:
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white; /* Add a 1px white outline */
}

footer {
    width: 100%;
    background-color: #f0f0f0; /* Optional: Change to desired background color */
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-image {
    height: 30px; /* Adjust as needed */
    width: auto; /* Maintain aspect ratio */
    margin: 0 10px; /* Space between images and text */
}

footer p {
    margin: 0;
    padding: 0 10px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-field {
    margin-bottom: 15px;
}

.form-help-text {
    display: block;
    font-size: 0.9em;
    color: #666; /* Light gray color */
    margin-top: 5px;
}



input[type="text"],
input[type="email"],
input[type="password"] {
    width: 400px; /* Increased width */
    height: 50px; /* Increased height */
    text-align: center;
    font-size: 22px; /* Increased font size */
    padding: 12px; /* Increased padding */
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #007bff; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Glow effect on focus */
}

.center-label {
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 30px;
    position: relative; /* Required for absolute positioning of the pseudo-element */
}

.center-label:not(:first-of-type)::before {
    content: "";
    display: block;
    width: 100%; /* Full width of the parent element */
    height: 2px; /* Base height of the line */
    background: linear-gradient(to right,
                                transparent 0%,
                                transparent 30%,
                                #155724 50%,
                                transparent 70%,
                                transparent 100%); /* Gradient for thicker middle */
    position: absolute;
    top: 0; /* Position the line above the text */
    left: 0;
    height: 3px; /* Adjust to desired line thickness */
    transform: translateY(-20px); /* Move the line further up to create more space */
}

.radio-group {
    margin-top: 20px;
}
.radio-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2em;
}
.radio-group input[type="radio"] {
    margin-right: 10px;
}
.radio-group {
    margin-bottom: 30px;
    text-align: left;
}
.radio-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2em;
}
.radio-buttons label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.radio-buttons input[type="radio"] {
    margin-right: 10px;
    width: 20px; /* Adjust size */
    height: 20px; /* Adjust size */
}
.radio-buttons {
    display: block;
    justify-content: space-around;
    align-items: left;
}

/* Link styling */
.hrefs a.href-link {
    text-decoration: none;
    color: #007bff; /* Bootstrap-like blue */
    margin: 0 10px;
    position: relative;
}

.hrefs a.href-link::after {
    content: '|';
    position: absolute;
    right: -15px;
    color: #ccc; /* Light grey color for the separator */
}

.hrefs a.href-link:last-child::after {
    content: ''; /* Remove the separator after the last link */
}

.form-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
}

.form-field label {
    margin-bottom: 0.5em; /* Space between label and input */
}

.form-field input {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-help-text {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em; /* Space above the help text */
}

.recover-link {
    color: black; /* Always black */
    display: inline-block; /* Allows margin and transforms */
    margin-top: -20px; /* -20px top margin */
    margin-bottom:20px;
    text-decoration: none; /* Remove underline */
    transition: transform 0.3s ease; /* Smooth transition for expand effect */
}

.recover-link:hover {
    transform: scale(1.2); /* Expand on hover */
}

.message-container {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
    }
}

@media (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        width: 300px; /* Increased width */
    }

    h2 {
        font-size:16px;
    }

    h3 {
        font-size:14px;
    }
}