body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;

    font-family: Perpetua, Baskerville, Big Caslon, Palatino Linotype, Palatino, URW Palladio L, Nimbus Roman No9 L, serif;
	color: rosybrown;
	background-color: honeydew;
}

h1 {
	margin: 40px;
	color: #ef391b;
}

.clock-container {
	position: relative;
    width: 800px;
    height: 400px;
    margin-bottom: 30px;
}

.clock-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.hour-hand {
	height: 120px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform-origin: center bottom;
	transform: translate(-50%, -100%) rotate(0deg);
	transition: transform 0.5s ease;
}

.min-hand {
	height: 120px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform-origin: center bottom;
	transform: translate(-50%, -100%) rotate(0deg);
	transition: transform 0.5s ease;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.button-group {
    display: flex;
    gap: 16px; /* 버튼 사이 간격 */
}

.time-inputs {
	display: flex;
	gap: 20px;
	align-items: center;
}

.time-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

label {
	font-weight: bold;
	color: rosybrown;
}

input[type="time"] {
	padding: 8px;
	border: 2px solid rosybrown;
 	border-radius: 8px;
	font-size: 16px;
	font-family: arial;
	color: #333;
}

input[type="time"]:focus {
    outline: none;                              /* 기본 파란 테두리 제거 */
    border-color: #ef391b;                      /* 빨간색 테두리 */
    box-shadow: 0 0 0 2px rgba(239, 57, 27, 0.2); /* 빨간색 그림자 */
}

input[type="time"]:hover {
    border-color: #ef391b;                      /* 호버 시에도 빨간색 */
}

button {
    width: 80px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    background: #ef391b;
    color: #fcfced;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #bf3c2b;
}

button:disabled {
    background: rosybrown;
    cursor: not-allowed;
}

.current-time {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #c7b299;
    font-family: monospace;
}
.status {
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    font-family: monospace;
    min-height: 20px;
}

.status.running {
    background: #d4edda;
    color: #1d6d56;
    border: 1px solid #c3e6cb;
}

.status.completed {
    background: #ef391b;
    color: #fcfced;
    border: 1px solid #f5c6cb;
    font-size: 20px
}

