@font-face {
  font-family: "Heineken";
  src: url("./fonts_heineken/HeinekenSerif18-ExtraBold_0.ttf")
    format("truetype");
}

body {
  padding: 0;
  margin: 0;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  color: #26b6bc;
  font-family: "Heineken";
  font-weight: bold;
  font-style: normal;
  line-height: normal;
  display: block;
  overflow: hidden;
  height: 100vh;
}

#jeeFaceFilterCanvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

.border-left {
  position: absolute;
  top: 3.4%;
  left: 2%;
  border-top: 1px solid white;
  width: 30%;
  height: 1px;
  z-index: 1;
}

/* @media screen and (max-width: 1024px) {
  .border-left {
    display: none;
  }
} */

.border-right {
  position: absolute;
  top: 3.4%;
  right: 1.9%;
  border-top: 1px solid white;
  width: 30%;
  height: 1px;
  z-index: 1;
}
/* 
@media screen and (max-width: 1024px) {
  .border-right {
    display: none;
  }
} */

.border {
  border: 1px solid white;
  height: 93vh;
  width: 96%;
  top: 3.5%;
  left: 2%;
  position: absolute;
  z-index: 1;
  border-top: none;
}

/* @media screen and (max-width: 1024px) {
  .border {
    display: none;
  }
} */

.heineken-icon {
  position: absolute;
  left: calc(50% - 70px);
  top: 3%;
  z-index: 4;
}

.garrafa {
  position: absolute;
  right: 0%;
  bottom: 0%;
  transition: all 0.4s ease-out;
}

.garrafa-transition {
  transform: translate(100%, 20%);
}

.lata {
  position: absolute;
  left: 0%;
  bottom: 0%;
  transition: all 0.4s ease-out;
}

.lata-transition {
  /* overflow: hidden; */
  transform: translate(-100%, 20%);
}

.content-step1 {
  /* visibility: visible; */
  opacity: 1;
  transition: opacity 0.3s linear;
  height: 93vh;
}

.transition-content-step1 {
  /* visibility: hidden; */
  opacity: 0;
  transition: opacity 0.3s linear;
}

.freshometro {
  /* position: absolute; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* top: 1%; */
  height: 100%;
}

.button {
  width: 230px;
  height: 80px;
  position: absolute;
  left: calc(50% - 115px);
  border-radius: 50px;
  text-align: center;
  bottom: 15%;
  background: #e32c3b;
  border-radius: 50px;
  border: 1px solid #e32c3b;
  align-self: center;
  color: white;
  font-family: "Heineken";
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease-in;
}

.button:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Second Page */
.content-step2 {
  position: absolute;
  top: 5%;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(130vh);
  transition: transform 1.5s ease-in;
}

.transition-content-step2 {
  transform: translateY(0vh);
}

.termometro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  height: 50vh;
  width: 100vh;
}

.align-text-line {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  position: absolute;
  width: 100%;
  transition: transform ease-in;
  transform: translateY(-90%);
}

@media screen and (min-width: 1440px) {
  .align-text-line {
    width: 75%;
  }
}

@media screen and (min-width: 1930px) {
  .align-text-line {
    width: 60%;
  }
}

.animate {
  animation-name: defineTemperatute;
  animation-duration: 5s;
  /* animation-play-state: running; */
}

.align-text-line .termometro-line {
  width: 320px;
  height: 4px;
  border: 2px solid #26b6bc;
  background-color: #26b6bc;
  box-shadow: 0px -4px #ffffff;
  bottom: 50%;
  border-radius: 50px;
}

.setTemperature {
  font-size: 19px;
}

.temperature::after {
  font-size: 76px;
  content: counter(count) " º";
  animation: defineTemperatute 5s;
}

@keyframes defineTemperatute {
  from {
    transform: translateY(-90%);
    counter-increment: count -10;
  }
  5% {
    counter-increment: count -8;
  }
  10% {
    counter-increment: count -6;
  }
  15% {
    counter-increment: count -5;
  }
  20% {
    counter-increment: count -1;
  }
  25% {
    /* transform: translateY(0%); */
    counter-increment: count 0;
  }
  25% {
    counter-increment: count 1;
  }
  25% {
    counter-increment: count 5;
  }
  25% {
    counter-increment: count 6;
  }
  25% {
    counter-increment: count 8;
  }
  50% {
    transform: translateY(90%);
    counter-increment: count 10;
  }
  55% {
    counter-increment: count 5;
  }
  60% {
    counter-increment: count 0;
  }
  65% {
    counter-increment: count -5;
  }
  70% {
    counter-increment: count -7;
  }
  75% {
    transform: translateY(-90%);
    counter-increment: count -10;
  }
  80% {
    counter-increment: count -5;
  }
  85% {
    counter-increment: count 0;
  }
  90% {
    counter-increment: count 1;
  }
  95% {
    counter-increment: count 5;
  }
  to {
    transform: translateY(90%);
    counter-increment: count 10;
  }
}

.footer_ice {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 35vh;
  bottom: 0%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("./images/footer_gelo.png");
  background-size: cover;
}

.text-footer-ice {
  position: absolute;
  z-index: 1;
  bottom: 35%;
  width: 25vh;
}

.fade-out-step2 {
  opacity: 0;
  transition: opacity 0.5s linear;
}

/* Third Page */
.content-step3 {
  width: 100%;
  height: 100vh;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s linear;
}

.transition-content-step3 {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s linear;
}

.footer-ice {
  position: absolute;
  z-index: 1;
  height: 27vh;
  width: 100%;
  bottom: 0%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("./images/footer_gelo.png");
  background-size: cover;
}

.result {
  font-size: 24px;
  text-align: center;
  width: 80%;
  margin-block-start: 0;
  margin-block-end: 0;
}

.restart-button {
  width: 174px;
  height: 56px;
  top: 7%;
  right: 5%;
  position: absolute;
  border-radius: 50px;
  text-align: center;
  background: #e32c3b;
  border-radius: 50px;
  border: 1px solid #e32c3b;
  color: white;
  font-family: "Heineken";
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease-in;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.restart-button:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.camera {
  z-index: 9999;
}

/* No browser and mobile support */
.text-mancha {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background-image: url(/images/mancha-01.png); */
  margin-top: 15%;
  position: relative;
}

@media screen and (max-width: 1024px) {
  .text-mancha {
    margin-top: 20%;
  }
}

@media screen and (max-width: 768px) {
  .text-mancha {
    margin-top: 30%;
  }
}
@media screen and (max-width: 425px) {
  .text-mancha {
    margin-top: 45%;
  }
}

.brainFreeze {
  font-size: 3vw;
  z-index: 1;
  margin-block-start: 0;
  margin-block-end: 0;
  color: #26b1b7;
}

@media screen and (max-width: 1024px) {
  .brainFreeze {
    font-size: x-large;
  }
}

.notSuported {
  font-size: x-large;
  z-index: 1;
  margin-block-start: 0;
  margin-block-end: 0;
  color: #26b1b7;
}

@media screen and (max-width: 1024px) {
  .notSuported {
    font-size: large;
    width: 62%;
    text-align: center;
  }
}

.text-browsers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 13%;
}

@media screen and (min-width: 1370px) {
  .text-browsers {
    margin-top: 7%;
  }
}

.changeVersion {
  font-size: x-large;
  text-align: center;
  width: 75vh;
  color: #26b1b7;
}

@media screen and (max-width: 1024px) {
  .changeVersion {
    width: 90%;
    font-size: large;
  }
}

.browsers {
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 2;
}

.browser {
  width: 9vh;
  padding-right: 30px;
}
