/* * Prefixed by: * PostCSS: v7.0.29, * Autoprefixer: v9.7.6 * Browsers: last 4 version */ @font-face { font-family: "Clockopia"; src: url("../fonts/Clockopia.ttf") format("truetype"); } @font-face { font-family: "LuxiSans"; src: url("../fonts/luxisr.ttf") format("truetype"); } body { margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; background-color: #0e0016; color: white; font-family: "system-ui", sans-serif; overflow-x: hidden; } /* === NAVBAR ON THE RIGHT === */ .navbar { width: 140px; background: rgba(60, 26, 77, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-left: 1px solid rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding-top: 2rem; padding-bottom: 2rem; position: fixed; right: 0; top: 0; bottom: 0; z-index: 20; box-shadow: -2px 0 10px rgba(0, 0, 0, 0.4); } .navbar ul { list-style: none; margin: 0; padding: 0; width: 100%; } .navbar li { width: 100%; position: relative; } .navbar a { display: block; color: white; text-decoration: none; text-align: center; padding: 0.75rem 0; position: relative; transition: background 0.2s ease, color 0.2s ease; } .navbar a::before, .navbar a::after { content: ""; display: block; position: absolute; left: 0; width: 100%; height: 1px; background-color: rgba(255, 255, 255, 0.25); transition: background-color 0.2s ease; } .navbar a::before { top: 0; } .navbar a::after { bottom: 0; } .navbar a:hover { background-color: #5e2b7a; color: #fff5a8; } .navbar a:hover::before, .navbar a:hover::after { background-color: #fff5a8; } .navbar-top-icons { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 16px; margin-bottom: 1.5rem; } .icon-item { display: flex; flex-direction: column; align-items: center; text-align: center; } .icon-item img { width: 32px; height: 32px; object-fit: contain; transition: transform 0.2s ease, opacity 0.2s ease; } .icon-item img:hover { transform: scale(1.1); opacity: 0.85; } .icon-label { font-family: "Clockopia", sans-serif; font-size: 0.8rem; margin-top: 4px; } .tor-label { color: #6e2b9e; } .ygg-label { color: #92ffb3; } .footer { position: relative; width: 100%; padding: 1rem 0; text-align: center; font-family: IBMWeb, "Liberation Mono", monospace; color: #fff; background: transparent; margin-top: auto; z-index: 10; } /* === LINKS === */ a { text-decoration: none; color: #447fc6; } ::-moz-selection { color: #000000; background: #a57ae9; } ::selection { color: #000000; background: #a57ae9; } a::-moz-selection { color: #000; background: #447fc6; } a::selection { color: #000; background: #447fc6; } a:not(:has(img)):hover { text-decoration: underline; } /* === MAIN CONTENT === */ .content { display: flex; align-items: center; justify-content: center; flex: 1; padding: 4rem 10%; gap: 5%; z-index: 10; position: relative; box-sizing: border-box; flex-wrap: wrap; } .left { flex: 1; display: flex; justify-content: center; align-items: center; } .uzi { width: 90%; max-width: 650px; height: auto; pointer-events: none; } .middle { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: left; z-index: 10; } .middle h1 { font-family: "Clockopia", sans-serif; font-size: 3.5rem; margin-bottom: 1rem; color: #fff5a8; } .middle p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1rem; max-width: 550px; } .buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.5rem; } .buttons img { width: 88px; height: 31px; border: none; image-rendering: -webkit-optimize-contrast; image-rendering: -moz-crisp-edges; image-rendering: -o-pixelated; image-rendering: pixelated; } /* === BACKGROUND CANVAS === */ #night { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #0e0016; z-index: -9999; pointer-events: none; } .clouds { position: fixed; bottom: 0; left: 0; width: 100%; height: auto; z-index: -5; pointer-events: none; } .clouds img { width: 100%; height: auto; display: block; opacity: 0.5; filter: blur(1px); } /* === PROJECT PAGE === */ .project-page { display: flex; flex-direction: column; align-items: center; text-align: left; padding: 5rem 2rem 8rem 2rem; color: #fff; flex: 1; } .project-page h1, .project-page h2, .project-page h3 { font-family: "Clockopia", sans-serif; color: #fff5a8; margin-bottom: 1rem; } .project-page a { color: #fff5a8; text-decoration: none; } .project-page a:hover { text-decoration: underline; } .project-page ul { list-style: disc; margin-left: 2rem; margin-bottom: 1.5rem; color: #ccc; line-height: 1.7; } .project-page p { max-width: 700px; line-height: 1.8; margin-bottom: 1rem; } /* === RESPONSIVE FIXES === */ @media (max-width: 900px) { body { flex-direction: column; } .navbar { position: relative; width: 100%; height: auto; flex-direction: row; justify-content: center; padding: 0.5rem 0; } .navbar ul { display: flex; gap: 1rem; } .content { flex-direction: column; padding: 2rem; text-align: center; } .middle { text-align: center; align-items: center; } .uzi { width: 70%; margin-bottom: 2rem; } .footer { padding-bottom: 2rem; } .navbar-top-icons { margin-bottom: 0.5rem; } .navbar-top-icons img { width: 22px; height: 22px; } .navbar-top-icons { gap: 10px; margin-bottom: 0.5rem; } .icon-item img { width: 24px; height: 24px; } .icon-label { font-size: 0.7rem; } }