
/* RebeccaPurple Theme Style */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: white;
    color: #333;
    padding: 20px;
    line-height: 1.6;
}

a {
    color: #663399;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #7b5bbd;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

p {
    margin-bottom: 15px;
}

/* Header Styling */
header {
    background: #663399;
    padding: 60px;
    text-align: center;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    color: white;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
    color: #f8f8ff;
}

/* Section Styling */
section {
    background: #7b5bbd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-top: 6px solid #663399;
    text-align: center;
    color: white;
}

section:nth-child(even) {
    border-left-color: #9370db;
    background: #d8bfd8;
    color: #000;
}

section h2 {
    font-size: 1.8em;
}

/* Footer Styling */
footer {
    background: #663399;
    color: white;
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

footer a {
    color: #ffffff;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #d8bfd8;
    text-decoration: underline;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal h2 {
    color: #663399;
    margin-bottom: 20px;
}

.modal button {
    background: #7b5bbd;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

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

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    header, footer {
        padding: 40px;
    }
    section {
        padding: 20px;
    }
}
