@font-face {
	font-family: 'Sangkuriang';
	src: url('font/Sangkuriang.woff2') format('woff2'), url('font/Sangkuriang.woff') format('woff'), url('font/Sangkuriang.ttf') format('truetype');
	font-weight: normal; font-style: normal;
}
@font-face {
	font-family: 'digital-7';
	src: url('font/digital-7.woff2') format('woff2'), url('font/digital-7.woff') format('woff'), url('font/digital-7.ttf') format('truetype');
	font-weight: normal; font-style: normal;
}
body {
    background-color: rgba(0, 0, 0, 0.9);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}
.container {
    text-align: center;
    background: linear-gradient(to bottom right, #EC4899, #F97316);
    padding: 20px 45px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	position: relative;
}
h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}
h2 {
	margin: auto;
	padding: 2px 8px 8px 8px;
}
.jam-analog {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
    overflow: hidden; 
	box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
}
.bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 1.5s ease-in-out;
}
.titik-tengah {
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.jarum {
    width: 50%;
    position: absolute;
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition: transform 0.05s cubic-bezier(0.1, 2.7, 0.58, 1);
    z-index: 9;
}
.jarum.jam {
    height: 6px;
    background-color: #333;
    width: 30%;
    left: 20%;
}
.jarum.menit {
    height: 4px;
    background-color: #333;
    width: 40%;
    left: 10%;
}
.jarum.detik {
    height: 2px;
    background-color: #e74c3c;
    width: 45%;
    left: 5%;
}
.jam-digital {
    margin-top: 30px;
    line-height: 1.1;
	text-align: center;
	font-family: 'digital-7', sans-serif;
}
#jam-digital-24 {
	font-size: 1.5em;
	font-weight: 600;
	color: wheat;
	display: block;
	margin-bottom: 5px;
	padding: 10px;
	background-color: #333;
	width: 100px;
	border-radius: 10px;
	margin-left: auto;
	margin-right: auto;
}
.jam-digital div {
	font-size: 2em;
	font-weight: bold;
	border: 6px solid;
	border-radius: 12px;
	padding: 8px;
	width: 150px;
	margin-left: auto;
	margin-right: auto;
}
#jam-digital-ampm {
    font-size: 0.5em;
    vertical-align: middle;
}
.wanci-sunda {
    margin-top: 15px;
	background-color: #222;
	margin-bottom: 25px;
	border-radius: 4px;
}
#wanci-sunda-teks {
    font-size: 2em;
    font-weight: normal;
    color: #fff;
    text-transform: capitalize;
	font-family: 'Sangkuriang', sans-serif;
}
.play-audio {
	position: absolute;
	left: 10px;
	top: 10px;
}
svg { opacity: 25%; cursor: pointer; }
svg:hover { opacity: 75%; }
#status span {
	font-family: 'Sangkuriang', sans-serif;
	opacity: 80%;
	font-size: x-large;
}
#status span:hover {
	opacity: 95%;
	cursor: default;
	}
canvas {
	display: block;
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: -1;
}
@media only screen and (max-width: 600px) { .container { padding: 20px 25px; } body { height: auto; } }
@media only screen and (max-width: 350px) { .container { padding: 20px 15px; } }
@media only screen and (max-width: 250px) { .container { padding: 20px 0px; } }