/* Basic Page Styling */


header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

main {
    margin-top: 60px;
}

#openModalBtn,#openModalBtn_1,#openModalBtn_2,#openModalBtn_3 {
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #ddd; /* Yellow accent */
    color: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#openModalBtn:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}
#openModalBtn_1:hover,#openModalBtn_3 {
    background-color: #28a745;
    transform: translateY(-2px);
}
#openModalBtn_2:hover   {
    background-color: #555;
    transform: translateY(-2px);
}

/* --- Modal Overlay --- */


/* --- Modal Content Box --- */
.modal-content {
    background-color: #ffffff;
    /*padding: 10px 20px;*/
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(253, 2, 2, 0.3);
    position: relative; /* Essential for positioning the close button */
    width: 150%; /* Responsive width */
    max-width: 500px; /* Max width for larger screens */
    animation: fadeInScale 0.3s ease-out; /* Animation when opening */
    color: #333; /* Darker text for modal content */
}

/* --- Close Button Styling --- */
.close-button {
    color: #aaa;
    position: absolute; /* Position relative to .modal-content */
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #555;
    text-decoration: none;
    outline: none; /* Remove outline on focus for aesthetics */
}

/* --- Modal Header --- */
.modal-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    font-size: 2em;
    color: #333;
}

.modal-header p {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
}

/* --- Form Styling --- */
.modal-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 0.95em;
}

.submit-btn {
    width: 100%;
    /*padding: 15px;*/
    background-color: #28a745; /* Green for submit */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* --- Modal Footer --- */
.modal-footer {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.9em;
    color: #666;
}

.modal-footer a {
    color: #2575fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-footer a:hover {
    text-decoration: underline;
    color: #1a5acb;
}




/* --- Animations --- */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- Responsive adjustments --- */
@media (max-width: 600px) {
    .modal-content {
        padding: 20px 25px;
        max-width: 95%; /* Adjust max-width for very small screens */
    }

/*        font-size: 1.8em;
    }*/

    #openModalBtn {
        font-size: 1em;
        padding: 12px 25px;
    }
    #openModalBtn2 {
        font-size: 1em;
        padding: 12px 25px;
    }
}