@import "//fonts.googleapis.com/css?family=Montserrat:400,700";

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background: white;
  color: white;
  height: 100%;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
}

html.hidden,
html.hidden body {
  display: none;
}

.container {
  width: 100%;
  max-width: 400px;
  min-width: 250px;
  height: 100%;
  max-height: 640px;
  padding: 0 55px;
  margin: auto;
  text-align: center;
  text-transform: uppercase;
  color: #231f20;
  background: white;
  overflow: hidden;
  overflow-y: auto;

  -webkit-overflow-scrolling: touch;
}

.container h1 {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 4px;
  margin: 0 0 30px;
}

.container h3 {
  font-size: 13.5px;
  line-height: 2;
  letter-spacing: .6px;
  word-spacing: 1px;
  margin: 0 0 30px;
}

.container h5 {
  line-height: 1.75;
  font-weight: 400;
  font-size: 12px;
}

.container a,
.continue {
  display: inline-block;
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
  line-height: 1.4;
}

.container h5 a {
  display: block;
  box-shadow: none;
}
.container h5 a:before {
  display: none;
}

.container a span {
  letter-spacing: .6px;
  word-spacing: 1px;
}

.footer-trinket {
  position: absolute;
  bottom: 0;
}





.container.four-oh-four {
  padding-top: 80px;
}

.container.four-oh-four .footer-trinket {
  height: 40%;
  right: 0;
}





.container.five-oh-three {
  padding-top: 80px;
}

.container.five-oh-three h1 {
  margin-bottom: 47px;
}
.container.five-oh-three h3 {
  margin-bottom: 47px;
}
.container.five-oh-three .footer-trinket {
  height: 30%;
  right: 7px;
}




.container.private-browsing {
  padding: 90px 35px 20px;
}
.container.private-browsing h1 {
  margin-bottom: 55px;
}
.container.private-browsing h3 {
  margin-bottom: 55px;
}
.container.private-browsing .footer-trinket {
  height: 25%;
  right: 7px;
}




.container.incompatible {
  padding: 70px 40px 20px;
}
.container.incompatible h1 {
  margin-bottom: 35px;
}
.container.incompatible h3 {
  margin-bottom: 35px;
}
.container.incompatible .footer-trinket {
  height: 28%;
  right: 0;
}



.container.rotate {
  max-width: 670px;
  max-height: 380px;
  padding-top: 40px;
  padding-bottom: 40px;
  overflow-x: hidden;
  display: flex;
  flex-flow: column nowrap;
}

.container.rotate .inner {
  flex-grow: 1;
  flex-shrink: 1;
}

.container.rotate h3:before {
  content: "";
  display: block;
  margin-bottom: 25px;
  height: 42px;
  background-image: url(../img/rotate-icon.svg);
  background-position: center center;
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.container.rotate .footer-trinket {
  width: 100%;
  bottom: auto;
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
}





.container.desktop {
  padding: 100px 60px 20px;
}

.container.desktop .eap-logo {
  display: block;
  width: 100%;
  margin-bottom: 60px;
}
.container.desktop h3 {
  margin-bottom: 100px;
}
.container.desktop a {
  cursor: pointer;
}
