* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #ffffff;
  color: #000000;
  font-family: "IBM Plex Mono", monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

.ruido-global {
  position: fixed;
  inset: 0;
  z-index: 10;

  background-image: url("./assets/ruido.gif");
  background-position: top left;
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.12;

  pointer-events: none;
}

.participe-main {
  width: 100%;
  height: calc(100vh - 54px);
  height: calc(100svh - 54px);

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.identificacao-pagina {
  margin: 0;

  position: absolute;
  top: 14px;
  right: 20px;
  left: 20px;
  z-index: 30;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
}

.relogio-sp,
.nome-pagina {
  margin: 0;
  display: block;
  flex-shrink: 0;

  color: #000000;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.separador-relogio {
  opacity: 1;
}

.separador-relogio.apagado {
  opacity: 0;
}

.area-convite {
  width: 100%;
  padding: 68px 20px 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 30;
}

.texto-convite {
  width: min(720px, 100%);
  padding: 0;

  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.texto-convite p {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(11px, 1.05vw, 15px);
  line-height: 1.55;
}

.texto-convite .estado-convite {
  margin-top: 16px;
  font-weight: 700;
}

.estado-convite a {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
}

@media (max-width: 720px) {
  .participe-main {
    height: calc(100vh - 48px);
    height: calc(100svh - 48px);
  }

  .identificacao-pagina {
    top: 10px;
    right: 12px;
    left: 12px;
    gap: 12px;
  }

  .relogio-sp,
  .nome-pagina {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .area-convite {
    padding: 62px 12px 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .separador-relogio {
    opacity: 1 !important;
  }
}
