/*------------------*
 * Global variables *
 *------------------*/
/*------------*
 * CSS Styles *
 *------------*/
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  min-height: 100vh;
  /* height: 100%; */
  /* padding: 24px; */
  align-items: center;
  justify-content: space-between;
  background-color: #FFFF00;
  background-size: contain;
  background-repeat: no-repeat;
}

body::-webkit-scrollbar {
  display: none;
}

h1,
h2,
h3 {
  font-family: "Saira Extra Condensed", sans-serif;
  font-weight: 900;
  font-style: normal;
}

p {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.yellow {
  color:#FFFF00;
}
.black {
  color:#000000;
}

.font h1,.font h2,.font h3 {
  font-family: "Saira Extra Condensed", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.font p {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.prototype-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.prototype-overlay-text-top {
  font-size: 200px;
  color: #00067d1b;
  position: absolute;
  top: 0;
}

.prototype-overlay-text-bottom {
  font-size: 40px;
  color: #00067d1b;
  position: absolute;
  bottom: 0;
}

.prototype-content {
  z-index: 1;
  position: relative;
}

.one {
  flex: 3 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.card-wrapper {
  height: 295px;
  max-width: 460px;
  perspective: 600px;
  position: relative;
  width: 100%;
  transition: transform 1s;
}

.card-wrapper2 {
  height: 271.7647058824px;
  max-width: 420px;
  perspective: 600px;
  position: relative;
  width: 100%;
  transition: transform 1s;
}

.two {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color:black;
  background-size:100% 100%;
  overflow: hidden;
  max-width:700px;
}

.two img {
  align-self: flex-start;
  position:relative;
  top:-6rem;
  height:150vh;
}

.arrow {
  position: relative;
  top: -5rem;
  left: 1rem;
  font-size: 3rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.card {
  color: #e5e4e2;
  height: 100%;
  top: 0;
  transform-origin: 100% 50%;
  transform-style: preserve-3d;
  width: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: transform 0.6s cubic-bezier(0.49, 0.23, 0.58, 0.49);
}


.card.flipped {
  transform: translateX(-100%) rotateY(-180deg);
}

.card-front,
.card-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-size: 3px 3px;
  background-color: #000000;
  border-radius: 5px;
  box-shadow: 13px -6px 8px 0px rgba(0, 0, 0, 0.1), 0px 6px 8px 0px rgba(0, 0, 0, 0.1), 6px 0px 8px 0px rgba(0, 0, 0, 0.1), -6px 0px 8px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 100%;
  left: 0;
  padding: 1%;
  position: absolute;
  top: 0;
  width: 100%;
}

.card-back {
  transform: rotateY(180deg);
}

.card-back .layer {
  background: repeating-linear-gradient(135deg, rgb(76 71 31 / 40%), transparent 1px, rgba(76, 71, 31, 0.3) 2px);
  background-size: 3px 3px;
  background-color: #ffe9a5;
  color: #000000;
  height: 100%;
  position: relative;
  width: 100%;
  box-shadow: 1px 2px 7px #181414;
}

.card-back .layer:after {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.card-back .layer .top,
.card-back .layer .bottom {
  left: 8%;
  position: absolute;
  z-index: 1;
}

.card-back .layer .top {
  top: 5%;
}

.card-back .layer .bottom {
  bottom: 5%;
}

.card-back .layer h2,
.card-back .layer h3,
.card-back .layer h4 {
  font-weight: 400;
  margin: 2px 0;
}

.card-back .layer h2 {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.card-back .layer h3 {
  font-size: 16px;
}

.card-back .layer h4 {
  font-size: 16px;
  font-style: italic;
}

.card-front .layer {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.card-front .layer h1 {
  color:#ffff00;
  font-size:50px;
}

.card-front-top {
  display:flex;
}
.qrcode {
  display: flex;
  justify-content: center;
}

.qrcode img {
  width:100%;
}
.card-front-top img {
  max-width: 448px;
  min-width: 100%;
  margin: 0;
  padding: 0;
}
.card-front-bottom {
  display:flex;
  padding:1%;
  p {
    font-size:1rem;
    margin-left:2%;
  }
}

.card-front-bottom-left {
  color:yellow;
  outline: solid 1px yellow;
  outline-offset:-5px;
  width:50%;
  height: 180px;
}
.card-front-bottom-left h2, .card-front-bottom-left p,.card-front-bottom-right h2, .card-front-bottom-right p  {
  padding: 0% 0 0 6%;
  margin: 4%;
}
.card-front-bottom-left h2,.card-front-bottom-right h2 {
  font-size: 2rem;
}

.card-front-bottom-right {
  color:black;
  outline: solid 1px black;
  outline-offset:-5px;
  background-color:yellow;
  width:50%;
  height: 182px;
}

.card-front .layer .corner {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-right: 2px solid #83775f;
  border-top: 2px solid #e2e4e5;
  height: 12px;
  position: absolute;
  width: 12px;
}

.card-front .layer .corner:nth-of-type(1) {
  right: 0;
  top: 0;
}

.card-front .layer .corner:nth-of-type(2) {
  left: 0;
  top: 0;
  transform: rotateZ(-90deg);
}

.card-front .layer .corner:nth-of-type(3) {
  bottom: 0;
  left: 0;
  transform: rotateZ(180deg);
}

.card-front .layer .corner:nth-of-type(4) {
  bottom: 0;
  right: 0;
  transform: rotateZ(90deg);
}



@media (max-width:1200px) {
  body {
    background-size: cover, contain;
    background-position: 0rem, right;
  }

  .arrow {
    display: none;
  }

  .card {}
}

@media (max-width:1030px) {
  body {
    justify-content: flex-end;
    align-items: flex-end;
    background-image: url(../images/tm-crossedarms-transparent-v2.png), linear-gradient(135deg, #000000, #000000);
    background-repeat: no-repeat;
    background-size: 100vh,cover;
    background-position: 45% 29%,0rem;
  }

  .arrow {
    display: none;
  }

  .one {
    flex: 1 1 auto;
    align-items: flex-end;
    height: 100px;
  }

  .two {
    flex: 0 1 auto;
    display:none;

  }

  .card {
    left: 0;
  }
}

@media (max-width:728px) {
  .card-wrapper {
    height: 273px;
    max-width: 499px;
    perspective: 600px;
    position: relative;
    width: 100%;
    transition: transform 1s;
}
  .card-front-bottom-left,.card-front-bottom-right {
    height: 156px;
}
  .card-front-bottom-left h2,.card-front-bottom-right h2 {
  font-size: 1.5rem;
}
}

@media screen and (max-width:600px) and (max-height:500px) {
  body {
    background-image: none;
    background-color: rgb(0 0 0);
  }

  .one {
    flex: 3 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .card-front,
  .card-back {
    background: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent 1px, rgba(0, 0, 0, 0.3) 2px);
    box-shadow: 0px -2px 2px 0px rgba(255, 255, 255, 0.1), 0px 2px 2px 0px rgba(255, 255, 255, 0.1), 2px 0px 2px 0px rgba(255, 255, 255, 0.1), -2px 0px 2px 0px rgba(255, 255, 255, 0.1);
    webkit-box-shadow: 0px -2px 2px 0px rgba(255, 255, 255, 0.1), 0px 2px 2px 0px rgba(255, 255, 255, 0.1), 2px 0px 2px 0px rgba(255, 255, 255, 0.1), -2px 0px 2px 0px rgba(255, 255, 255, 0.1);
    font-weight: bold;
    font-size: 3rem;
  }
}