* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

header p {
    opacity: 0.8;
    font-size: 1rem;
}

main {
    flex: 1;
    padding: 2rem;
}

.semester-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.semester-block {
    flex: 1;
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#semester1 {
    border-top: 5px solid #6a11cb;
}

#semester2 {
    border-top: 5px solid #2575fc;
}

.semester-block h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.6rem;
}

#semester1 h2 {
    color: #6a11cb;
}

#semester2 h2 {
    color: #2575fc;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.work-item {
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

#semester1 .work-item:hover {
    background-color: rgba(106, 17, 203, 0.08);
}

#semester2 .work-item:hover {
    background-color: rgba(37, 117, 252, 0.08);
}

.work-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 12px;
    color: white;
}

#semester1 .work-icon {
    background: linear-gradient(135deg, #6a11cb 0%, #8e54e9 100%);
}

#semester2 .work-icon {
    background: linear-gradient(135deg, #2575fc 0%, #4facfe 100%);
}

.work-title {
    font-weight: 500;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .semester-container {
        flex-direction: column;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
} 