/* body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
    font-family: 'Arial', sans-serif;
}

.timer-container {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px;
} */
/* bodyのflexを解除し、背景色などの基本設定のみにする */
body {
    background-color: #f0f2f5;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* タイマーの外枠で中央寄せを制御する */
.timer-container {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px;
    
    /* 中央に配置するための設定 */
    margin: 50px auto; /* 上下に余白を作り、左右中央に */
}

#display {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.settings, .controls {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    transition: background 0.2s;
}

button:hover {
    background-color: #0056b3;
}

button#reset {
    background-color: #dc3545;
}

button#reset:hover {
    background-color: #a71d2a;
}