/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f2f5fa, #cddaf6);
    color: #333;
    margin: 0;
    padding: 0;
    /* height: 100vh; */
    overflow: auto;
}

body::-webkit-scrollbar {
  display: none;
}

header {
    text-align: center;
    padding: 20px;
    animation: fadeInDown 1s ease-in-out;
}

#message-board {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: zoomIn 1s ease-in-out;
}

footer {
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 返回顶部按钮样式 */
#backToTopBtn {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#backToTopBtn:hover {
    opacity: 1;
}

/* 返回主页按钮样式 */
#homeBtn {
    display: inline-block;
    /* 确保按钮不会独占一行 */
    margin-top: 10px;
    background-color: #555;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    opacity: 0.8;
    border-radius: 15px;
    transition: opacity 0.3s;
}

#homeBtn:hover {
    opacity: 1;
}