body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.header {
    background-color: #2c3e50; 
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center; 
    position: relative;
}

.header-title {
    font-weight: bold;
    font-size: 22px;
}

.header-left {
    position: absolute;
    left: 20px;
    display: flex;
    gap: 10px;
}

.header a {
    color: white;
    text-decoration: none;
    padding: 0 12px;
    font-weight: bold;
    transition: color 0.2s;
}

.header a:hover {
    color: #f39c12;
}

.content {
    padding: 25px 40px;
}

.section-title {
    font-weight: bold;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.question {
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #34495e;
}


.answer {
    margin-left: 20px;
    margin-bottom: 15px;
}

.assignment-link a {
    font-size: 18px;
    font-weight: bold;
    color: #2980b9;
    text-decoration: none;
    transition: color 0.2s;
}

.assignment-link a:hover {
    color: #f39c12; 
}

#gif-overlay, #gif-overlay2 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#gif-overlay.show, #gif-overlay2.show {
    display: flex;
}

#gif-overlay img, #gif-overlay2 img {
    width: 50vw;
    height: auto;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}
