*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: relative;
}

:root {
  --vh: 100vh;
}

@supports (height: 100dvh) {
  :root {
    --vh: 100dvh;
  }
}

.scale-wrapper {
  width: 1920px; /* largura base do layout */
  transform-origin: top left;
}

html {
  font-size: 16px;
}

body {
  font-family: "Lato", sans-serif;
  overflow: hidden;
}

html, body {
  font-family: "Lato", sans-serif;
}

body, main {
  min-height: 100vh;
  width: 100%;
}

h2, h3, h4, a {
  text-transform: uppercase;
}

.black {
  color: #2b2b2b;
}

.white {
  color: #fff;
}


a {
  text-decoration: none;
  display: block;
  margin-top: 12px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hotpage {
  background-image: url("bg.jpg");
  background-size: cover;
  background-position-x: right;
  display: flex;
  justify-content: space-between;
  min-height: var(--vh);
  overflow: hidden;
}

.grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
}

.logo {
  grid-column: 2 / span 2;
  align-self: center;
  z-index: 10000;
}

.title {
  padding-top: 60px;
}

.title span {
  display: block;
  margin-left: 48px;
  z-index: 100;
}

.title h2::before {
  bottom: 0;
  content: "";
  background-image: url("id-left.png");
  background-size: cover;
  height: 809px;
  width: 892px;
  position: absolute;
  transform: translate(-40px, 80px);
}

.link {
  display: flex;
  flex-direction: column;
}

.link::before {
  content: "";
  background-image: url("id-right.png");
  background-size: cover;
  height: 501px;
  width: 1297px;
  position: absolute;
  right: 0;
  /*transform: translateY(-40px);*/
  bottom: 0;
}

.link-filmes {
  margin-top: 77px;
}

.link h2 {
  font-weight: 900;
  font-size: 40px;
}

.link h3 {
  margin-bottom: 16px;
}

.link img  {
  width: 180px;
  margin-top: 100px;
}

/* ============================= */
/* SCALE LAYOUT (efeito imagem) */
/* ============================= */

body {
  margin: 0;
  overflow: hidden;
  background: #000;
}

/* container ocupa viewport inteiro */
.scale-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* canvas fixo centralizado */
.scale-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 1920px;
  height: 1080px;

  transform-origin: center center;
}

.hotpage {
  width: 1920px;
  height: 1080px;
  min-height: unset; /* remove vh */
}

/* ============================= */
/* MOBILE (modo responsivo real) */
/* ============================= */

@media (max-width: 700px) {
  body {
    overflow: auto;
  }

  .scale-container {
    position: static;
  }

  .scale-wrapper {
    position: static;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .hotpage {
    width: 100%;
    height: auto;
    min-height: var(--vh);
  }

  .grid {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 24px;
  }

  .logo {
    grid-column: 1;
    align-self: flex-start;
  }

  .logo img {
    width: 100%;
  }

  .link::before,
  .title h2::before {
    display: none;
  }

  .title span {
    display: block;
    margin-left: 0;
    z-index: 100;
    /*color: #f25921;*/
  }

  .link .link-filmes h2 {
    color: #f25921;
  }

  .black {
    color: #fff;
  }
}