#page-header {
    background-color: #007abc;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.header-content {
    display: flex;
    align-items: center;
}

.site-name {
    margin-right: 20px;
    font-size: 28px;

}
h1 {
    font-size: 32px; /* 可根据需要调整这个值 */
}
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}
#container {
    margin-top: 180px;
}
#countdown {
    font-size: 180px;
    font-family: 'Digital-7', monospace;
    color: #555;
    margin-bottom: 20px;
}
.button {
    font-size: 20px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    color: white;
    outline: none;
    margin: 5px; /* 添加上下左右的间距 */
}
.settings-button { background-color: #0090dd; }
.reset-button { background-color: #fbad10; }
.start-button { background-color: #4aae71; }
.pause-button { background-color: #EF6262; }
#settingsModal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    z-index: 2;
    width: 400px;
}
#settingsModalClose {
    position: absolute;
    top: 4px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}
#confirmButton {
    margin-top: 20px;
    background-color: #4aae71;
}
#overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.settings-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px; 
 }

.settings-label {
    white-space: nowrap;
}
select {
    width: 100%; /* 下拉框宽度充满父容器 */
    height: 30px; /* 指定下拉框的高度 */
    font-size: 14px; /* 设置下拉框中的字体大小 */
}
select, #previewLink {
    font-size: 14px;
    padding: 5px;
    margin: 0;
}
#page-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #007abc;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;

}
#page-footer a {
    color: white;
    text-decoration: none; 
    margin: 6px; 
}

@media only screen and (max-width: 800px) {
    body {
        font-size: 18px;
    }
    h1 {
        font-size: 20px; /* 小屏幕设备上的字体大小 */
    }
    .site-name {
    margin-right: 20px;
    font-size: 20px;
    }
    #container {
        margin-top: 180px;
    }
    #countdown {
        font-size: 60px;
    }
    .button {
        font-size: 18px; /* 或者根据需要调整字体大小 */
        padding: 15px 30px; /* 根据需要调整内填充来适应按钮文本 */
        margin: 10px 5px; /* 增加按钮之间的垂直间距 */
    }
    #settingsModal {
        width: 90%;
        padding: 10px;
        font-size: 16px;
    }
    .settings-row {
        flex-direction: column;
        gap: 5px;
    }
    select {
        font-size: 16px;
        width: 100%;
    }
    #confirmButton {
        width: 100%;
    }
}
