@font-face {
    font-family: 'montserratbold';
    src: url(./fonts/montserrat-bold-webfont.woff2) format('woff2'),
         url(fonts/montserrat-bold-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratsemibold';
    src: url(fonts/montserrat-semibold-webfont.woff2) format('woff2'),
         url(fonts/montserrat-semibold-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;

}

html {
    background-color: #26221e
}

h1 {
    font-family: 'montserratbold';
    font-size: 90px;
    line-height: 0.85;
    text-align: center;
    margin: -3% auto 10% auto;
    max-width: 500px;
    justify-content: center;
    align-items: center;
    color:  #bf4226;
    animation: 2s shake infinite alternate;
}

h2 {
    font-family: 'montserratsemibold';
    font-size: 12px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #bf5b45
}

p {
    font-family: 'Times New Roman', Times, serif;
    color:  #e9e6db;
    font-size: 20px;
    line-height: 1.4;
}

div {
    margin-top: 5%;
    margin-bottom: 5%;
}

.credits {
    display: flex;
    flex-direction: column;
}



.reveal { opacity: 10%; transition: opacity 0.5s linear; }

.reveal:hover {
   	opacity: 100%;
}

.shake {
	display:block;
	position:relative;
    display:inline-block;
    text-decoration: underline;
}

@-webkit-keyframes spaceboots {
	0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
	10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
	20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
	30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
	40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
	50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
	60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
	70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
	80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
	90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
	100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
.shake:hover, .shake:focus {
	-webkit-animation-name: spaceboots;
	-webkit-animation-duration: 0.8s;
	-webkit-transform-origin:50% 50%;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}

.reveal { opacity: 20%; transition: opacity 0.5s linear; }

.reveal:hover {
   	opacity: 100%;
}

.glow {
    font-style:italic;
    color: #e9e6db;
  }
  
  a:link {
    text-decoration: none;
  }
  
  a:visited {
    text-decoration: none;
    color: #e9e6db;
  }
  
  a {
    color:#e9e6db;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
  }
  
  a:hover {
    color: #e9e6db;
    text-shadow:0px 0px 30px #e9e6db;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
  }

@keyframes shake {
    0% { transform: skewX(-15deg); }
    5% { transform: skewX(15deg); }
    10% { transform: skewX(-15deg); }
    15% { transform: skewX(15deg); }
    20% { transform: skewX(0deg); }
    100% { transform: skewX(0deg); }  
  }

.pulse {
  color:#e9e6db;
  background: #bf422698;
  border-radius: 50%;
  margin: 10px;
  height: 20px;
  width: 20px;

  box-shadow: 0 0 0 0 rgb(206, 116, 116);
  transform: scale(1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(218, 71, 71, 0.831);
  }

  70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.upsidedown{
    transition: all 0.4s ease;
    font-weight: bold;
  }
  .upsidedown:hover {
    transition: all 0.4s ease;
    transform: scaleY(-1);
  }

.grow {
    transition: all .2s ease-in-out;
}
.grow:hover {
    transform: scale(1.1);
}

@import "bourbon";

.explode {
    font-family: 'Times New Roman', Times, serif;
    color:  #e9e6db;
    font-size: 20px;
    text-align: center;
    font-kerning: ;
}

#explode {
    display: inline-block
}

@media screen and (min-width: 481px) {
    h1 {
        margin: -1.8% auto 10% auto;
        font-size: 8em;
        text-align: center;
    }

    .credits {
        display: flex;
        flex-direction: row;
    }

    .author {
        text-align: left;
        flex: 1
    }

    .designer {
        text-align: right;
        flex: 1
    }

    p {
        max-width: 80%;
        margin: auto;
    }

    .pulse {
        color:#bf5b45;
        animation: none;
        background: none;
    }
    .pulse:hover {
      color:#e9e6db;
      background: #bf422698;
      border-radius: 50%;
      margin: 10px;
      height: 20px;
      width: 20px;
  
      box-shadow: 0 0 0 0 rgb(206, 116, 116);
      transform: scale(1);
      animation: pulse 2s infinite;
  }

  @keyframes pulse {
      0% {
          transform: scale(0.95);
          box-shadow: 0 0 0 0 rgba(218, 71, 71, 0.831);
      }
  
      70% {
          transform: scale(1);
          box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
      }
  
      100% {
          transform: scale(0.95);
          box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
      }
  }
}



@media screen and (min-width: 769px) {
    h1 {
        margin: -1.2% auto auto auto;
        font-size: 10em;
        max-width: 700px;
    }
    p {
        max-width: 65%;
        margin: auto;
        font-size: 26px;
    }

    .explode {
        font-size: 26px;
    }
}

@media screen and (min-width: 1025px) {
    h1 {
        margin: -0.5% auto auto auto;
        font-size: 12em;
        max-width: 800px;
    }
    p {
        max-width: 50%;
        margin: auto;
    }

}