:root {
  --marrom: rgba(110, 3, 1, 1);
  --azul-claro: rgba(146, 221, 231, 1);
  --azul-escuro: rgba(9, 110, 139, 1);
  --amarelo: rgba(255, 255, 0, 1);
  --branco: rgba(250, 241, 235, 1);
  --creme: rgba(234, 197, 169, 1);
  --medida: 4vw;
  --footer: 70px;
}
#wpadminbar {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0px!important;
}
::-webkit-scrollbar {
  display: none;
}
::selection {
  background-color: var(--amarelo);
}
.page {
  margin: 0px;
}
body {
  background-color: var(--branco);
  color: var(--marrom);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  font-family: 'Transcript Regular';
}
.page-transition {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--azul-claro, #f7f4f5); /* Use a cor de fundo do seu layout */
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}
body.loaded .page-transition {
  opacity: 0;
}
body.saindo .page-transition {
  opacity: 1;
  pointer-events: auto;
}

@font-face {
  font-family: 'Tijolo Medium';
  src: url('./Tijolo-Medium.woff2') format('woff2'),
       url('./Tijolo-Medium.woff') format('woff');
}
@font-face {
  font-family: 'Tijolo Regular';
  src: url('./Tijolo-Regular.woff2') format('woff2'),
       url('./Tijolo-Regular.woff') format('woff');
}
.tijolo {
    font-family: 'Tijolo Medium';
}
@font-face {
  font-family: 'Transcript Mono Medium';
  src: url('./transcript-mono-medium-pro.otf') format('opentype')
}
@font-face {
  font-family: 'Transcript Mono Regular';
  src: url('./transcript-mono-regular-pro.otf') format('opentype')
}
@font-face {
  font-family: 'Transcript Medium';
  src: url('./transcript-medium-pro.otf') format('opentype')
}
.medium {
  font-family: 'Transcript Medium';
}
@font-face {
  font-family: 'Transcript Regular';
  src: url('./transcript-regular-pro.otf') format('opentype')
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: translate(0, 2rem);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
.in-view {
  animation: fade .4s .4s both;
}
.not-in-view {
  opacity: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0px;
}
.container-cs {
  width: 100%;
  padding-left: 10vw;
  padding-right: 10vw;
}

a, a:hover, a:visited, a:active {
  color: var(--preto);
  text-decoration: none;
  transition: all 0.5s ease;
}
ul, ol {
  margin: 0px;
  padding: 0px;
}
.ratio-1x1 {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.w-fit {
  width: fit-content;
}

header {
  background-color: var(--marrom);
  height: 50px;
  z-index: 999;
}
.logo {
  position: fixed;
  left: var(--medida);
  height: 80px;
  top: 50px;
  transform: translateY(-23%);
  z-index: 9999;
  opacity: 1;
  margin-top: 0px;
  transition: opacity 0.3s ease, margin-top 0.3s ease;
}

body:has(.intro.ativa) .logo {
  opacity: 0;
  pointer-events: none;
  margin-top: 5px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: var(--footer);
  background-color: var(--azul-escuro);
  border-top: 10pt solid var(--amarelo);
  padding: 0px var(--medida);
  gap: 12px;
  z-index: 998;
}

footer div.flex {
  gap: 12px;
}

footer .botao {
  background-color: var(--branco);
  color: var(--marrom);
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 40px;
  font-family: 'Transcript Medium';
  filter: brightness(97%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

footer .botao:hover {
  filter: brightness(105%);
  transform: translateY(-2px);
  cursor: pointer;
}


/* audio player */

audio {
  height: 40px;
  width: 100%;
  outline: none;
  position: relative;
}
audio::-webkit-media-controls-panel {
  border-radius: 5px;
}
audio::-webkit-media-controls-play-button {
  background-color: lightgrey;
  border-radius: 100%;
}
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  font-size: 10px;
  text-shadow: none;
}
.audio-wrapper {
  height: 40px;
  border-radius: 40px;
}
.audio-wrapper .absolute {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--marrom);
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: 40px;
}
