@charset "UTF-8";
html,
body {
  margin: 0;
  padding: 0;
}

/* Variables */

:root {
  --frame-time3: 4s;
  --frame-time: 4s;
  --logo-animation-time: 5s;
  --more-animation-time: 5s;
}

/* Positioning */

.animated {
  display: none;
}
.animated.active {
  display: block;
}
.card {
  position: relative;
  overflow: hidden;
  width: 1280px;
  height: 150px;
  /* background-image: url(./resources/f1_bg.png); */
  background-size: 100%;
  background-repeat: no-repeat;
  box-sizing: border-box;
  /* border: 1px solid grey; */
}
.position0 {
  position: absolute;
  left: 0px;
  top: 0px;
}
.resize {
  max-width: 100%;
  max-height: 100%;
}
.on80 {
  z-index: 80;
}
.on50 {
  z-index: 50;
}
.on30 {
  z-index: 30;
}
.onTop {
  z-index: 99;
}
.onTopOfOnTop {
  z-index: 100;
}

/* Animations */

.getBig {
  animation: getBig var(--frame-time) infinite;
  animation-fill-mode: forwards;
}
@keyframes getBig {
  0%,
  93% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.8);
  }
}

.leftRight {
  opacity: 0;
  animation: leftRight 5s ease;
  animation-fill-mode: forwards;
}
@keyframes leftRight {
  0% {
    left: -5%;
    opacity: 0;
  }
  25%,
  100% {
    left: 0%;
    opacity: 1;
  }
}

.rightLeft {
  opacity: 0;
  animation: rightLeft 5s ease;
  animation-fill-mode: forwards;
}
@keyframes rightLeft {
  0% {
    left: 5%;
    opacity: 0;
  }
  25%,
  100% {
    left: 0px;
    opacity: 1;
  }
}

.leftRightFull {
  opacity: 1;
  animation: leftRightFull var(--frame-time) ease-out;
  animation-fill-mode: forwards;
}
@keyframes leftRightFull {
  0% {
    left: -40%;
  }
  100% {
    left: 0%;
  }
}

.rightRightFull {
  opacity: var(--frame-time);
  animation: rightRightFull 3s ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes rightRightFull {
  0% {
    left: 100%;
  }
  100% {
    left: 0%;
  }
}

.debaixo {
  opacity: 0;
  animation: debaixo var(--frame-time) ease;
  animation-fill-mode: forwards;
}
@keyframes debaixo {
  0% {
    top: 10%;
    opacity: 0;
  }
  25%,
  100% {
    top: 0%;
    opacity: 1;
  }
}

.nextfadein {
  opacity: 0;
  animation: fadeInNext var(--frame-time);
  animation-fill-mode: forwards;
}
@keyframes fadeInNext {
  0%,
  85% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.nextfadeinBig {
  opacity: 0;
  animation: nextfadeinBig 7.5s;
  animation-fill-mode: forwards;
}
@keyframes nextfadeinBig {
  0%,
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.longParallax {
  animation: parallax 7.5s infinite;
  animation-fill-mode: forwards;
}
.parallax {
  animation: parallax var(--frame-time) infinite;
  animation-fill-mode: forwards;
}
@keyframes parallax {
  0% {
    transform: scale(1);
    /* transform-origin: bottom right; */
  }
  100% {
    transform: scale(1.04);
    /* transform-origin: bottom right; */
  }
}
.parallax2 {
  animation: parallax2 var(--frame-time) infinite;
  animation-fill-mode: forwards;
}
@keyframes parallax2 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.02);
  }
}

.zoomParallax1 {
  animation: zoomParallax1 var(--frame-time) infinite;
  animation-fill-mode: forwards;
}
@keyframes zoomParallax1 {
  0% {
    transform: scale(1.5);
  }
  5% {
    transform: scale(1);
  }
  95% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1.7);
  }
}

.zoomParallax2 {
  animation: zoomParallax2 var(--frame-time) infinite;
  animation-fill-mode: forwards;
}
@keyframes zoomParallax2 {
  0% {
    transform: scale(1);
  }
  2% {
    transform: scale(1.05);
  }
  93% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(2);
  }
}

.fadeIn {
  opacity: 0;
  animation: fadeIn 5s ease;
  /* animation-delay: 2s; */
  animation-fill-mode: forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  30%,
  100% {
    opacity: 1;
  }
  /* 100% {
        opacity: 0;
    } */
}

.fadeIn2 {
  opacity: 0;
  animation: fadeIn2 var(--frame-time) ease;
  /* animation-delay: 2s; */
  animation-fill-mode: forwards;
}
@keyframes fadeIn2 {
  0%,
  16% {
    opacity: 0;
  }
  40%,
  100% {
    opacity: 1;
  }
  /* 100% {
        opacity: 0;
    } */
}

.logoMid {
  opacity: 0;
  animation: logoMid var(--frame-time) ease;
  animation-fill-mode: forwards;
}
@keyframes logoMid {
  0%,
  8% {
    top: -2%;
    opacity: 0;
  }
  25% {
    top: 0%;
    opacity: 1;
  }
  93% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 1;
  }
}

.logoFromBottom {
  opacity: 1;
  animation: logoFromBottom 2s ease;
  animation-fill-mode: forwards;
}
@keyframes logoFromBottom {
  0% {
    top: 40%;
  }
  100% {
    top: 0%;
  }
}


.fallingAndBouncing {
  animation: fallingAndBouncing var(--frame-time) ease-out;
}
@keyframes fallingAndBouncing {
  0% {
    transform: translateY(-200%);
  }
  50% {
    transform: translateY(0%);
  }
  60% {
    transform: translateY(-4%);
  }
  70% {
    transform: translateY(0%);
  }
  80% {
    transform: translateY(-3%);
  }
  90% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-2%);
  }
}


.falling {
  animation: falling var(--frame-time) ease-out;
}
@keyframes falling {
  0% {
    transform: translateY(-100%);
  }
  85% {
    transform: translateY(0%);
  }
}

.scaleShake{
  opacity: 0;
  animation: scaleShake 15s;
  animation-fill-mode: forwards;
}
@keyframes scaleShake{
  0%{
    transform: scale(5);
    opacity: 1;
  }
  2.5%{
    transform: scale(1);
    opacity: 1;
  }
  5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% { 
    transform: rotate(1deg); 
    opacity: 1;
  }
  10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% { 
    transform: rotate(-1deg);
    opacity: 1;
  }
  100% { 
    transform: rotate(0);
    opacity: 1;
  }
}

/* CSS class for the image that will be animated */
.untwist-rise {
  display: block;
  position: relative;
  animation: untwistAndRise 2s ease-out forwards;
  transform-origin: center center;
}

/* Keyframes for the untwisting and rising animation */
@keyframes untwistAndRise {
  0% {
    transform: rotate(360deg) translateY(40%);
  }
  100% {
    transform: rotate(0deg) translateY(0%);
  }
}

/* You can adjust the animation speed by changing these classes */
.untwist-rise.slow {
  animation-duration: 3s;
}

.untwist-rise.fast {
  animation-duration: 1s;
}

/* If you want to add an initial state with some twist */
.initially-twisted {
  transform: rotate(360deg);
}


/* Delays */

.delay1 {
  animation-delay: 0.4s;
}
.delay2 {
  animation-delay: 1.2s;
}
.delay3 {
  animation-delay: 1.6s;
}
.delay4 {
  animation-delay: 2.0s;
}
.delay5 {
  animation-delay: 4.8s;
}


.delay2_5 {
  animation-delay: 0.7s;
}
.delay5 {
  animation-delay: 1.4s;
}
.delay7_5 {
  animation-delay: 2.1s;
}