/** FONTS **/

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro.woff") format("woff"), url("DINPro.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-BlackItalic.woff") format("woff"),
    url("DINPro-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-Black.woff") format("woff"),
    url("DINPro-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedBlack.woff") format("woff"),
    url("DINPro-CondensedBlack.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-Bold.woff") format("woff"),
    url("DINPro-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-BoldItalic.woff") format("woff"),
    url("DINPro-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedMedium.woff") format("woff"),
    url("DINPro-CondensedMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedItalic.woff") format("woff"),
    url("DINPro-CondensedItalic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedLightItalic.woff") format("woff"),
    url("DINPro-CondensedLightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedLight.woff") format("woff"),
    url("DINPro-CondensedLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedBold.woff") format("woff"),
    url("DINPro-CondensedBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedBoldItalic.woff") format("woff"),
    url("DINPro-CondensedBoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedBlackItalic.woff") format("woff"),
    url("DINPro-CondensedBlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedMediumItalic.woff") format("woff"),
    url("DINPro-CondensedMediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-Italic.woff") format("woff"),
    url("DINPro-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-LightItalic.woff") format("woff"),
    url("DINPro-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-Light.woff") format("woff"),
    url("DINPro-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-MediumItalic.woff") format("woff"),
    url("DINPro-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("DINPro-Medium.woff") format("woff"),
    url("DINPro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro Cond";
  src: url("DINPro-CondensedRegular.woff") format("woff"),
    url("DINPro-CondensedRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  /* height: 30000px; */
  overflow-y: auto;
  background: #111;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li,
a,
button {
  font-family: "DIN Pro Cond", sans-serif;
  line-height: 1;
  margin: 0;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
}

#stage {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto 0;
  position: absolute;
  height: 100vh;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#product3D {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto 0;
  position: absolute;
  height: 100vh;
  bottom: 0;
}

#stage::after {
  content: "";
  width: 1250px;
  height: 780px;
  position: absolute;
  background-image: url(img/placa.webp);
  top: 100px;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
}

.container {
  height: 100vh;
  position: relative;
  background-image: url(img/bg.webp);
}

h2,
h3 {
  margin: 0;
  font-size: 58px;
  text-transform: uppercase;
  color: #3f2b78;
}

p {
  color: #3f2b78;
  font-size: 30px;
}

/** letras **/

.container {
  overflow: hidden;
}

.txtContainer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  width: 1250px;
  z-index: 2;
}

.opt {
  position: absolute;
}

.txtContainer .twoItems {
  display: flex;
  align-items: center;
  gap: 50px;
}

.txtContainer .logoScroll {
  display: block;
  height: auto;
  text-align: center;
  margin: 0 auto 20px;
  width: 426px;
}

.firstTitle {
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  top: 300px;
}

.firstTitle p {
  text-align: center;
  margin: 20px auto 0;
  max-width: 680px;
  font-size: 30px;
  font-family: "DIN Pro";
}

.secondText,
.thirdTxt {
  bottom: 200px;
  max-width: 550px;
  right: 50px;
}

.forthTxt {
  max-width: 500px;
  bottom: 130px;
  right: 100px;
}

.firstTwo,
.secondTwo {
  left: 50%;
  transform: translateX(-50%);
  top: 250px;
  width: 870px;
}

.twoItems img {
  width: 374px;
  height: 374px;
  display: block;
}

.finalTxt.opt {
  width: 800px;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  text-align: center;
}

.secondText h2,
.thirdTxt h2 {
  font-size: 56px;
  width: 550px;
}

.secondTwo .twoItems h2 {
  font-size: 62px;
  width: 540px;
}

.forthTxt h2 {
  font-size: 64px;
  width: 500px;
}

.twoItems h2 {
  font-size: 62px;
  width: 420px;
}

.firstTitle h2 {
  max-width: 670px;
  margin: 0 auto;
  font-weight: bold;
}

.finalTxt h2 {
  font-size: 76px;
  max-width: 385px;
  margin: 0 auto;
}

.zooms {
  z-index: 10;
  position: absolute;
}

.zoom1,
.zoom2 {
  left: 50%;
  transform: translateX(-50%);
}

.zoom3 {
  top: 140px;
  left: 30px;
}
.zooms img {
  max-width: 100%;
}
/** Responsive x altura **/

@media only screen and (min-height: 550px) and (max-height: 900px) {
  .firstTitle {
    top: 270px;
  }

  .secondText,
  .thirdTxt {
    bottom: 20px;
  }

  .zooms {
    max-width: 620px;
    top: 50px;
  }

  .forthTxt {
    bottom: 70px;
  }
}

@media only screen and (min-height: 901px) and (max-height: 970px) {
  .secondText,
  .thirdTxt {
    bottom: 50px;
  }

  .zooms {
    max-width: 680px;
    top: 50px;
  }
}

@media only screen and (min-height: 971px) and (max-height: 1050px) {
  .secondText,
  .thirdTxt {
    bottom: 100px;
  }
}

@media only screen and (max-height: 1050px) {
  .zoom3 {
    left: 220px;
    top: 100px;
  }
  .forthTxt {
    bottom: 100px;
  }
}

@media only screen and (max-width: 1439px) and (max-height: 789px) {
  #stage::after {
    width: 866px;
    left: 50%;
    transform: translateX(-50%);
    height: 540px;
    top: 40px;
  }

  .firstTitle {
    top: 145px;
  }

  .firstTitle h2 {
    font-size: 42px;
    text-align: center;
  }

  .firstTitle p {
    font-size: 20px;
    max-width: 500px;
  }

  .zooms {
    max-width: 450px;
  }

  .zooms.zoom1,
  .zooms.zoom2 {
    left: 38%;
    top: 20px;
  }

  .secondText h2,
  .thirdTxt h2 {
    font-size: 42px;
    width: 410px;
  }

  .txtContainer {
    width: 866px;
    height: 540px;
    top: 40px;
  }

  .forthTxt {
    bottom: 0;
  }

  .forthTxt h2 {
    font-size: 44px;
    width: 350px;
  }

  .firstTwo,
  .secondTwo {
    width: 600px;
    top: 100px;
  }

  .twoItems img {
    width: 260px;
    height: 260px;
  }

  .twoItems h2 {
    font-size: 42px;
    width: 290px;
  }

  .secondTwo .twoItems h2 {
    font-size: 42px;
    width: 374px;
  }

  .twoItems p {
    font-size: 20px;
    margin-top: 10px;
  }

  .txtContainer .secondTwo .twoItems {
    gap: 0;
  }
}

@media only screen and (max-width: 1580px) and (max-height: 820px) {
  .txtContainer,
  #stage::after {
    width: 1150px;
    height: 716px;
    bottom: unset;
    top: 20px;
  }
  #stage::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .zooms {
    max-width: 500px;
  }

  .zoom1,
  .zoom2 {
    left: 40%;
  }

  .forthTxt h2 {
    font-size: 52px;
    width: 410px;
  }
}

@media only screen and (min-width: 1400px) and (max-width: 1600px) and (max-height: 850px) {
  .firstTitle.opt {
    top: 200px;
  }

  .secondText,
  .thirdTxt {
    bottom: 120px;
  }
  .forthTxt {
    bottom: 50px;
  }

  .firstTwo,
  .secondTwo {
    top: 190px;
  }
}

@media only screen and (max-width: 764px) {
  .container {
    background-image: url(/img/bgMobile.webp);
    background-size: cover;
  }

  #stage::after {
    background-image: url(/img/placaMobiler.webp);
    width: 100%;
    background-size: cover;
  }

  .txtContainer,
  #stage::after {
    max-width: 92vw;
    top: 0;
  }

  .firstTitle {
    max-width: 330px;
    top: 190px;
  }

  .zooms {
    max-width: 290px;
    width: 290px;
  }

  .zoom1,
  .zoom2 {
    top: 140px !important;
    left: 50% !important;
    transform: translateX(-50%);
  }

  .secondText,
  .thirdTxt {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 310px;
    max-width: 310px;
    right: unset;
  }

  .secondText h2,
  .thirdTxt h2 {
    font-size: 32px;
    max-width: 100%;
    text-align: center;
  }
  .zoom3 {
    left: 50%;
    transform: translateX(-50%);
    top: 140px;
  }
  .forthTxt {
    top: 40px;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    text-align: center;
  }

  .forthTxt h2 {
    width: 100%;
    font-size: 36px;
  }

  .txtContainer .twoItems {
    flex-direction: column;
    gap: 20px;
  }

  .firstTwo img {
    max-width: 160px;
    height: auto;
  }

  .twoItems h2 {
    font-size: 36px;
    text-align: center;
    max-width: 240px;
  }

  .firstTwo,
  .secondTwo {
    max-width: 340px;
    top: 110px;
  }

  .secondTwo .twoItems h2 {
    font-size: 30px;
    margin: 0 auto;
    width: 100%;
    letter-spacing: -0.7px;
  }

  .contentTxt {
    width: 100%;
  }

  .twoItems p {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
  }

  .finalTxt.opt {
    width: 330px;
  }

  .finalTxt.opt img {
    max-width: 100%;
    width: 200px;
  }

  .finalTxt h2 {
    font-size: 42px;
  }
}
