
@font-face {
  font-family: "Professor Marbles";
  src: url("fonts/Professor\ Marbles\ 2_PersonalUseOnly.ttf") format("opentype");
}

  @font-face {
  font-family: Cookie Supply;
  src: url("fonts/Cookie\ Supply\ DEMO.otf") format("opentype");
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
}

img {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

#main {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background-image: url(assets/BG_Dia.png);
  background-position: bottom ;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  overflow: hidden;
}

.looseElement {
  position: absolute;
  height: 20%;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
.mobileOnly {
  display: none;
}
.desktopOnly {
  display: block;
}
#top {
  top: -2%;
  width: 20%;
  height: auto;
  left: 10%;
  z-index: 2;
}

#left {

  bottom: 0%;
  width: 20%;
  left: 4%;
  height: auto;
}

#bee {
  bottom: 0%;
  right: 21%;
  width: 22%;
  height: auto;
  z-index: 4;
}

#actualBee {
  bottom: 23%;
  right: 19%;
  width: 8%;
  height: auto;
  z-index: 3;
}

#duo {
  bottom: 0%;

  width: 31%;
  height: auto;
  right: 4%;
}

#quadro {
  width: 100%;
  height: auto;
  /* height: 100%; */
  position: relative;
  /* max-height: 57.8vw; */
}

#quadroImg {
  width: 100%;
  height: auto;
  position: relative;
  bottom: 0;
  z-index: 1;
  left: -3%;
  /* max-height: 57.8vw;
  object-position: bottom;
  object-fit: contain; */
}
#quadroImgMobile {

  height: auto;
  position: relative;
  z-index: 1;
  width: 100%;
  bottom: 6%;
  display: none;
}

#logo {
  bottom: 65%;
  right: 34%;
  width: 30%;
  height: auto;
}

form {
  font-size: 0.54vw;
  font-family: Poppins;
  /* border: red solid 3px; */
  padding: 2em;
  gap: 1em;



  position: absolute;

  z-index: 1;
  display: flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  opacity: 100%;
  transition: opacity .5s ease-in-out;

  top: 35%;
  bottom: 31%;


  left: 26%;
  right: 29%;
}

#inputWrapper {
  width: 100%;
  height: 70%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 1%;
  grid-row-gap: 5%;
  max-height: 70%;

  overflow: hidden;
  padding: .5em;
  z-index: 9;
}



.div1 {
  grid-area: 1 / 1 / 2 / 4;
}

.div2 {
  grid-area: 1 / 4 / 2 / 6;
}

.div3 {
  grid-area: 2 / 1 / 3 / 4;
}

.div4 {
  grid-area: 2 / 4 / 3 / 6;
}

.div5 {
  grid-area: 3 / 1 / 4 / 5;
}

.div6 {
  grid-area: 3 / 5 / 4 / 6;
}

h2 {
  font-size: 2.8em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

h4 {
  font-family: Cookie Supply;
  text-align: center;

  width: 100%;
  margin: 0;
  padding: 0;


  font-size: 2em;
  opacity: .5;
}

input {

  border: none;

  background-color: rgba(54, 32, 16, 0.1);
  color: rgb(0, 0, 0);
  border-radius: 1em;
  flex-grow: 1;
  width: 100%;
  padding: 0em 0.75em;
  font-size: 1em;
  outline: .08em solid #54463d;
}



#idade {
  width: 55%;
}

.input {
  font-size: 2.5em;
  white-space: nowrap;
  /* background-color: red; */
  gap: 0.5em;
  display: flex;
  align-items: center;

  height: 100%;
}

.input span {
  width: fit-content;
}

button {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  background-color: none;
  background: none !important;
  overflow: hidden;

}

button img {
  position: relative;
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
  top: 100%;
  height: 200%;
  width: auto;
  object-fit: cover;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  display: none;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;

}

#videoContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  mix-blend-mode: lighten;
  pointer-events: none !important;
  user-select: none;
  opacity: 100%;
  transition: opacity .1s ease-in-out;
}

#videoContainer::-webkit-media-controls-panel {
  display: none !important;
  opacity: 1 !important;
}

#fullscreenVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.hidden {
  opacity: 0% !important;
  pointer-events: none !important;
  user-select: none;
}

.sendImage {
  user-select: none !important;
  pointer-events: none !important;
}

.text-container {
  font-size: 1.5vw;
  font-family: Poppins;
  padding: 2em;
  gap: 1em;
  left: 27%;
  top: 36%;
  bottom: 30%;
  position: absolute;
  right: 28%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  opacity: 100%;
  transition: opacity .5s ease-in-out;
  text-align: center;


}

.reveal {
  display: inline-block;
  opacity: 0;
  filter: blur(20px);
  transition: opacity .5s ease, filter 1s ease;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
}
@media (max-width: 1024px) and (orientation: portrait) {
  @media (min-aspect-ratio: 536/769) {
    #quadro {
      transform: scale(0.7) translateY(21%) !important;
    }
  }


.mobileOnly {
  display: block;

  width: 33% !important;
}
  .desktopOnly {
  display: none;
}
  #main {

    background-image: url(assets/Group\ 2.png);
    background-position: bottom ;
    background-repeat: no-repeat;
    background-size: cover;

  }
  #quadroImg {
    display: none;
  }

  #quadroImgMobile {
    display: block;
  }

  #left {
    left: -4%;
    bottom: -2%;
    width: 41%;
  }

  #duo {
    right: -4%;
    width: 45%;
  }

  #logo {
    bottom: 81%;
    right: 19%;
    width: 58%;
  }

  form {
    top: 19.5%;
    bottom: 31%;
    left: 12%;
    right: 15%;
   
  }

  h4 {
    width: 66%;
    font-size: 6em;
  }

  #inputWrapper {
    display: flex;
    flex-direction: column;
  }

  .input {
    font-size: 5.5em;
    height: 100%;
  }

  h2 {
    font-size: 6.5em;
    width: 80%;
  }

  button {
    height: 3em !important;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 1em;
  }



  button img {
    height: auto;
    width: 70%;
    transform: unset;
    inset: unset !important;
  }

  #quadro {
    width: 100%;
  }

  #quadroImgMobile {
    width: 172%;
    bottom: 7%;
    left: -40.5%;
  }

  .text-container {
    font-size: 3.5vw;
    left: 13%;
    top: 19%;
    right: 15%;
  }

  #top {
    width: 45%;
    left: 6%;
  }

  #main {
    background-position-x: center;
  }
  .contador {
    z-index: 9;
    position: fixed;
    /* width: 80%; */

    bottom: 1rem;
    background-color: #0077ff;
    height: fit-content;
    padding: 2rem;
    padding-top: 1rem;
    border-radius: 1rem;
    font-size: .8vw;
    text-align: center;
    font-family: "Professor Marbles";
    color: white;
    text-shadow: 0px 0px 10px #0077ff;
  }
 

}


@media (min-aspect-ratio: 18/9) {
  #quadro {
    transform: scale(0.9) translateY(6%);
  }
  }
  @media (min-aspect-ratio: 20/9) {
  #quadro {
   transform: scale(0.8) translateY(13%);
  }
  }
  @media (min-aspect-ratio: 21/9) {
  #quadro {
   transform: scale(0.7) translateY(22%);
  }
  }



  .contador {
    z-index: 999999999999999;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2rem !important;
    font-size: .8vw;
    text-align: center;
    font-family: "Professor Marbles";
    color: white;
    text-shadow: 0px 0px 10px #0077ff;
  }
  .contador h1 {
    font-size: 3em;
  }

  
  .tempo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6em;
    font-weight: bold;
    gap: .5em;

  }
  
  .numero {
    position: relative;
  }
  
  .numero::after {
    content: attr(id);
    display: block;
    font-size: .5em;
    font-weight: normal;
    text-transform: uppercase;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

  }
  
  .separador {

    font-size: 1em;

  }
  
