body { margin: 0; font-family: 'Play', sans-serif; background-color: #f0f0f0; color: #333; } .dark-mode { background-color: #121212; color: #e0e0e0; } .loader { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */ display: flex; justify-content: center; align-items: center; z-index: 9999; /* Ensure it covers everything */ transition: transform 0.5s ease; /* Smooth transition for leaving */ } .dark-mode .loader { background-color: rgba(18, 18, 18, 0.8); } .content { display: none; /* Hide content initially */ text-align: center; padding: 20px; } .dark-mode .loader img { content: url('./loading-dark.webp'); /* Replace with your dark mode GIF path */ } .nav-bar { background-color: #333; color: #fff; padding: 10px; display: flex; justify-content: space-between; align-items: center; } .dark-mode .nav-bar { background-color: #1e1e1e; } .nav-bar h1 { margin: 0; font-size: 24px; } .nav-elem { display: flex; align-items: center; } .nav-elem button { background: none; border: none; color: #fff; margin-left: 10px; cursor: pointer; font-size: 16px; font-weight: bold; text-transform: capitalize; } .nav-elem button a { color: #fff; text-decoration: none; } .side-bar-menu { display: none; position: fixed; top: 0; right: 0; width: 250px; height: 100%; background-color: #333; color: #fff; padding: 20px; box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); z-index: 10000; } .dark-mode .side-bar-menu { background-color: #1e1e1e; } .side-bar-link a { color: #fff; text-decoration: none; display: block; margin-bottom: 10px; } .side-bar-button { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; } .side-bar-close-button { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; position: absolute; top: 10px; right: 10px; } .non-sidebar-content { display: block; /* Ensure it is visible */ position: relative; /* Ensure it is not positioned relative to the sidebar */ margin: 0; /* Remove any margins */ z-index: 1; /* Ensure it is above the sidebar if overlapping occurs */ clear: both; /* Prevent floating elements from affecting it */ background-image: url('/image-robert-added/BackG.webp'); /* Set the image as the background */ background-size: cover; /* Ensure the image covers the entire area */ background-position: center; /* Center the image */ background-repeat: no-repeat; /* Prevent the image from repeating */ color: #fff; /* Adjust text color for better contrast */ height: 100vh; /* Extend the background to fill the viewport height */ padding: 0; /* Remove padding to eliminate the gray box */ background-color: transparent; /* Ensure no background color */ } .main-content { padding: 20px; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; } .version { position: fixed; bottom: 10px; right: 10px; background-color: #f1f1f1; padding: 5px 10px; border-radius: 5px; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); font-family: Arial, sans-serif; font-size: 14px; z-index: 10001; } .dark-mode .version { background-color: #333; color: #e0e0e0; } body, html { height: 100%; } @media only screen and (max-device-width: 1366px) { .parallax { background-attachment: scroll; } } :root { --background-color-dark: #0d0d0d; --text-color-dark: #00ffcc; --button-bg-dark: #1a1a1a; --button-hover-bg-dark: #00ffcc; --button-hover-text-dark: #0d0d0d; --background-color-light: #ffffff; --text-color-light: #000000; --button-bg-light: #f0f0f0; --button-hover-bg-light: #333333; --button-hover-text-light: #ffffff; } body { background-color: var(--background-color); color: var(--text-color); font-family: 'Orbitron', sans-serif; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; overflow: hidden; transition: background-color 0.3s, color 0.3s; } h1 { font-size: 3rem; text-transform: uppercase; animation: glow 1.5s infinite alternate; text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00; } @keyframes glow { from { text-shadow: 0 0 10px var(--text-color), 0 0 20px var(--text-color), 0 0 30px var(--text-color), 0 0 40px var(--text-color); } to { text-shadow: 0 0 20px var(--text-color), 0 0 30px var(--text-color), 0 0 40px var(--text-color), 0 0 50px var(--text-color); } } .button-container { display: flex; gap: 20px; margin-top: 20px; } .button { padding: 15px 30px; font-size: 1.2rem; font-family: 'Press Start 2P', cursive; color: var(--text-color); background-color: var(--button-bg); border: 2px solid var(--text-color); border-radius: 5px; cursor: pointer; text-transform: uppercase; transition: background-color 0.3s, color 0.3s, transform 0.2s; } .button:hover { background-color: var(--button-hover-bg); color: var(--button-hover-text); transform: scale(1.1); } .button:active { transform: scale(0.95); } .button img, .cal img { border-radius: 8px; } .cal { position: absolute; top: 10px; left: 10px; width: 50px; height: 50px; display: block; } .light-mode .cal img { filter: invert(1); }