/* 全体の基本的なスタイル */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #2c3e50;
    color: #ffffff;
    transition: background-color 0.5s ease;
}

/* タイマーを囲む箱のデザイン */
.container {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 300px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: normal;
}

/* 時間表示部分 */
#time-display {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* ボタンのデザイン */
.controls button {
    background-color: #ffffff;
    color: #333333;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.1s;
}

.controls button:active {
    transform: scale(0.95); /* 押したときに少し凹むアニメーション */
}

/* 設定エリアのデザイン */
.settings {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.setting-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.setting-item input {
    margin-top: 5px;
    width: 60px;
    padding: 5px;
    text-align: center;
    border: none;
    border-radius: 3px;
    font-size: 16px;
}

/* 休憩中の背景色クラス（JavaScriptで付け外しします） */
body.break-mode {
    background-color: #27ae60; /* 休憩用背景色（グリーン） */
}