/* Container para a imagem e a barra */
.image-slider-wrapper {
  display: flex;
  align-items: center;
  width: 100%; /* Garante que o container ocupe toda a largura disponível */
  justify-content: flex-start; /* Garante que o conteúdo comece a partir da esquerda */
  gap: 10px; /* Adiciona um pequeno espaçamento entre a barra e a imagem */
  padding: 0; /* Garante que o container não tenha padding extra */
  margin: 0; /* Remove margens extras */
}

/* Estilo para a barra RGB */
.vertical-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 300px; /* Tamanho vertical da barra */
  writing-mode: vertical-lr; /* Torna a barra vertical */
  background: transparent;
  padding: 0;
  margin: 0;
}

/* Chrome/Edge */
.vertical-slider::-webkit-slider-runnable-track {
  background: linear-gradient(to top, red, yellow, lime, cyan, blue, magenta, red);
  border-radius: 10px;
  width: 8px;
  height: 100%;
}

/* Estilo da bolinha de controle da barra */
.vertical-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  margin-left: -5px; /* Centraliza o thumb */
}

/* Firefox */
.vertical-slider::-moz-range-track {
  background: linear-gradient(to top, red, yellow, lime, cyan, blue, magenta, red);
  border-radius: 10px;
  width: 8px;
  height: 100%;
}

.vertical-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
}

/* Imagem com filtro de cor controlado */
#fanImage {
  filter: hue-rotate(0deg);
  transition: filter 0.3s ease;
  width: 100%;
  max-height: 1000px;
  object-fit: contain;
}

/* Ajustes adicionais para o layout */
.image-slider-wrapper > .col-2 {
  flex-shrink: 0; /* Impede que a barra se encolha */
}

.image-slider-wrapper > .col-10 {
  flex-grow: 1; /* Permite que a imagem ocupe o máximo de espaço disponível */
}


/* Estilos da caixa de recursos (feature-box) */
.feature-box {
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-box:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-text {
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.3rem;
  color: white; /* Cor do texto */
}

/* Estilos da sobreposição de texto */
.row.boxcolor {
  position: relative;
  overflow: hidden;
}

.text-overlay.text-box {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 10px 30px;
  border-radius: 5px;
  max-width: 75%;
  z-index: 2;
}

/* Efeitos de hover para a troca de imagem */
.hover-slide {
  display: inline-block;
  max-width: 100%;
}

.hover-slide .img-base,
.hover-slide .img-hover {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.75s ease-in-out;
}

.hover-slide .img-base {
  opacity: 1;
  z-index: 1;
  position: relative;
}

.hover-slide .img-hover {
  opacity: 0;
  z-index: 2;
}

.hover-slide:hover .img-base {
  opacity: 0;
}

.hover-slide:hover .img-hover {
  opacity: 1;
}

/* Definindo altura máxima da imagem */
.max-img-height {
  max-height: 900px;
  width: 100%;
  object-fit: contain;
}

/* Estilo para imagens de ícones */
.icon-image {
  display: block;
  margin-bottom: 30px;
  height: 100px;
  width: auto;
}

/* Estilo para transições de opacidade nas imagens */
.fade-image {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.fade-image.hidden {
  opacity: 0;
}

/* Estilo para carregamento lento das imagens */
.lazy-load {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lazy-load.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Estilo para os títulos */
.title {
  text-transform: uppercase;
  font-size: 30px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  margin-left: 5rem;
  margin-right: 5rem;

}

.sub-title {
  font-size: 25px;
  font-family: 'Roboto', sans-serif;
  margin-left: 5rem;
  margin-right: 5rem;
}

/* Avisos (pequenos textos) */
.aviso {
  font-size: 12px;
  font-style: italic;
  text-align: center;
}

/* Estilos de alinhamento do texto */
.p-left {
  text-align: left !important;
  margin-left: 10%;
  font-family: 'Roboto', sans-serif;
}

.txt-size {
  font-size: 20px;
}

.p-center {
  color: #000;
  text-align: center;
  padding: 10px;
  font-family: 'Roboto', sans-serif;
  max-width: 1750px;
}

.txt-preto {
  color: #000;
}

.txt-branco {
  color: #fff !important;
}

/* Estilos para fundos */
.boxcolor {
  background-color: #707070;
}

.boxcolor2 {
  background-color: #1f1f1f;
}

.boxcolor3 {
  background-color: #141414;
}

.boxcolor4 {
  background-color: #000000;
  background-image: url("../img/bg1.png");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  height: 100%;
}

.boxcolorbot {
  background-color: #000000;
  margin-top: 25px;
}

/* Media Queries para ajustes em dispositivos menores */
@media (min-width: 720px) {
  .title {
    text-align: auto;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
  }

  .sub-title {
    font-size: 25px;
    font-family: 'Roboto', sans-serif;
  }

  .p-center {
    text-align: center;
  }
}
