@font-face { font-family: 'texgyreadventor-regular'; src: url("fonts/texgyreadventor-regular.otf") format("opentype"); } body { background: url("../resources/abstract.jpg"); background-size: 100% 100%; background-repeat: no-repeat; background-attachment: fixed; font-size: 14px; font-family: texgyreadventor-regular; position: static; } body #wrapper { width: 100%; height: 100%; } body #wrapper section nav { width: fit-content; margin: 0 0 0 350px; padding: 20px; } body #wrapper section nav ul { list-style: none; padding: 0; } body #wrapper section nav ul li { border-radius: 10px; border: 1px solid white; width: fit-content; padding: 10px; margin: 20px 0; -webkit-box-shadow: 3px 3px 17px -1px rgba(0, 0, 0, 0.75); -moz-box-shadow: 3px 3px 17px -1px rgba(0, 0, 0, 0.75); box-shadow: 3px 3px 17px -1px rgba(0, 0, 0, 0.75); } body #wrapper section nav ul li:hover { border: 3px solid white; -webkit-animation-name: shakeit; -webkit-animation-duration: 1s; -webkit-animation-timing-function: linear; -webkit-animation-iteration-count: infinite; -moz-animation-name: shakeit; -o-animation-name: shakeit; animation-name: shakeit; -moz-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; -moz-animation-timing-function: linear; -o-animation-timing-function: linear; animation-timing-function: linear; -moz-animation-iteration-count: infinite; -o-animation-iteration-count: infinite; animation-iteration-count: infinite; } body #wrapper section nav ul li a { color: white; text-decoration: none; text-transform: uppercase; } body #wrapper section nav ul li:nth-child(1) { background-color: #e5aa02; } body #wrapper section nav ul li:nth-child(1):hover { border: 3px solid white; } body #wrapper section nav ul li:nth-child(2) { background-color: #a900b4; } body #wrapper section nav ul li:nth-child(3) { background-color: #50ac00; } body #wrapper section nav ul li:nth-child(4) { background-color: #017395; } body #wrapper section nav ul li:nth-child(5) { background-color: #c5bd99; } body #wrapper footer { background: rgba(89, 85, 84, 0.5); position: absolute; bottom: 0; width: 100%; text-align: center; } body #wrapper footer ul { margin-top: 10px; list-style: none; display: flex; -ms-flex-direction: row; -webkit-flex-direction: row; flex-direction: row; align-items: center; justify-content: space-around; } body #wrapper footer ul li { width: 100px; height: 50px; text-align: center; display: flex; align-items: center; justify-content: center; text-transform: lowercase; border-radius: 100px; border-left: 2px solid white; border-right: 2px solid white; padding: 25px; -webkit-transition: width 1s; /* Safari */ -moz-transition: width 1s; -o-transition: width 1s; transition: width 1s; } body #wrapper footer ul li:hover { text-transform: uppercase; width: 150px; } body #wrapper footer ul li a { text-decoration: none; color: white; font-size: 0.8em; } body #wrapper footer p { margin: 0; margin-bottom: 2px; color: white; font-size: 0.7em; opacity: 0.5; } @media only screen and (max-width: 970px) { body #wrapper section nav { margin: 0 0 0 20%; } } @media only screen and (max-width: 750px) { body { background: url("../resources/abstract-clear.jpg"); background-attachment: fixed; background-size: 100% 100%; background-repeat: no-repeat; } body #wrapper section nav { margin: 0 0 0 15%; } body #wrapper section nav ul li { margin: 60px 0; } body #wrapper footer ul { display: flex; -ms-flex-direction: column; -webkit-flex-direction: column; flex-direction: column; align-items: center; justify-content: space-around; } body #wrapper footer ul li { width: 200px; margin: 20px; } body #wrapper footer ul li:hover { text-transform: uppercase; width: 350px; } } @media only screen and (max-width: 580px) { body #wrapper section nav { margin: 0 0 0 25%; } body #wrapper section nav ul li { margin: 60px 0; } } @-webkit-keyframes shakeit { 0% { -webkit-transform: rotate(0deg) translate(2px, 1px); -moz-transform: rotate(0deg) translate(2px, 1px); -ms-transform: rotate(0deg) translate(2px, 1px); -o-transform: rotate(0deg) translate(2px, 1px); transform: rotate(0deg) translate(2px, 1px); } 10% { -webkit-transform: rotate(2deg) translate(1px, 2px); -moz-transform: rotate(2deg) translate(1px, 2px); -ms-transform: rotate(2deg) translate(1px, 2px); -o-transform: rotate(2deg) translate(1px, 2px); transform: rotate(2deg) translate(1px, 2px); } 20% { -webkit-transform: rotate(-2deg) translate(3px, 0px); -moz-transform: rotate(-2deg) translate(3px, 0px); -ms-transform: rotate(-2deg) translate(3px, 0px); -o-transform: rotate(-2deg) translate(3px, 0px); transform: rotate(-2deg) translate(3px, 0px); } 30% { -webkit-transform: rotate(0deg) translate(0px, -2px); -moz-transform: rotate(0deg) translate(0px, -2px); -ms-transform: rotate(0deg) translate(0px, -2px); -o-transform: rotate(0deg) translate(0px, -2px); transform: rotate(0deg) translate(0px, -2px); } 40% { -webkit-transform: rotate(-2deg) translate(-1px, 1px); -moz-transform: rotate(-2deg) translate(-1px, 1px); -ms-transform: rotate(-2deg) translate(-1px, 1px); -o-transform: rotate(-2deg) translate(-1px, 1px); transform: rotate(-2deg) translate(-1px, 1px); } 50% { -webkit-transform: rotate(2deg) translate(1px, -2px); -moz-transform: rotate(2deg) translate(1px, -2px); -ms-transform: rotate(2deg) translate(1px, -2px); -o-transform: rotate(2deg) translate(1px, -2px); transform: rotate(2deg) translate(1px, -2px); } 60% { -webkit-transform: rotate(0deg) translate(3px, -1px); -moz-transform: rotate(0deg) translate(3px, -1px); -ms-transform: rotate(0deg) translate(3px, -1px); -o-transform: rotate(0deg) translate(3px, -1px); transform: rotate(0deg) translate(3px, -1px); } 70% { -webkit-transform: rotate(2deg) translate(-2px, -1px); -moz-transform: rotate(2deg) translate(-2px, -1px); -ms-transform: rotate(2deg) translate(-2px, -1px); -o-transform: rotate(2deg) translate(-2px, -1px); transform: rotate(2deg) translate(-2px, -1px); } 80% { -webkit-transform: rotate(-2deg) translate(1px, 1px); -moz-transform: rotate(-2deg) translate(1px, 1px); -ms-transform: rotate(-2deg) translate(1px, 1px); -o-transform: rotate(-2deg) translate(1px, 1px); transform: rotate(-2deg) translate(1px, 1px); } 90% { -webkit-transform: rotate(0deg) translate(-2px, -2px); -moz-transform: rotate(0deg) translate(-2px, -2px); -ms-transform: rotate(0deg) translate(-2px, -2px); -o-transform: rotate(0deg) translate(-2px, -2px); transform: rotate(0deg) translate(-2px, -2px); } 100% { -webkit-transform: rotate(2deg) translate(-1px, 2px); -moz-transform: rotate(2deg) translate(-1px, 2px); -ms-transform: rotate(2deg) translate(-1px, 2px); -o-transform: rotate(2deg) translate(-1px, 2px); transform: rotate(2deg) translate(-1px, 2px); } } @keyframes shakeit { 0% { transform: rotate(0deg) translate(2px, 1px); } 10% { transform: rotate(2deg) translate(1px, 2px); } 20% { transform: rotate(-2deg) translate(3px, 0px); } 30% { transform: rotate(0deg) translate(0px, -2px); } 40% { transform: rotate(-2deg) translate(-1px, 1px); } 50% { transform: rotate(2deg) translate(1px, -2px); } 60% { transform: rotate(0deg) translate(3px, -1px); } 70% { transform: rotate(2deg) translate(-2px, -1px); } 80% { transform: rotate(-2deg) translate(1px, 1px); } 90% { transform: rotate(0deg) translate(-2px, -2px); } 100% { transform: rotate(2deg) translate(-1px, 2px); } } /*# sourceMappingURL=StyleSheet.css.map */