/*----------------------------------------------------------------------------*/
/*! | Reset                                                                   */
/*----------------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css?family=Rubik:400,500");
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  background: transparent;
}

article, aside, figure, footer, header, nav, section, details, summary {
  display: block;
}

/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */
/* Apply a natural box layout model to all elements: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
*, *:before, *:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
img,
object,
embed {
  max-width: 100%;
}

/* force a vertical scrollbar to prevent a jumpy page */
html {
  overflow-y: scroll;
}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}

/* tables still need cellspacing="0" in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th {
  font-weight: bold;
  vertical-align: bottom;
}

td {
  font-weight: normal;
  vertical-align: top;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

pre {
  white-space: pre;
  /* CSS2 */
  white-space: pre-wrap;
  /* CSS 2.1 */
  white-space: pre-line;
  /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word;
  /* IE */
}

input[type="radio"] {
  vertical-align: text-bottom;
}

input[type="checkbox"] {
  vertical-align: bottom;
}

.ie7 input[type="checkbox"] {
  vertical-align: baseline;
}

.ie6 input {
  vertical-align: text-bottom;
}

select, input, textarea {
  font: 99% sans-serif;
}

table {
  font-size: inherit;
  font: 100%;
}

small {
  font-size: 85%;
}

strong {
  font-weight: bold;
}

td, td img {
  vertical-align: top;
}

/* Make sure sup and sub don't mess with your line-heights http://gist.github.com/413930 */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* standardize any monospaced elements */
pre, code, kbd, samp {
  font-family: monospace, sans-serif;
}

/* hand cursor on clickable elements */
.clickable,
label,
input[type=button],
input[type=submit],
input[type=file],
button {
  cursor: pointer;
}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {
  margin: 0;
}

/* make buttons play nice in IE */
button,
input[type=button] {
  width: auto;
  overflow: visible;
  border: none;
  background: none;
}

/* scale images in IE7 more attractively */
.ie7 img {
  -ms-interpolation-mode: bicubic;
}

/* prevent BG image flicker upon hover 
   (commented out as usage is rare, and the filter syntax messes with some pre-processors)
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
*/
/* let's clear some floats */
.clearfix:before, .clearfix:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* Home */

.hot-iceberg,
#myNav,
#myNav a {
  transition: 1s;
}


.home-bg {
  display: flex;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(0deg, rgba(0,2,61,1) 0%, rgba(0,2,61,1) 50%, rgba(0,76,112,1) 50%, rgba(0,76,112,1) 100%);
  overflow: hidden;
}


.hot-iceberg {
  background: rgb(0,2,61);
  background: linear-gradient(0deg, rgba(0,2,61,1) 0%, rgba(0,2,61,1) 16%, rgba(5,76,131,1) 48.1%, rgba(108,146,180,1) 50%, rgba(241,232,235,1) 53%, rgba(102,183,213,1) 72%, rgba(0,115,169,1) 86%, rgba(0,76,112,1) 100%);
  width: 100%;
  height: 100%;
  max-height: 1080px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  bottom: 0;
}

.home-bg--gaming .hot-iceberg {
  bottom: 40%;
  transform: scale(2);
}

.home-bg--coding .hot-iceberg {
  bottom: -35%;
  transform: scale(2);
}

.hot-iceberg img {
  height: 100%;
  max-width: unset;
  aspect-ratio: 16/9;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#myNav {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
  font-size: 8rem;
  color: #F8F8F5;
  padding: 14vh 2rem;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 100;
}

.home-bg--coding #myNav {
  padding-top: calc(50vh - 16rem);
  padding-bottom: 4vh;
}

.home-bg--gaming #myNav {
  padding-top: 4vh;
  padding-bottom: calc(50vh - 8rem);
}

.home-bg--coding #codingLink,
.home-bg--gaming #gamingLink {
  font-size: 16rem;
}

.home-bg--coding #gamingLink,
.home-bg--gaming #codingLink {
  font-size: 2rem;
}

#myNav a {
  text-shadow: 3px 3px 7px #051752;
}

/*----------------------------------------------------------------------------*/
/*! | Colors                                                                  */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*! | Typography                                                              */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*! | GUI                                                                     */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*! | Break points                                                            */
/*----------------------------------------------------------------------------*/
/* special */
/*----------------------------------------------------------------------------*/
/*! | HiRes display image handling                                            */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*! | Layout                                                                  */
/*----------------------------------------------------------------------------*/

.margins {
  max-width: 60rem;
  margin: auto;
}

/*----------------------------------------------------------------------------*/
/*! | Typography                                                              */
/*----------------------------------------------------------------------------*/
html {
  font-family: "Rubik", sans-serif;
  font-size: 1em;
}

h1,
h2,
h3 {
  font-size: 2.2rem;
  margin: 2em 0 1.2rem;
  color: #09b1e9;
  font-family: "Rubik", sans-serif;
}

h1 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 1.2em;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media only screen and (max-width: 425px) {
  h1 {
    text-align: center;
  }
}

h1.sprite--title {
  position: relative;
  padding-left: 3rem;
}

@media only screen and (max-width: 425px) {
  h1.sprite--title {
    padding-left: 0;
  }
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  font-size: 1rem;
  line-height: 1.5em;
  margin-bottom: 1.2rem;
}

p strong {
  color: #000;
  font-weight: 500;
}

.layout__content ul {
  margin: 0 0 1.2rem 1.2rem;
}

.layout__content ul li {
  margin-bottom: .5em;
  position: relative;
}

.ul--squares li {
  padding-left: .8em;
}

.ul--squares li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4em;
  width: .313em;
  height: .313em;
  background-color: #09b1e9;
}

a {
  color: inherit;
  text-decoration: none;
}

/*----------------------------------------------------------------------------*/
/*! | Card                                                                    */
/*----------------------------------------------------------------------------*/
.deck {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  padding: 2rem;
}

.card {
  display: inline-block;
  margin: 1rem;
  background-color: #fff;
  width: 18rem;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

.card:hover {
  transform: scale(1.1);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
}

.card:hover .card__poster {
  background-size: 150%;
}

.card__poster {
  border-radius: 0.5rem 0.5rem 0 0;
  height: 10rem;
  transition: all 0.2s ease-in-out;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.card__poster--can-i-use {
  background-color: #db5600;
  background-image: url(../img/can-i-use@2x.png);
}

.card__poster--dirty-markup {
  background-color: #312f30;
  background-image: url(../img/dirty-markup@2x.png);
}

.card__poster--escape-unescape {
  background-color: #009DDB;
  background-image: url(../img/escape-unescape@2x.png);
}

.card__poster--svgomg {
  background-color: #00DBCC;
  background-image: url(../img/svgomg@2x.png);
}

.card__poster--clip-path {
  background-color: #EBC5D8;
  background-image: url(../img/clip-path@2x.png);
}

.card__poster--gradient-generator {
  background-color: #DB00BE;
  background-image: url(../img/gradient-generator@2x.png);
}

.card__poster--css-inliner {
  background-color: #FFE01B;
  background-image: url(../img/css-inliner@2x.png);
}

.card__poster--uncss {
  background-color: #9B4DCA;
  background-image: url(../img/uncss@2x.png);
}

.card__poster--inline-css-remover {
  background-color: #212121;
  background-image: url(../img/inline-css-remover@2x.png);
}

.card__poster--email-test {
  background-color: #E67E22;
  background-image: url(../img/email-test@2x.png);
}

.card__poster--img-data-uri {
  background-color: #8DA929;
  background-image: url(../img/img-data-uri@2x.png);
}

.card__poster--page-speed {
  background-color: #4285F4;
  background-image: url(../img/page-speed@2x.png);
}

.card__poster--ws-speed-test {
  background-color: #FFF000;
  background-image: url(../img/ws-speed-test@2x.png);
}

.card__poster--structured-data {
  background-color: #55B000;
  background-image: url(../img/structured-data@2x.png);
}

.card__poster--sharing-debugger {
  background-color: #3A4959;
  background-image: url(../img/sharing-debugger@2x.png);
}

.card__poster--card-validator {
  background-color: #55ACEE;
  background-image: url(../img/card-validator@2x.png);
}

.card__poster--icomoon {
  background-color: #62079e;
  background-image: url(../img/icomoon@2x.png);
}

.card__content {
  text-align: center;
  padding: 2rem 1rem;
}

.card__content *:first-child {
  margin-top: 0;
}

.card__content *:last-child {
  margin-bottom: 0;
}

.card__title {
  font-weight: 500;
  color: #312f30;
}

.card__description {
  color: #5f5d5c;
}
