body {
    font-family: Dancing Script !important;
    padding-top: 100px; /* or whatever height your header/nav is */
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color:white;
}

h1, h2, h3, h4, h5 {
    font-family: Dancing Script !important;
}
.fade-in-image { animation: fadeIn 7s; }

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.form-horizontal{
    display:block;
    width:50%;
    margin:0 auto;
}

.popup button { margin-top: 10px; }


/* Overlay background */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

/* Popup modal */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    max-width:600px;
    height: 650px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1050;
    text-align: center;
}

/* Close button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

.modal-close:hover {
    color: red;
}

/* Form styling */
.modal h3 {
    margin-bottom: 15px;
}

.modal input, .modal textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal button {
    margin-top: 10px;
    padding: 8px 15px;/*background: #28a745;
    color: white;*/
    
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.modal button:hover {
    background: #a530e3;
}

/* Initially hide the overlay */
/* Hidden by default */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* Show overlay when .show class is added */
.loading-overlay.show {
    display: flex;
}

/* Spinner styling */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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