/* Import Fonts */

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Black.ttf")  format("truetype");
  font-weight: 900;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Light.ttf")  format("truetype");
  font-weight: 300;
}

/* Normalization */

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}


/* ==========================================================================
   Custom styles for mobile
   ========================================================================== */

html {
  color: #1A1A1A;
  font-size: 1em;
  line-height: 1.2;
  width: 100%;
  height: 100%;
}

body {
  background-color: #D2653C;
  position: fixed;
  width: 100%;
  height: 100%;
}

#main-headline {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 3.5em;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-align: center;

}

#main-subheadline {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 2em;
  font-weight: 300;
  text-align: center;
  opacity: 0.75;
}

#wrapper {
  position:fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 7vh;
  box-sizing: border-box;
}

#footer {
  position: absolute;
  display: flex;
  justify-content: right;
  bottom: 0;
  width: 100%;
  height: 2em;
}

#footer > p {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  opacity: 0.5;
  margin-right: 1em;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #AAAAAA;
  text-shadow: none;
}

::selection {
  background: #AAAAAA;
  text-shadow: none;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/*==========================================================================
  Design paradigm is mobile first. 
  The following breakpoints were chosen:
  * min-width 48em for tablets 
  * min-width 62em for small desktops
  * min-width 75em for large desktops
  Multiply each by 16 and you normally have the pixel value.
  ========================================================================== */

/* Tablets */ 
@media only screen and (min-width: 48em) {
  #main-headline {
    font-size: 5.5em;
  }
  
  #main-subheadline {
    font-size: 2.5em;
  }
}

/* Small Desktops */ 
@media only screen and (min-width: 62em) {
  #main-headline {
    font-size: 6em;
  }
  
  #main-subheadline {
    font-size: 2.5em;
  }
}

/* Large Desktops */ 
@media only screen and (min-width: 75em) {
  #main-headline {
    font-size: 7.5em;
  }
  
  #main-subheadline {
    font-size: 3.5em;
  }
}
