@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: url('/assets/fonts/open-sans-v17-latin-regular.eot'); src: local('Open Sans Regular'), local('OpenSans-Regular'), url('/assets/fonts/open-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/open-sans-v17-latin-regular.woff2') format('woff2'), url('/assets/fonts/open-sans-v17-latin-regular.woff') format('woff'), url('/assets/fonts/open-sans-v17-latin-regular.ttf') format('truetype'), url('/assets/fonts/open-sans-v17-latin-regular.svg#OpenSans') format('svg'); } body { margin: 0; padding: 0; background-color: #303f9f } .content { margin: 75px 100px; font-family: "Open Sans", sans-serif; color: white } .title { height: 45vh } h1 { font-size: 3em } h2 { margin-top: 36px } tr { white-space: nowrap } .cards { display: flex; align-items: center; flex-wrap: wrap } .card { background: #fff; color: #303f9f; border-radius: 2px; height: 400px; margin: 1rem; position: relative; width: 300px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) } .card h1 { font-size: 2em; margin-top: 20px; margin-left: 20px; margin-bottom: 10.5px } .card p { margin: 20px; line-height: 1.2 } .card:hover { box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) } .nav { height: 100%; width: 0; position: fixed; z-index: 1; top: 0; right: 0; background-color: white; overflow-x: hidden; transition: 0.5s; padding-top: 60px } .nav a { padding: 8px; text-decoration: none; color: #303f9f; font-size: 25px; display: block; transition: 0.3s } table { padding: 0 26px } tr { padding: 8px 8px 8px 32px; text-decoration: none; color: #303f9f; font-size: 25px; transition: 0.3s } tr:hover { cursor: pointer } td { padding: 7px 0; } @media screen and (max-height: 450px) { .nav { padding-top: 15px } .nav a { font-size: 18px } } @media only screen and (max-width: 500px) { .cards { display: inline } .card { height: 350px } .card h1 { padding-top: 14px } .content { margin: 75px 12.5px } } #nav-btn { width: 60px; height: 35px; position: fixed; right: 25px; top: 25px; margin: 0; z-index: 2; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: 0.5s ease-in-out; -moz-transition: 0.5s ease-in-out; -o-transition: 0.5s ease-in-out; transition: 0.5s ease-in-out; cursor: pointer; } #nav-btn span { display: block; position: absolute; height: 5px; width: 100%; background: white; border-radius: 5px; opacity: 1; left: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: 0.25s ease-in-out; -moz-transition: 0.25s ease-in-out; -o-transition: 0.25s ease-in-out; transition: 0.25s ease-in-out } #nav-btn span:nth-child(1) { top: 0px; -webkit-transform-origin: left center; -moz-transform-origin: left center; -o-transform-origin: left center; transform-origin: left center } #nav-btn span:nth-child(2) { top: 15px; -webkit-transform-origin: left center; -moz-transform-origin: left center; -o-transform-origin: left center; transform-origin: left center } #nav-btn span:nth-child(3) { top: 30px; -webkit-transform-origin: left center; -moz-transform-origin: left center; -o-transform-origin: left center; transform-origin: left center } #nav-btn.open span { background-color: #303f9f } #nav-btn.open span:nth-child(1) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); top: -3px; left: 8px } #nav-btn.open span:nth-child(2) { width: 0%; opacity: 0 } #nav-btn.open span:nth-child(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); top: 39px; left: 8px } button { display: inline-block; vertical-align: middle; background: #303f9f; color: #fff; border: none; position: relative; height: 60px; font-size: 1.6em; padding: 0 2em; cursor: pointer; transition: 800ms ease all; outline: none } button:hover { background: #fff; color: #303f9f } button:before, button:after{ content: ''; position: absolute; top: 0; right: 0; height: 2px; width: 0; background: #303f9f; transition: 400ms ease all } button:after { right: inherit; top: inherit; left: 0; bottom: 0 } button:hover:before, button:hover:after { width:100%; transition:800ms ease all } a { color: white }