/* init */ @font-face { font-family: "SputnicSans"; src: url('SputnicSans-2020.ttf'); } /* main body and colors */ :root { --sand1: hsla(59, 50%, 16%, 0.5); --sand2: hsla(59, 100%, 86%, 0.2); --sand3: hsla(59, 100%, 86%, 0.1); --dark-blue: hsl(211, 100%, 50%); --dark-blue-trans: hsla(211, 100%, 50%, 0.5); --light-blue: hsl(179, 100%, 40%); --light-blue-trans: hsla(179, 100%, 40%, 0.5); --textcolor: hsla(0, 0%, 0%); --visitedcolor: hsl(211, 100%, 50%); --linkcolor: hsl(215, 100%, 50%); --textshadow: hsl(211, 100%, 50%); } #beach { position: fixed; left: 0; top: 0; width: 100%; height: 100%; /* should be below everything else */ z-index: -1; background: linear-gradient(-45deg, var(--sand2), var(--sand3), var(--sand3)); } html { width: 100%; font: 1.6em "SputnicSans", sans-serif; color: var(--textcolor); background: linear-gradient(-45deg, var(--light-blue), var(--dark-blue)); background-size: 400% 400%; animation: gradient 10s ease infinite; height: 100vh; z-index: 2; } @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes move { from { background-position: 2px 19px; } to { background-position: 500px 19px; } } a { padding-bottom: 5px; background: url("wave.svg"); background-repeat: repeat-x; background-size: 20px 20px; animation: move 15s linear infinite; animation-play-state: paused; text-decoration: none; background-color: transparent; } a:hover { color: var(--textcolor); text-decoration-style: wavy; animation-play-state: running; text-shadow: 0 0 5px var(--textshadow); } a:visited { color: var(--vistedcolor); text-shadow: 0 0 5px var(--textshadow); } div.menu { text-align: center; } ul.menu { list-style-type: none; padding: 0; } ul.menu li { display: inline-block; margin: 0 1em; text-decoration: none; } div#copyright { text-align: center; font-size: 0.8em; } img#haha { width: 3%; height: 3%; } .content { margin-bottom: 1em; }