/*
0 - 600px:      Phone
600 - 900px:    Tablet portrait
900 - 1200px:   Tablet landscape
[1200 - 1800] is where our normal styles apply
1800px + :      Big desktop

$breakpoint arguement choices:
- phone
- tab-port
- tab-land
- big-desktop

- 1em = 16px
*/
/**
 * Make all elements from the DOM inherit from the parent box-sizing
 * Since `*` has a specificity of 0, it does not override the `html` value
 * making all elements inheriting from the root box-sizing value
 * See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
 */
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0; }

:root {
  font-size: 62.5%;
  font-family: "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif; }

body {
  box-sizing: border-box; }

/**
 * Basic typography style -- Semantic and elements styles
 * Classes will be located in other partials
 */
body {
  font-family: "Lato", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.7;
  color: #222222; }

/**
 * Basic styles for links
 */
a {
  color: #e50050;
  text-decoration: none; }
  a:hover, a:hover {
    font-weight: bold; }

/**
 * Main content container
 */
.container {
  display: grid;
  grid-template-areas: "header" "content" "footer";
  grid-template-rows: 0 1fr 0;
  height: 100vh;
  padding-bottom: 2rem; }

/**
 * Hide text while making it readable for screen readers
 * 1. Needed in WebKit-based browsers because of an implementation bug;
 *    See: https://code.google.com/p/chromium/issues/detail?id=457146
 */
.hide-text {
  overflow: hidden;
  padding: 0;
  text-indent: 101%;
  white-space: nowrap; }

/**
 * Hide element while making it readable for screen readers
 * Shamelessly borrowed from HTML5Boilerplate:
 * https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css#L119-L133
 */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10rem); }
  80% {
    transform: translateX(1rem); }
  100% {
    opacity: 1;
    transform: translate(0); } }

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(10rem); }
  80% {
    transform: translateX(-1rem); }
  100% {
    opacity: 1;
    transform: translate(0); } }

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(3rem); }
  100% {
    opacity: 1;
    transform: translate(0); } }

footer {
  grid-area: footer; }

.btn {
  margin: 1rem 0 2rem;
  padding: 12px 24px;
  font-family: "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 5px; }
  .btn, .btn:link, .btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.5rem 4rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all .2s;
    position: relative;
    border: none;
    cursor: pointer; }
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
    .btn:hover::after {
      transform: scaleX(1.4) scaleY(1.6);
      opacity: 0; }
  .btn__primary {
    background-color: #b42326; }
  .btn:active, .btn:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); }
  .btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s; }
  .btn-animated {
    animation: moveInBottom .5s ease-out .75s;
    animation-fill-mode: backwards; }

body {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url(/books.d4e57d8b.jpg);
  background-size: cover; }

main {
  grid-area: content;
  display: flex;
  align-items: center;
  justify-content: center; }

.card {
  background-color: white;
  padding: 1rem 3rem;
  width: 75vw;
  margin: 0 auto;
  border-radius: 10px; }
  @media only screen and (max-width: 56.25em) {
    .card {
      width: 100vw;
      border-radius: 0; } }
  .card h1 {
    text-align: center; }
  .card__quote {
    padding: 2rem; }
  .card__author {
    text-align: right;
    padding-right: 5rem;
    font-style: italic; }
  .card__button {
    text-align: center; }

.credits {
  color: #666363;
  padding: 3rem 0 0;
  text-align: center; }
  @media only screen and (max-width: 37.5em) {
    .credits {
      padding: 3rem 0 0;
      margin: 0 auto;
      text-align: center; } }


/*# sourceMappingURL=/main.d9ee62f6.css.map */