html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  font-size: 62.5%;
  -webkit-overflow-scrolling: touch;
}

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

@font-face {
  font-family: "eyechart";
  src: url("../fonts/eyechart/eyechart-caps.ttf") format("truetype");
}

@font-face {
  font-family: "Circular-black";
  src: url("../fonts/circular/circular-black.woff2") format("woff2"),
    url("../fonts/circular/circular-black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Circular-bold";
  src: url("../fonts/circular/circular-bold.woff2") format("woff2"),
    url("../fonts/circular/circular-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Circular-book";
  src: url("../fonts/circular/circular-book.woff2") format("woff2"),
    url("../fonts/circular/circular-book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}


@font-face {
	font-family: 'Montserrat-Light';
	src: url('../fonts/montserrat/Montserrat-Light.woff') format("woff"), 
	url('../fonts/montserrat/Montserrat-Light.woff2') format("woff2");
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: 'Montserrat-Regular';
	src: url('../fonts/montserrat/Montserrat-Regular.woff') format("woff"), 
	url('../fonts/montserrat/Montserrat-Regular.woff2') format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Montserrat-Bold';
	src: url('../fonts/montserrat/Montserrat-Bold.woff') format("woff"), 
	url('../fonts/montserrat/Montserrat-Bold.woff2') format("woff2");
	font-weight: 700;
	font-style: normal;
}


body {
  padding: 0;
  margin: 0;
  font-family: "Circular-bold";
  height: 100%;
}

body.kingpin {
  font-family: "Montserrat-Light";
}

main {
  height: 100%;
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.voucher {
  background-color: white;
  width: 100%;
  height: 100%;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.voucher > select {
  float: right;
  padding: 1rem 5rem;
  font-size: 2rem;
  margin: 2rem;
  background-color: #003366;
  color: white;
  border: none;
  display: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='13.312' height='8.07' viewBox='0 0 13.312 8.07'%3e%3cpath id='Arrow' d='M245.272,304.976l-5.949,5.949-5.949-5.949' transform='translate(-232.668 -304.269)' fill='none' stroke='%23fff' stroke-miterlimit='10' stroke-width='2'/%3e%3c/svg%3e");
  background-position: 90% 50%;
  background-repeat: no-repeat;
}

.voucher__error {
  text-align: center;
  color: red;
  font-size: 3rem;
  padding: 1rem;
}

.voucher__footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.voucher__footer:after {
  content: "";
  position: absolute;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  right: 0;
  background-image: url("../images/overview-bg-left-blue.svg");
  background-size: 100%;
  width: 160px;
  height: 146px;
  transform: rotate(180deg);
}

.voucher__footer:before {
  content: "";
  position: absolute;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  left: 0;
  background-image: url("../images/overview-bg-right-blue.svg");
  width: 224px;
  height: 200px;
  transform: scaleX(-1);
}

.voucher__title {
  text-transform: capitalize;
  text-align: center;
  font-size: 2.5rem;
  color: #003366;
  margin: 0;
  padding: 1.5rem 2rem;
  clear: both;
  text-align: left;
}

.voucher__subtitle {
  padding: 3rem 0;
}

.voucher__validity {
  padding: 0 2rem;
  font-size: 1.6rem;
}

h2 {
  font-size: 2rem;
  margin: 0;
}
p {
  font-size: 1.6rem;
  margin: 0;
}

.voucher__image-container {
  display: flex;
  justify-content: center;
  padding: 0 2rem;
}

.voucher__image {
  width: 100%;
  max-height: 350px;
}

.voucher__code {
  display: flex;
  justify-content: center;
  padding: 5rem 2rem;
}

.voucher__code > img {
  height: 100%;
  width: 100%;
  max-width: 300px;
  max-height: 150px;
  object-fit: contain;
}

.voucher__conditions {
  padding: 0 2rem 15rem 2rem;
}

.voucher__description {
  padding: 3rem 2rem;
}

.voucher__conditions > h2 {
  padding-bottom: 2rem;
}

.voucher__conditions > p {
  font-family: 'Circular-book';
}

object[data="error.html"] {
  width: 100%;
  height: 100%;
}

.error-page__content {
  background-color: #0066cc;
}
.error-page__message-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}
.error-page__title {
  font-family: eyechart;
  font-size: 6rem;
  color: white;
  top: 30%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
}

.error-page__title:before {
  content: attr(data-heading);
  position: absolute;
  overflow: hidden;
  color: #ffcc00;
  width: 100%;
  z-index: 5;
  text-shadow: none;
  left: 22.5%;
  -webkit-animation: flicker 3s linear infinite;
  animation: flicker 3s linear infinite;
}

.error-page__message {
  color: #fee23e;
  font-size: 3rem;
  max-width: 600px;
  padding: 3rem 2rem;
  text-align: center;
}

.error-page__logo {
  background: #003366;
  padding: 3rem;
  text-align: center;
}

.error-page__logo:after {
  content: url("../images/timezone-logo-yellow-lg.svg");
}

.error-page__body {
  overflow: hidden;
}

@-webkit-keyframes flicker {
  0%,
  19.999%,
  22%,
  62.999%,
  64%,
  64.999%,
  70%,
  100% {
    opacity: 0.99;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.4),
      1px -1px 0 rgba(255, 255, 255, 0.4), -1px 1px 0 rgba(255, 255, 255, 0.4),
      1px 1px 0 rgba(255, 255, 255, 0.4), 0 -2px 8px, 0 0 2px, 0 0 5px #ff7e00,
      0 0 15px #ff4444, 0 0 2px #ff7e00, 0 2px 3px #000;
  }
  20%,
  21.999%,
  63%,
  63.999%,
  65%,
  69.999% {
    opacity: 0.4;
    text-shadow: none;
  }
}

@keyframes flicker {
  0%,
  19.999%,
  22%,
  62.999%,
  64%,
  64.999%,
  70%,
  100% {
    opacity: 0.99;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.4),
      1px -1px 0 rgba(255, 255, 255, 0.4), -1px 1px 0 rgba(255, 255, 255, 0.4),
      1px 1px 0 rgba(255, 255, 255, 0.4), 0 -2px 8px, 0 0 2px, 0 0 5px #ff7e00,
      0 0 15px #ff4444, 0 0 2px #ff7e00, 0 2px 3px #000;
  }
  20%,
  21.999%,
  63%,
  63.999%,
  65%,
  69.999% {
    opacity: 0.4;
    text-shadow: none;
  }
}

.button {
  border-radius: 2rem;
  font-size: 2rem;
  color: white;
  background-color: #003366;
  padding: 1rem 3rem;
  font-family: Circular-bold;
  transition: 0.2s ease-in-out 0s;
  text-decoration: none;
}

.button:hover {
  cursor: pointer;
  transform: scale(1.25);
}

.kingpin .voucher__title{
  color:  #000;
  text-transform: uppercase;
  font-family: 'Montserrat-Bold';
  }
  .kingpin .voucher__select {
  display: none!important;
  }

  .kingpin .voucher__footer:before {
    display: none;
  }
  .kingpin .voucher__footer:after {
    background-image: url("../images/triangle-purple.svg");
    height: 150px;
    transform: none;
    background-size: auto;
  }
  .kingpin h2 {
    text-transform: uppercase;
    font-family: 'Montserrat-Bold';
  }
  .kingpin .voucher__validity, .voucher__conditions > p {
    font-family: 'Montserrat-Regular';
  }

@media only screen and (min-width: 768px) {
  .voucher__title {
    font-size: 5rem;
    padding: 3rem;
  }
  .voucher__footer:after {
    width: 310px;
    height: 280px;
  }
  .voucher__footer:before {
    width: 420px;
    height: 500px;
  }

  h2 {
    font-size: 4rem;
  }

  .voucher__validity {
    font-size: 2rem;
    display: flex;
    font-family: 'Circular-bold';
    padding: 0 2rem;
  }

  .voucher__date {
    padding-left: 1rem;
  }

  p {
    font-size: 2rem;
  }

  .voucher__conditions {
      padding: 0 2rem 30rem 2rem;
  }

  .voucher__image {
    max-height: 600px;
  }

  .error-page__title {
    font-family: eyechart;
    font-size: 6rem;
    color: white;
    top: 35%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
  }

  .error-page__message {
    padding: 5rem 2rem;
  }
  .kingpin .voucher__footer:after {
    height: 250px;
  }
}



