/* styles.css */
/* Font Face Declarations */
@font-face {
    font-family: 'Gentona';
    src: url('fonts/Gentona-Book.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gentona';
    src: url('fonts/Gentona-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gentona';
    src: url('fonts/Gentona-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gentona';
    src: url('fonts/Gentona-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gentona';
    src: url('fonts/Gentona-Medium.woff2') format('woff2');
    font-weight: 500;
    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;
}

.banner-image {
    height: auto;
    max-height: 150px;
    width: auto;
    max-width: 100%;
}

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

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

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;
    font-weight: bold;
}

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

/* Accordion Styles */
.accordion {
    background-color: #0021A5; /* UF Blue */
    color: #FFF;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-family: 'Gentona', Arial, sans-serif;
    font-weight: bold;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion:hover, .accordion.active {
    background-color: #0039D9;
}

.accordion.active::after {
    content: "▲"; /* Arrow up icon */
}

.accordion::after {
    content: "▼"; /* Arrow down icon */
    font-size: 1em;
    padding-left: 10px;
}

.accordion-content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
}

/* Centering the iframe */
.iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* Add some margin for spacing */
}

/* Blinking Lightbulb CSS */
.blinking-lightbulb {
    animation: blinking 1s infinite;
}

@keyframes blinking {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Crying Emoji CSS */
.crying-emoji {
    position: relative;
    display: inline-block;
}

.crying-emoji .tear {
    position: absolute;
    top: 0;
    right: -10px;
    animation: tear-drop 1.5s infinite;
}

@keyframes tear-drop {
    0% { transform: translateY(0); opacity: 0; }
    25% { opacity: 1; }
    50% { transform: translateY(10px); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Accordion Link Button */
.accordion .accordion-link {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: #0021A5; /* UF Blue */
    color: #FFF;
    text-align: left;
    text-decoration: none;
    font-family: 'Gentona', Arial, sans-serif;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.4s;
    cursor: pointer;
}

.accordion .accordion-link:hover {
    background-color: #0039D9; /* Darker blue on hover */
}

/* 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;
    }
}
