@keyframes fadeInDownward { 0% { opacity: 0; transform: translateY(-30px); } 100% { opacity: 1; transform: translateY(0); } } @font-face { font-family: "HK Grotesk"; src: url("/static/HKGroteskWide-SemiBold.otf"); } html { height: 100%; background: linear-gradient(#650b0b, #ab1616); } h1 { display: none; } main { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } main * { animation-name: fadeInDownward; animation-duration: 1s; } body { font-family: "HK Grotesk"; font-size: 1.5em; text-transform: uppercase; text-align: center; color: white; } #logo { width: 25em; margin-bottom: 2.5em; } /* if viewport is iphone sized */ @media screen and (max-width: 375px) { #logo { max-width: 75%; min-width: 10em; } } a { color: white; text-decoration: none; border-bottom: 2px solid white; } /* make #ui a rounded black rectangle with lots of padding */ #ui { display: inline-block; padding: 1em 2em; background: black; border-radius: 1em; } .text { display: block; font-family: monospace; color: white; background: black; border: 2px dashed white; padding: 0.5em 1em; margin: 1em 0; } /* make .button a black button with thick white outline that uses the same font as the rest of the website */ .button { font-family: "HK Grotesk"; text-transform: uppercase; text-align: center; color: black; background: white; border: none; padding: 0.5em 1em; /* make the button a rounded rectangle */ border-radius: 1em; } /* make textarea a reasonable size by default */ textarea { width: 20em; height: 10em; } /* make text input a reasonable size by default */ input[type=text] { width: 20em; } .url { font-family: monospace !important; color: white !important; display: block; /* make normal case */ text-transform: none !important; margin-bottom: 1em; } .domain { color: lightgray !important; } #indexbuttonrow { display: flex; justify-content: center; margin-top: 1em; } #indexbuttonrow a { font-size: 0.8em; color: white; background: black; border: none; padding: 0.5em 1em; border-radius: 1em; margin: 0 0.5em; /* make the buttons the same size */ min-width: 5em; } /* make the buttons look like they're being pressed when clicked */ #indexbuttonrow a:hover { transform: translateY(-2px); box-shadow: 0 4px 0 0 rgb(60, 0, 0); } #indexbuttonrow a:active { transform: none; box-shadow: none; } .button:hover { transform: translateY(-2px); box-shadow: 0 4px 0 0 rgb(183, 183, 183); } .button:active { transform: none; box-shadow: none; }