
/* style/main.css - Responsive, modern, clean styling for seminar webpage */

body {
    margin: 0;
    padding: 0;
    background: #f4f5f7;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    /* padding-bottom: 70px; Prevent content from being hidden behind footer */
}

.attribution {
    font-size: small;
    font-style: italic;
}

.main-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 32px 24px;
    overflow: hidden;
}

h1, h2, h3 {
    color: #222;
    margin-top: 0;
}

p {
    color: #444;
    line-height: 1.7;
}

p>a {
    color: #222222;
    font-weight: bold;
    text-decoration: none;
}

p>a:hover {
    text-decoration: underline;
}

.footer {
    /* width: 100%; */
        width: 100vw;
        left: 50%;
        right: auto;
        margin: 0;
        transform: translateX(-50%);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 6px 0 2px 0;
    position: relative;
    margin-top: 40px;
    font-size: 0.92rem;
    color: #555;
    z-index: 1;
}

.footer-logo {
    height: 50px;
    vertical-align: middle;
    opacity: 0.7;
    margin: 0 4px;
}

.project-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.project-card-container {
    flex: 1 1 260px;
    min-width: 320px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.project-card {
    background: #fafbfc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    transition: box-shadow 0.2s;
}

.project-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.course-code {
    font-size: 0.8rem;
    color: #5f5f5f;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-desc {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2a2a2a;
}

.course-dates {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.project-title {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.teacher-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: #555;
    background: #e8eef7;
    padding: 4px 10px;
    border-radius: 16px;
    margin-top: auto;
    margin-bottom: 0.5em;
}

.course-button {
    display: inline-block;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #0066cc;
    border-radius: 3px;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
}

.course-button:hover {
    background: #0066cc;
    color: #fff;
}

.headerimage {
    max-width: 120%;
    /* margin-left: auto;
    margin-right: auto;
    height: auto;
    margin-bottom: 24px; */
    display: block;
    margin-left: -50px;
    margin-right: 0;
    /* max-width: 100%; */
    height: auto;

}

.contact-info {
    margin-top: 24px;
    padding-left: 15px;
    background: #f9f9f9;
    border-left: 4px solid #8a8a8a;

}

.contact-info p {
    margin: 0px 0;
}

.contact-info a {
    text-decoration: none;
    font-weight: 600;
    color: #222;
}

@media (max-width: 600px) {
    .main-container {
        padding: 16px 6px;
    }
    .project-overview {
        flex-direction: column;
        gap: 16px;
    }
    .project-card-container {
        min-width: 0;
        max-width: 100%;
    }
    .project-card {
        padding: 14px 8px;
    }
}
