body { display: flex; flex-direction: column; /* justify-content: center; */ align-items: center; background-color: rgb(24, 24, 24); position: absoulute; height: 100vh; } #main-content { position: absolute; width: 100%; height: 100%; display: none; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 2s ease; } #loading-screen { position: absolute; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; transition: opacity 1s ease; } .logo { color: #fff; width: 20%; height: 20%; animation: rotate360 10s linear infinite; } .loading { font-family: Helvetica; font-size: 10pt; margin: 20px; } .event-icon { width: 1vw; min-width: 10px; } .sheet-music-window { position: relative; width: 80vw; max-width: 700px; height: 70%; margin: 0; background-color: rgb(24,24,24); margin-bottom: 100px; /* overflow: hidden; */ } .title{ position: relative; align-content: center; max-width: 500px; width: auto; height: 15%; color: white; background-color: rgb(24,24,24); /* height: 20vh; */ font-family: Helvetica; font-size: 10pt; } .stave-wrapper { position: relative; background-color: rgb(24,24,24); border: 1px solid rgb(24,24,24); padding-top: 30px; padding-bottom: 20px; } .time-indicator { top: 0; left: 0; position: absolute; width: 2px; /* Adjust width of SVG as needed */ height: 100%; /* Adjust height of SVG as needed */ animation: moveRight 10s linear infinite; z-index: 2; /* Ensure it is above other elements */ } .fade-in { opacity: 1; } .fade-out { opacity: 0; transition: opacity 1s ease; } @keyframes rotate360 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes moveRight { 0% { left: 0; opacity: 1; } 95% { /* left: 95%; Move to the right edge minus any margins */ opacity: 1; } 100% { left: 100%; opacity: 0; } }