/* Body */
body {
    background: #1e1e1f;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    min-height: 100vh;
    color: white;
    text-align: center;
}

/* Gradient animation keyframes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* All boxes with animated gradient */
.section-box,
.container,
.external-link-box {
    background: linear-gradient(
        135deg,
        #0b0c1a,   /* midnight */
        #1a1a2e,   /* mysterious depths */
        #3a1f4a,   /* dark purple */
        #1e1e1e,   /* glossy black */
        #131316    /* coalmine */
    ) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 18s ease infinite !important;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    padding: 20px;
    margin: 20px 0;
    color: white;
}

/* Headings inside boxes */
.section-box h2,
.container h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Paragraph spacing */
.section-box p,
.container p {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Buttons */
button {
    background: #3a1f4a; /* dark purple */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background: #5a3a7c; /* lighter purple */
}

/* Section box buttons */
.section-box button {
    margin: 5px;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(30, 30, 31, 0.85);
    border: none;
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
}

.dropdown option {
    color: black;
}

/* Transcript box */
#transcriptBox {
    margin-top: 15px;
}

/* External link box links */
.external-link-box a {
    display: inline-block;
    margin-top: 10px;
    background-color: #3a1f4a;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.external-link-box a:hover {
    background-color: #5a3a7c;
}
