/* Root Variables */ :root { --bg-color: rgb(15, 15, 15); --primary: rgb(240, 240, 240); --secondary-color: hsl(210, 80%, 80%); --secondary-color2: hsl(210, 60%, 40%); --secondary-color-bg: hsl(210, 40%, 5%); --font-weight: 350; --font-family: "Lucida Console"; --bigger-font-weight: 700; --link-border-radius: 1000px; --page-max-width: 700px; } /* General Styles */ body { background-color: var(--secondary-color-bg); color: var(--primary); /*color: var(--primary);*/ font-family: var(--font-family), monospace; font-weight: var(--font-weight); overflow-x: hidden; margin: 0; position: relative; height: 100%; } h1, p { margin: 0; } main { position: relative; z-index: 1; max-width: var(--page-max-width); margin: 0 auto; padding: 20px; filter: drop-shadow(0 0 2px var(--secondary-color)) brightness(1); } ::selection { color: var(--bg-color); background: var(--secondary-color); } /* Header Styles */ header { text-align: center; width: max-content; margin: 0 auto; } header .names { width: min-content; white-space: nowrap; } header h1, header p { text-align: left; color: var(--secondary-color); } header img { border-radius: 50%; max-width: 300px; padding: 0; } /* Links Styles */ h2 { width: 100%; margin: 0; @media only screen and (max-width: 480px) { text-align: center; /* slim */ margin: 10px auto; } @media only screen and (min-width: 480px) { text-align: left; /* wide */ margin: 0; } } .text-link { color: var(--secondary-color); text-decoration: underline solid var(--secondary-color2) 1px; position: relative; padding: 0 2px; } .text-link:hover { text-decoration: underline solid var(--secondary-color) 1px; filter: drop-shadow(0 0 5px var(--secondary-color2)) brightness(1.02); top: -2px; } /* Links Container */ .links { padding: 10px; } /* Link Group */ .linkGroup { margin: auto; @media only screen and (min-width: 480px) { display: flex; flex-wrap: wrap; /* wide */ } } /* Link Styles */ .link { height: fit-content; position: relative; transition: top 100ms ease, filter 100ms ease; /* Added filter transition */ @media only screen and (max-width: 480px) { margin: 10px 5%; /* slim */ } @media only screen and (min-width: 480px) { padding: 5px; /* wide */ } } /* Button Styles */ .linkButton { font-weight: var(--bigger-font-weight); font-size: 25px; line-height: 25px; text-align: center; text-decoration: none; text-transform: lowercase; color: var(--bg-color); background-color: var(--secondary-color); display: block; box-sizing: border-box; padding: 10px 20px; border-radius: var(--link-border-radius); width: 100%; /* slim */ @media only screen and (min-width: 480px) { width: auto; /* wide */ } } .linkButton .icon { width: 25px; height: 25px; padding-right: 10px; padding-bottom: 2px; vertical-align: middle; } /* Default Hover Effect */ .hoverHighlight:hover { @media only screen and (min-width: 480px) { filter: drop-shadow(0 0 8px var(--secondary-color)) brightness(1.1); top: -2px; } } .links:hover .hoverHighlight:not(:hover) { @media only screen and (min-width: 480px) { filter: brightness(0.5); } } /* Search Highlighting */ .highlightSearch { filter: drop-shadow(0 0 8px var(--secondary-color)) brightness(1.1); z-index: 1; @media only screen and (min-width: 480px) { top: -2px; } } .notHighlightSearch { filter: brightness(0.5); @media only screen and (max-width: 480px) { display: none; } } .linkButton:active { transform: scale(0.95); top: 2px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* Search Input Field Styles */ .fuzzysearch { margin: 0 auto; text-align: center; max-width: var(--page-max-width); } #link-search { background-color: var(--secondary-color2); color: var(--secondary-color); border: 2px solid var(--secondary-color2); border-radius: 50px; padding: 10px 15px; font-size: 16px; text-align: center; font-weight: var(--bigger-font-weight); width: 100%; max-width: 400px; /* Adjust width as needed */ /*box-shadow: 0 0 5px var(--secondary-color2);*/ transition: background-color 100ms ease, border-color 100ms ease, box-shadow 100ms ease; } #link-search::placeholder { color: var(--secondary-color); opacity: 0.9; /* Placeholder text opacity */ } #link-search:focus::placeholder { color: var(--secondary-color); opacity: 0.9; /* Placeholder text opacity */ } #link-search:focus { outline: none; background-color: var(--secondary-color-bg); box-shadow: 0 0 10px var(--secondary-color); border-color: var(--secondary-color2); color: var(--secondary-color); } @media only screen and (max-width: 480px) { #link-search { padding: 8px 12px; max-width: 90%; /* Responsive width for small screens */ } } @media only screen and (min-width: 480px) { #link-search { padding: 10px 15px; } } /* Timers Styles */ .timer p { @media only screen and (max-width: 480px) { margin-bottom: 20px; /* slim */ } } .timer p span { color: var(--secondary-color); text-decoration: none; } /* Footer Styles */ footer { text-align: center; }