/* 4. styles.css */ body, html { margin: 0; padding: 0; font-family: Arial, sans-serif; height: 100%; width: 100%; height: 100%; font-family: Arial, sans-serif; background: #ff0000; display: flex; justify-content: center; align-items: center; color: white; } /* Gaya untuk kontainer utama */ #container { position: relative; width: 100%; height: 100%; overflow: hidden; } /* Gaya untuk lingkaran */ .circle { position: absolute; top: 25%; left: 30%; transform: translate(-50%, -50%); border-radius: 50%; opacity: 0.8; animation: grow-shrink 3s infinite alternate; } .circle1 { background: #ff0000; width: 250px; height: 250px; z-index: 5; } .circle2 { background: #ef0000; width: 450px; height: 450px; z-index: 4; } .circle3 { background: #ff0000; width: 650px; height: 650px; z-index: 3; } .circle4 { background: #ef0000; width: 850px; height: 850px; z-index: 2; } .circle5 { background: #ff0000; width: 1090px; height: 1090px; z-index: 1; } .circle6 { background: #ef0000; width: 1610px; height: 1610px; z-index: 0; } /* Animasi lingkaran membesar */ @keyframes grow-shrink { 0% { transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(1.5); } }