body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}
h1, h2, h3 {
    color: #1a5296;
    margin-bottom: 20px;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 10px;
}
h2 {
    font-size: 1.8em;
    margin-top: 30px;
    color: #2c3e50;
}
h3 {
    font-size: 1.3em;
    margin-top: 25px;
    color: #34495e;
}

.section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.section:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.contact-name {
    font-weight: bold;
    margin-right: 15px;
    color: #0078d7;
    font-size: 1.2em;
}
.group-mailbox {
    margin-bottom: 20px;
}
.mailbox-name {
    font-weight: bold;
    color: #0078d7;
    margin-right: 10px;
    font-size: 1.2em;
}

.assignment-group {
    margin-bottom: 30px;
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
}
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f0f0f0;
    font-weight: bold;
    color: #2c3e50;
}
tbody tr:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-name {
        margin-bottom: 10px;
    }
    table {
        display: block;
        overflow-x: auto;
    }
    th, td {
        display: block;
        width: auto;
        box-sizing: border-box;
    }
    tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
    thead {
        display: none;
    }
}

h2, h3 {
    position: relative;
    animation: slideIn 1s ease, fadeIn 1s ease;
}
@keyframes slideIn {
    from {
        left: -100%;
    }
    to {
        left: 0;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
