/* Animasi untuk elemen typewriter */ .typewriter h1 { color: #fff; overflow: hidden; white-space: nowrap; margin: 0 auto; animation: typing 4.5s steps(30, end), vanish 1s 4.5s forwards; } /* Animasi typing */ @keyframes typing { 0% { width: 0; } 100% { width: 100%; } } /* Font standar untuk body */ body { font-family: 'Roboto', sans-serif; } /* Text shadow untuk elemen tertentu */ #macauLabel, #macau, #angkaMain, #day, #shioImage, #cb, #cbLabel { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 15px rgba(255, 255, 255, 0.4); } /* H1 styling dengan bayangan sederhana */ h1 { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 3px rgba(255, 255, 255, 0.4); color: #fff; font-weight: bold; } /* Animasi blink */ h2 { animation: blink 1s infinite; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } /* Container styling */ #container { background-color: #fdf5e6; background-image: url('./images/paper.png'); /* Gambar disimpan lokal */ background-size: cover; border-radius: 10px; padding: 20px; overflow: visible; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); } /* Warna teks untuk elemen tertentu */ #macauLabel, #macau, #cbLabel, #cb { color: #000; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 15px rgba(255, 255, 255, 0.4); } /* Posisi elemen */ #container > * { position: relative; z-index: 1; } /* Responsif untuk perangkat kecil */ @media (max-width: 768px) { #container { padding: 10px; } #macau, #macauLabel, #cbLabel, #cb { font-size: 4vw; } .grid-responsive { grid-template-columns: repeat(auto-fit, minmax(30px, 1fr)); gap: 3px; } .grid-item.border-2 { font-size: 4.5vw; /* Kurangi ukuran */ } .flex-container { display: flex; justify-content: center; align-items: center; gap: 15px; /* Kurangi jarak */ } .flex-item { text-align: center; } #shioImage { width: 70px; /* Ukuran lebih kecil */ height: 70px; object-fit: cover; } #macau, #cb { font-size: 2.5rem; /* Kurangi ukuran */ } }