@font-face {
  font-family: NotoSans-Regular;
  src: url(https://assets.cdnppb.net/lac/fonts/NotoSans-Regular.ttf)
    format("truetype");
  font-style: normal;
}
@font-face {
  font-family: NotoSans-Bold;
  src: url(https://assets.cdnppb.net/lac/fonts/NotoSans-Bold.ttf)
    format("truetype");
  font-style: normal;
}

html {
  overflow: hidden;
}

* {
  margin: 0px;
  padding: 0;
  font-family: NotoSans-Bold;
}

.banner {
  position: relative;
  margin: 0;
  padding: 0;
  width: 590px;
  z-index: 0;
  overflow: hidden !important;
  max-width: 100vw;
  max-height: 100vh;
}

.trump,
.biden,
.yellow-arrow,
.yellow-arrow2,
.logo,
.trump-text,
.biden-text,
.terms,
.smoke-left,
.smoke-right,
.image-container,
.scale,
.arrow,
.arrow-indicator {
  position: absolute;
}
.header {
  position: absolute;
  z-index: 300;
  top: 10px;
  color: white;
  text-align: center;
  width: 100%;
}
.header h3::after {
  content: " ";
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-color: rgba(41, 41, 156, 0.8);
  display: table-cell;
  width: 200px;
  display: block;
  margin: auto;
}
.header h3::before {
  content: " ";
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-color: rgba(255, 0, 0, 0.8);
  display: table-cell;
  width: 200px;
  display: block;
  margin: auto;
}

.trump-text h4,
.biden-text h4 {
  color: white;
  font-size: 20px;
  text-transform: uppercase;
}
.trump-text h2,
.biden-text h2 {
  color: #ffb80c;
  font-size: 40px;
}
@keyframes grow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
.trump {
  z-index: 201;
  max-width: 170px;
  left: 0px;
  bottom: 7px;
}
.biden {
  z-index: 201;
  max-width: 200px;
  right: 0px;
  bottom: 7px;
}
.yellow-arrow {
  z-index: 400;
  left: 0px;
  bottom: 7px;
  max-width: 90px;
  transform: rotate(180deg);
}
.yellow-arrow2 {
  z-index: 400;
  right: 0px;
  top: 0px;
  max-width: 100px;
}
.logo {
  max-width: 130px;
  left: 15px;
  top: 15px;
}
#trump-percentage,
#biden-percentage {
  display: none;
}
.trump-text,
.biden-text {
  z-index: 100;
  top: 20%;
  width: 103px;
}
.trump-text {
  left: 5%;
}
.biden-text {
  right: 5%;
  text-align: right;
}

@keyframes first {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.25;
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}
@keyframes smoking {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}
@keyframes smoking2 {
  0% {
    transform: scale(1.5);
    opacity: 0.3;
  }
  50% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.5);
    opacity: 0.3;
  }
}
@keyframes first2 {
  0% {
    transform: scale(1.5);
    opacity: 0;
  }
  10% {
    opacity: 0.25;
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
    opacity: 0.3;
  }
}

.smoke-left,
.smoke-right {
  z-index: 1;
  bottom: 7px;
  width: 650px;
  opacity: 0;
  transform: scale(1.5);
  display: none;
  animation: first 20s 1, smoking 20s 20s infinite;
}
.smoke2 {
  animation: first2 20s 1, smoking2 20s 20s infinite;
  animation-iteration-count: infinite;
}
.smoke-left {
  left: 0px;
  margin-left: -50px;
}
.smoke-right {
  right: 0px;
  margin-right: -50px;
}
@keyframes flagAnimation {
  0% {
    transform: translateX(0) scale(1.15);
  }
  50% {
    transform: translateX(35px) scale(1.15);
  }
  100% {
    transform: translateX(0) scale(1.15);
  }
}
.flag {
  transform: translateX(0) scale(1.25);
  animation: flagAnimation 25s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.terms {
  z-index: 300;
  text-align: center;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0%);
  color: white;
  max-width: 330px;
  font-family: NotoSans-Regular;
  font-size: 11px;
  line-height: 1.2;
}
.image-container {
  z-index: 100;
  overflow: hidden;
  top: 90px;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 250px;
  height: 125px;
  border-bottom: 2px solid #d3d3d3;
}
.image-container div {
  position: relative;
}
.scale {
  z-index: 1;
  transition: 100ms;
  transform: rotate(-62deg);
  animation: theScale 2.5s;
  animation-timing-function: ease-out;
}
.arrow {
  z-index: 301;
  top: 92px;
  left: 50%;
  transform: translate(-50%, 0px);
}
.arrow-indicator {
  height: 100%;
}

.image-container div div {
  position: absolute;
  top: 25px;
  right: 20px;
  height: 95px;
  width: 250px;
  z-index: 300;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  transform: rotate(-65deg);
  transform-origin: 58% 100%;
  text-align: center;
  animation: arrow 2.5s;
  animation-timing-function: ease-out;
}

@media screen and (max-width: 560px), (max-height: 380px) {
  .trump-text h4,
  .biden-text h4 {
    font-size: 18px;
  }
  .trump-text h2,
  .biden-text h2 {
    font-size: 38px;
  }
  .biden {
    max-width: 190px;
  }
  .trump {
    max-width: 150px;
  }
  .terms {
    max-width: 300px;
  }
  .header h2 {
    font-size: 1.45em;
  }
  .header h3 {
    font-size: 1.1em;
  }
}

@media screen and (max-width: 520px) {
  .trump-text h4,
  .biden-text h4 {
    font-size: 18px;
  }
  .trump-text h2,
  .biden-text h2 {
    font-size: 35px;
  }
  .biden {
    max-width: 190px;
  }
  .trump {
    max-width: 150px;
  }
  .terms {
    max-width: 300px;
  }
  .header h2 {
    font-size: 1.45em;
  }
  .header h3 {
    font-size: 1.1em;
  }
}
@media screen and (max-width: 480px) {
  .logo {
    max-width: 115px;
    left: 50%;
    transform: translate(-50%, 0px);
  }
  .header {
    top: 45px;
  }
  .header h2 {
    font-size: 1.15em;
  }
  .header h3 {
    font-size: 0.95em;
  }
  .header h3::after {
    width: 140px;
  }
  .header h3::before {
    width: 160px;
  }
  .image-container {
    top: 115px;
    width: 180px;
    height: 90px;
  }
  .image-container div div {
    width: 180px;
    height: 65px;
    right: 15px;
  }
  .arrow {
    top: 72px;
  }
  .biden {
    max-width: 150px;
  }
  .trump {
    max-width: 120px;
    bottom: 15px;
  }
  .yellow-arrow,
  .yellow-arrow2 {
    max-width: 60px;
  }
  .trump-text, .biden-text{
    top: 150px;
  }
  .trump-text h4, .biden-text h4{
    font-size: 18px;
  }
  #trump-percentage, #biden-percentage{
    font-size: 30px;
  }
  .terms{
    width: 90%;
    font-size: 9px;
    bottom: 5px;
  }
}
@media screen and (max-width: 450px) {
  .logo {
    max-width: 100px;
  }
  .trump-text h4, .biden-text h4{
    font-size: 14px;
  }
  #trump-percentage, #biden-percentage{
    font-size: 23px;
  }
  .terms{
    width: 90%;
    font-size: 9px;
    bottom: 5px;
  }
}
@media screen and (max-height: 360px) {
  .biden {
    max-width: 160px;
  }
  .trump {
    max-width: 120px;
  }
  .yellow-arrow,
  .yellow-arrow2 {
    max-width: 60px;
  }
}
