/* BACKGROUND SPARKLES CSS */ html, body { margin: 0 0; padding: 0 0; text-align: center; font-size: 0; background: url(../assets/bg/bg.gif); cursor: url(../assets/images/smiley\ face\ cursor.cur), default; overflow-X: hidden; /* Toasty */ } /* ORINGINAL SITE CSS */ html { -webkit-box-sizing: border-box; box-sizing: border-box; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; } *, *:before, *:after { -webkit-box-sizing: inherit; box-sizing: inherit; } html, body { height: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row wrap; flex-flow: row wrap; } body { font: normal 20px/1.4 'Inter', sans-serif; margin: 0 1em; padding: 1em 0; color: red; background: none; } main { font-size: 6vh; line-height: 1.2; max-width: 75vh; } @media(max-width: 768px) { main { margin: auto; width: 100%; } } .links a { background-color: yellow; } .email a:hover, .email a:focus { background: url(../assets/images/Email2.gif); color: #fff; } .twitter a:hover, .twitter a:focus { background: url(../assets/images/bullet.png); color: #fff; } .github a:hover, .github a:focus { background: url(../assets/images/geoshape.gif); color: #fff; } /* NAVIGATION MENU */ .navigation-bar { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -ms-flex: 1 0 100%; flex: 1 0 100%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } @media(max-width: 768px) { .navigation-bar { display: none; } } .nav { overflow: hidden; max-width: 100%; background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); padding: 0 20px; position: absolute; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .nav-item { color: none; padding: 20px; margin: 0 6px; font-weight: 500; position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .nav-item:before { content: ""; position: absolute; bottom: -6px; left: 0; width: 100%; height: 70px; background: url(../assets/images/cd-rom.gif); opacity: 0; } .nav-item:not(.is-active):hover:before { opacity: 1; bottom: 0; } /* TOASTY */ .toasty { position: absolute; left: 110%; bottom: 0; } .flash { animation: flash 1s linear infinite; } .animateIn { animation: 2s left forwards ease; } .code { text-align: center; opacity: 0; position: absolute; top: calc(50% + 40px); left: 50%; transform: translate(-50%); font-family: 'Open Sans Condensed', sans-serif; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; border-bottom: 2px solid #333; padding: 0 20px; animation: fade 2.5s 7s forwards linear; } @keyframes fade { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes left { 0% { left: 110%; } 50% { left: 80%; } 100% { left: 110%; } } @keyframes flash { 0% { border-right: none; } 100% { border-right: 0.08em solid #222; } } /* BIFF, MARTY, EMMETT, GOLDIE */ .eggsfound { background: red; color: white; font-weight: bold; opacity: 0; left: 50%; position: fixed; top: 0; width: 300px; margin-left: -150px; z-index: -300; transition: opacity 0.5s ease; padding: 10px; text-align: center; } .eggsfound.animate { opacity: 1; z-index: 999; } img.marty, img.docbrown, img.biff, img.goldie { bottom: -376px; position: fixed; right: 0; transition: bottom 0.3s ease; z-index: 9999; } .marty-show img.marty, .docbrown-show img.docbrown, .biff-show img.biff, .goldie-show img.goldie { bottom: 0; } p { text-align: center; font-weight: bold; margin: 50vh 0 0 0; font-family: sans-serif; } @media(max-width: 768px) { .ee { display: none; } } /* To remove background sparkles on CSS switch. */ svg { display: none; } /* CLAIRO */ .clairo { position: absolute; top: 5px; left: 5px; } /* Mobile Spacing */ @media(max-width: 411px) { main { margin: auto; width: 76.21%; } }