/* Styles for the body element */ :root{ --background: #08A8B0; --progress: #FFCA28; } body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: var(--background); } /* Styles for the progress bar container */ .progress-container { width: 300px; height: 8px; background-color: #fff; border-radius: 10px; overflow: hidden; transition: opacity 0.25s ease-out; } /* Styles for the progress bar */ .progress-bar { display: block; height: 100%; background-color: var(--progress); width: 0; transition: width 0.5s ease; } /* CSS for a fade-in animation */ .fade-in { opacity: 0; animation: fadeIn 1s ease-in-out forwards; } /* Keyframes for the fadeIn animation */ @keyframes fadeIn { 0% { opacity: 0; } 60% { opacity: 0; } 100% { opacity: 1; } }