/* Disable text selection */ -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background-color: #222; /* Dark background */ color: white; /* Default text color */ font-family: Arial, sans-serif; /* Specify a fallback font */ } .container-fluid { position: fixed; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: none; /* Remove background */ border: none; /* Remove border */ } #title { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); color: red; font-size: 36px; z-index: 10; /* Ensure it is above other content */ } #puzzled-cubes-container { width: 80%; height: 80%; max-width: 100%; /* Adjust maximum width */ max-height: 100%; /* Adjust maximum height */ background-color: transparent; /* Transparent background */ color: red; /* Red text color */ z-index: 5; /* Ensure it is above other content */ overflow: hidden; /* Ensure nothing protrudes */ display: flex; flex-direction: column; align-items: center; justify-content: center; } #puzzled-cubes { width: 100%; height: 100%; background-color: transparent; /* Transparent background */ position: relative; display: flex; flex-direction: column; /* Adjusted to stack buttons vertically */ align-items: center; justify-content: center; } .modal-content { background-color: transparent; /* Transparent background */ color: white; border: none; } .modal-header, .modal-footer { border: none; } .modal-title { color: red; } .modal-body { text-align: center; } .rolling-credits { overflow: hidden; max-height: 250px; /* Set the max height for the rolling credits area */ padding: 10px; } .rolling-credits p { margin: 0; line-height: 40px; /* Adjust line height for scrolling */ animation: credits-scroll 17s linear infinite; opacity: 1; /* Start with full opacity */ } .modal-header .close { color: white; font-size: 24px; font-weight: bold; opacity: 1; position: absolute; right: 10px; top: 10px; cursor: pointer; } .modal-header .close:hover { color: red; } @keyframes credits-scroll { 0% { transform: translateY(100%); opacity: 1; } 90%, 100% { transform: translateY(-100%); opacity: 0; } } .disabled-close { color: darkgrey; pointer-events: none; /* Disable click events */ } #page-transition { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: black; z-index: 9999; transition: opacity 1s ease-out; pointer-events: none; }