@import url('https://fonts.googleapis.com/css2?family=Aladin&family=Grenze+Gotisch:wght@900&family=Jolly+Lodger&family=New+Rocker&display=swap'); * { margin: 0; padding: 0; } /* Global styling */ body { margin: 0; padding: 0; font-family: 'New Rocker', cursive; background-color: black; color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; overflow: hidden; animation: backgroundMove 5s ease-in-out infinite; } /* Background animation */ @keyframes backgroundMove { 0% { background-color: black; } 50% { background-color: #222; } 100% { background-color: black; } } /* Clock and greetings styling */ .time-container { text-align: center; font-family: 'Grenze Gotisch', cursive; font-size: 30px; margin-bottom: 20px; margin-top: -40px; } #jam, #menit, #detik { font-size: 50px; font-family: 'Courier New', monospace; color: #fff; } #locale { color: red; font-size: 50px; } /* Image and overlay container */ .container { position: relative; display: flex; justify-content: center; align-items: center; flex-direction: column; } /* Image styling */ .image { width: 100%; max-width: 500px; border-radius: 10px; box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); } /* Overlay text styling */ .overlay-text { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); font-family: 'Courier New', monospace; font-size: 1.6em; line-height: 1.6; color: white; animation: fadeIn 3s ease-in-out infinite; } .label { display: inline-block; width: 300px; text-align: left; } /* RGB color animation */ .rgb-text { animation: rgbAnimation 6s infinite alternate; } @keyframes rgbAnimation { 0% { color: rgb(255, 0, 0); } 100% { color: rgb(255, 0, 255); } } /* Blinking cursor */ .cursor { border-right: 2px solid; animation: blink 0.75s step-end infinite; } @keyframes blink { 50% { border-color: transparent; } } /* Button styling with customizable size and position */ .link-button { margin-top: -33px; /* Adjust for vertical positioning */ padding: 3px 8px; /* Adjust for button size */ font-size: 1.2em; color: white; background-color: green; border: none; border-radius: 10px; cursor: pointer; text-decoration: none; font-family: 'Courier New', monospace; } .link-button:hover { background-color: #228b22; }