/* styles.css */

/* Import Gentona font */
/* Assuming you have the Gentona font files in a 'fonts' directory */
@font-face {
    font-family: 'Gentona';
    src: url('fonts/Gentona-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gentona';
    src: url('fonts/Gentona-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* General Styles */
body {
    font-family: 'Gentona', Arial, sans-serif;
    background-color: #FAFAFA;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1.title {
    color: #FA4616; /* UF Orange */
    text-align: center;
    margin: 0;
    padding: 10px 0;
    font-size: 2em;
}

h2 {
    color: #0021A5; /* UF Blue */
    border-bottom: 2px solid #FA4616;
    padding-bottom: 10px;
    margin-top: 30px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="file"],
input[type="url"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    font-family: 'Gentona', Arial, sans-serif;
}

input[type="number"].small-input {
    width: 100%;
}

.flex-inputs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.input-half {
    width: calc(50% - 10px);
}

.input-third {
    width: calc(33.33% - 13.33px);
}

.input-quarter {
    width: calc(25% - 15px);
}

button {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #0021A5; /* UF Blue */
    color: #FFF;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Gentona', Arial, sans-serif;
}

button:hover {
    background-color: #0039D9;
}

/* Header Styles */
header {
    background-color: #0021A5; /* UF Blue */
    color: #FFF;
    padding: 10px;
    text-align: center;
}

.header-content {
    display: inline-block;
}

header .logo {
    height: 70px; /* Increased size */
    margin-right: 10px;
    vertical-align: middle;
}

header .title {
    color: #FFF;
    font-size: 2em;
    display: inline-block;
    vertical-align: middle;
    font-family: 'Gentona', Arial, sans-serif;
}

/* Footer Styles */
footer {
    background-color: #0021A5; /* UF Blue */
    color: #FFF;
    text-align: center;
    padding: 10px;
}

/* Loading Overlay Styles */
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250, 250, 250, 0.8);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#loadingOverlay .loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0021A5;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

#loadingOverlay p {
    margin-top: 20px;
    font-size: 1.2em;
    color: #0021A5;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    .flex-inputs {
        flex-direction: column;
    }

    .input-half,
    .input-third,
    .input-quarter {
        width: 100%;
    }

    header .logo {
        height: 50px;
    }

    h1.title {
        font-size: 1.5em;
    }
}