body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #f2f2f2;
    padding: 20px;
    text-align: center;
}

main {
    display: flex;
    flex: 1;
    padding-bottom: 60px; /* 为固定底部留出空间 */
}

iframe {
    border: none;
    scrolling: no;  /* HTML属性 */
    overflow: hidden;  /* CSS属性 */
}

.sidebar {
    flex: 1;
    padding: 20px;
}

.calendar-section {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calendar-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.calendar-controls button,
.calendar-controls select {
    margin: 0 5px;
}

#calendar-container {
    width: 100%;
    max-width: 400px;
}

.fun-icons {
    margin-bottom: 20px;
}

.icon-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.icon-container i {
    color: #333;
    transition: color 0.3s ease;
}

.icon-container i:hover {
    color: #007bff;
}

footer {
    background-color: #f2f2f2;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.other-links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.other-links li {
    margin: 0 10px;
}

.other-links a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.other-links i {
    margin-right: 5px;
}

/* Calendar styles */
#calendar-container table {
    width: 100%;
    border-collapse: collapse;
}

#calendar-container th, #calendar-container td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#calendar-container th {
    background-color: #f2f2f2;
}
