/* Existing styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f0f8ff, #e6f7ff);
    text-align: center;
}

header {
    background: #003366;
    color: white;
    padding: 20px 0;
    margin-top: 0;
}

h1 { color: black; }
h2 { color: DarkMagenta; }
h3 { color: FireBrick; }

main { padding: 20px; }

footer {
    background: #003366;
    color: white;
    padding: 20px 0;
    width: 100%;
}

/* Audio app additions */
#filename {
    margin-top: 10px;
    font-weight: bold;
    color: #003366;
}

.audio-controls {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.playlist {
    max-width: 600px;
    margin: 20px auto;
    padding: 0;
    list-style: none;
}

.playlist-item {
    background: #f8f9fa;
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.playlist-item:hover { background: #e9ecef; }
.playlist-item.active { background: #003366; color: white; }

.time-display {
    font-size: 0.9em;
    color: #666;
}

.custom-file-upload {
    border: 2px solid #003366;
    color: #003366;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    margin: 10px;
}

button {
    background: #003366;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover { opacity: 0.9; }

/* CSS for Nav bar */
ul.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}

li.nav {
    float: left;
    border-right: 1px solid #bbb;
}

li.nav a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    }

li.nav a:hover:not(.active) {
    background-color: #1a18eb;
}

/* CSS for Usa T */
.test-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
}

.test-section h2 {
    color: #003366;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.link-group {
    text-align: center;
}

.link-group h3 {
    margin-bottom: 15px;
    color: DarkMagenta;
}

.button {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 4px;
    text-decoration: none;
}

.button:hover {
    opacity: 0.9;
}

.reflection-box {
    width: 100%;
    height: 200px;
    padding: 15px;
    border: 2px solid #003366;
    border-radius: 4px;
    resize: vertical;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
}