:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #7209b7;
    --background-color: #f8f9fa;
    --text-color: #343a40;
    --link-color: #4361ee;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 1.5rem;
    text-align: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.author-info {
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
}

.author-info p {
    margin: 0;
    padding: 0;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.web-link {
    margin: 1.2rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.web-link a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.web-link a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.week-list {
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.week-item {
    margin-bottom: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.week-header {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: default;
}

.week-header::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block; 
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.assignment-link {
    display: block;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    margin: 0.5rem 0;
    color: var(--link-color);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.assignment-link:hover {
    background-color: rgba(67, 97, 238, 0.1);
    border-left: 3px solid var(--primary-color);
}

.assignment-link::before {
    content: "○";
    color: #6c757d;
    position: absolute;
    left: 1rem;
}

/* Add a "view" text and icon to make it clear these are clickable */
.assignment-link::after {
    content: "View →";
    font-size: 0.8rem;
    color: var(--primary-color);
    position: absolute;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.assignment-link:hover::after {
    opacity: 1;
}

footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.validators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.validator-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.validator-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .content {
        padding: 15px;
    }
}