/* タイトル(h1)のスタイル */
h1 {
font-family: 'Arial', sans-serif; /* フォントを指定 */
color: #2E3B4E; /* 文字の色を濃い青に変更 */
font-size: 3em; /* フォントサイズを大きく */
margin-top: 20px;
padding: 10px;
background-color: transparent; /* 背景色は透明に */
font-weight: bold;
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}
/* タイマーのスタイル */
#timer {
font-size: 2em;
color: #FF5722;
font-weight: bold;
}
/* ボタンエリアのスタイル */
#controls {
margin-top: 20px;
}
/* ボタンの基本スタイル */
button {
padding: 15px 30px;
font-size: 1.2em;
color: white;
background-color: #007BFF;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 0 10px;
transition: background-color 0.3s ease;
}
/* ボタンホバー時のスタイル */
button:hover {
background-color: #0056b3;
}
/* ボタンが無効(disabled)の場合のスタイル */
#startBtn:disabled, #stopBtn:disabled {
background-color: #ccc;
cursor: not-allowed;
}
/* フッターのスタイル */
footer {
font-size: 1em;
color: #777;
margin-top: 40px;
}