body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #f5f5f5; /* 设置页面背景颜色 */
}

#title {
    cursor: pointer;
    font-size: 220%; /* 将标题字号放大160% */
}

#countdown {
    font-size: 200px;
    font-weight: bold;
    transition: color 0.5s;
    color: #364f6b; /* 设置倒计时颜色 */
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    0% {
        color: red;
    }
    50% {
        color: white;
    }
    100% {
        color: red;
    }
}

.input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.input-container input[type="number"] {
    width: 5%;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 30px; /* 加大按钮间距 */
    margin-top: 20px; /* 增加与上方元素的间距 */
    width: 100%;
}

.button-container button {
    font-size: 24px; /* 加大字体大小 */
    padding: 15px 30px; /* 加大按钮内边距 */
    border-radius: 10px;
    color: #f5f5f5; /* 设置按钮文本颜色 */
    font-weight: bold; /* 按钮文本加粗 */
    border: none; /* 去掉按钮边框 */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* 加上浅色阴影 */
    cursor: pointer; /* 鼠标移到按钮上变成小手 */
    transition: transform 0.2s; /* 添加过渡效果 */
}

.button-container button:hover {
    transform: scale(1.05); /* 鼠标悬停时按钮稍微放大 */
}

.button-container button:active {
    transform: scale(1.2); /* 点击时按钮放大 */
}

#start-btn {
    background-color: #11999e; /* 设置开始按钮颜色 */
}

#stop-btn {
    background-color: #fc5185; /* 设置结束按钮颜色 */
}

#pause-btn {
    background-color: #3fc1c9; /* 设置暂停按钮颜色 */
}

#reminder-message {
    margin-top: 10px;
    text-align: center;
}

#fullscreen-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 20px;
    border-radius: 10px;
    padding: 5px 10px;
    color: #f5f5f5;
    font-weight: bold;
    border: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #11999e;
    cursor: pointer;
}

/* 新增的闪烁动画类 */
.blink-background {
    animation: blink-background-color 0.5s linear infinite;
}

@keyframes blink-background-color {
    0% {
        background-color: #11999e; /* 开始按钮颜色 */
    }
    33% {
        background-color: #fc5185; /* 结束按钮颜色 */
    }
    66% {
        background-color: #3fc1c9; /* 暂停按钮颜色 */
    }
    100% {
        background-color: #11999e; /* 开始按钮颜色 */
    }
}