.barra-top,
.barra-bottom {
  position: fixed;
  left: 0;
  width: 100vw;
  height: 10px;
  z-index: 999999;
}


.dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  margin-right: 6px;
  transform: translateY(2px)
}

.single {
  position: fixed;
  background-color: rgba(244, 225, 211, 1);
  width: 100vw;
  height: 100vh;
  z-index:9999;
  overflow: hidden;
}
.single-wrap {
  padding: var(--medida)
}
.single img.foto {
  height: 100%;
  width: auto;
  transition: filter 0.7s ease;
}
.single img.foto.blur {
  filter: blur(20px);
}
.single .btn-fechar {
  position: absolute;
  top: 30px;
  right: 20px;
  width: 20px;
  height: 20px;
  padding: 4px;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.5s ease;
}
.single .btn-fechar:hover {
  transform: scale(1.1);
  opacity: 1;
}
.single-wrap--content {
  flex-grow: 1;
  margin-right: 50px;
  max-width: 350px;
}
.single .botao {
  width: fit-content;
  border-radius: 50px;
  padding: 8px 16px;
  background-color: rgb(247,244,245);
  margin: 6px 0px;
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 16px;
  height: 40px;
  width: 190px;
  font-size: 13px;
  transition: all 0.5s ease;
  filter: brightness(99%);
}
.botao .libras {
  mix-blend-mode: multiply;
  width: 22px;
}
.single .botao:hover {
  filter: brightness(110%);
  transform: translateY(-3px);
}
.single .audio-wrapper {
  margin-top: 50px;
}


.single-transcricao {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-47%);
  width: 400px;
  height: calc(100vh - 1.5*var(--medida));
  z-index: 9;
  background-color: rgba(244, 225, 211, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s ease;
}
.single-transcricao div.relative {
  overflow: auto;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.single-transcricao div.relative::after {
  content: '';
  display: block;
  position: fixed;
  width: 100%;
  height: 120px;
  bottom: 0;
  left: 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(
    to bottom,
    rgba(244, 225, 211, 0) 0%,
    rgba(244, 225, 211, 0.7) 60%,
    rgba(244, 225, 211, 0.98) 100%
  );
}
.single-transcricao .btn-fechar {
  position: fixed;
  top: 16px;
  right: 16px;
}
.single-transcricao.ativa {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,-50%);
}

.single-libras {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  position: fixed;
  z-index: 999;
  top: var(--medida);
  bottom: var(--medida);
  right: var(--medida);
  height: calc(100vh - 2*(var(--medida)));
  aspect-ratio: 1375/916;
  width: auto;
  transform: translateY(-3px);
  transition: all 0.5s ease;
}
.single-libras iframe {
  width: 90%;
  aspect-ratio: 16/9;
  height: auto;
}
.single-libras .btn-fechar {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: rgba(244, 225, 211, 0.4);
  backdrop-filter: blur(10px);

}
.single-libras.ativa {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0px);
}



.nav-single {
  position: absolute;
  padding: 0 20px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100vw;
}

.nav-single a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.nav-single a:hover {
  opacity: 1;
  transform: scale(1.1);
}
