@import url('menu.css');

/* --- TÍTULO PRINCIPAL --- */
#tline {
    font-family: 'Apex Mk2';
    font-style: normal;
    font-weight: 700;
    font-size: 3.125vw;
    line-height: 2.5vw;
    color: #00da88;
}

#tlineweiß {
    color: #FFFFFF;
}

/* --- CAIXA DE TEXTO PRINCIPAL --- */
#textbox {
    position: absolute;
    width: 43.05705059203444vh;
    height: 26.041666666666668vw;
    top: 30%;
    left: 60%;
}

/* --- INFORMAÇÕES DO SERVIDOR --- */
#serverinfo {
    position: absolute;
    top: 25%;
    width: 70vh;
    font-family: 'Akrobat SemiBold', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.3020833333333333vw;
    line-height: 1.5625vw;
    color: #e0e0e0;
    text-align: justify;
}

#serverinfo span {
    color: #00da88;
    font-weight: bold;
}

/* --- BOTÃO PLAY --- */
#play {
    position: absolute;
    width: 44.13347685683531vh;
    height: 4.583333333333333vw;
    background: rgb(0, 218, 136);
    box-shadow: 0vw 0vw 0.2604166666666667vw #00da88;
    border-radius: 0.2604166666666667vw;
    text-align: center;
    top: 70%;
    left: 65%;
    cursor: pointer;
    display: inline-block;
    transition: 0.5s;
}

#playtext {
    position: absolute;
    left: 40%;
    top: 30%;
    font-family: 'Akrobat Light', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1.8229166666666667vw;
    line-height: 2.1875vw;
    color: #000000;
}

#play:after {
    content: '▶';
    font-family: 'Akrobat Light', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1.8229166666666667vw;
    line-height: 2.1875vw;
    color: #000000;
    position: absolute;
    opacity: 0;
    top: 30%;
    left: 40%;
    transition: 0.3s;
}

#play:hover {
    padding-right: 2%;
    padding-left: 1%;
}

#play:hover:after {
    opacity: 1;
    right: 2%;
}

/* --- VÍDEO RESPONSIVO --- */
#timeline-video {
    position: absolute;
    width: 50%;
    height: 60%;
    left: 5%;
    top: 20%;
    box-shadow: 0 0 20px #00da88;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

#timeline-video iframe {
    width: 100%;
    height: 100%;
}

/* --- CONTROLE DE VOLUME --- */
#volume-control {
    position: absolute;
    top: 82%;
    left: 5%;
    width: 20%;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #12121200;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 218, 134, 0);
}

#volume {
    -webkit-appearance: none;  /* Remover estilo padrão do Chrome/Safari */
    appearance: none;
    width: 30%;
    height: 2px;
    background: #00da88;  /* Cor da barra de volume */
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

/* --- ESTILO DA BOLINHA (THUMB) PARA CHROME / SAFARI --- */
#volume::-webkit-slider-thumb {
    -webkit-appearance: none; 
    appearance: none;
    width: 15px;
    height: 15px;
    background-color: #00da88;  /* Cor da bolinha verde */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 218, 136, 0.8); /* Efeito brilhante na bolinha */
    cursor: pointer;
    border: 2px solid #fff;  /* Borda branca para maior destaque */
}

/* --- ESTILO DA BOLINHA (THUMB) PARA FIREFOX --- */
#volume::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background-color: #00da88;  /* Cor da bolinha verde */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 218, 136, 0.8); /* Efeito brilhante na bolinha */
    cursor: pointer;
    border: 2px solid #fff;  /* Borda branca para maior destaque */
}

/* --- BOTÃO ATIVAR SOM --- */
#unmute-btn {
    background-color: #00da86b4;
    color: #dfdfdf;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

#unmute-btn:hover {
    background-color: #00c76f;
    transform: scale(1.05);
}

/* ===== MOBILE RESPONSIVO (style.css) ===== */
@media (max-width: 768px) {
    /* Ajusta o fundo e garante que não haja scroll horizontal */
    body {
      overflow-x: hidden;
      background-image: url("../img/background.png");
    }
  
    /* Título principal: aumenta o tamanho e reposiciona se necessário */
    #tline {
      font-size: 8vw;
      left: 10%;
    }
  
    /* Caixa de texto: usar largura em % e remover medidas absolutas */
    #textbox {
      width: 90%;
      height: auto;
      top: 18%;
      left: 2%;
      padding: 10px;
      text-align: left;
    }
  
    /* Botão Play: torna-o maior e reposicionado */
    #play {
      width: 50%;
      height: 50;
      top: 85%;
      left: 25%;
      padding: 10px;
      display: none;
    }
  
    #playtext {
      font-size: 7vw;
      top: 35%;
      left: 33%;
    }
  
    /* Vídeo: redimensiona e centraliza */
    #timeline-video {
      width: 90%;
      height: 40%;
      top: 45%;
      left: 5%;
    }
  
    /* Controle de volume: disposição em coluna e largura completa */
    #volume-control {
      width: 80%;
      top: 85%;
      left: 40%;
      flex-direction: column;
      gap: 5px;
    }
  
    /* Botão de ativar som ocupa toda a largura */
    #unmute-btn {
      width: 100%;
    }
  
    /* Informações do servidor: ajusta tamanho de fonte e largura */
    #serverinfo {
      font-size: 3vw;
      line-height: 1.8;
      width: 90%;
      left: 3%;
      top: 250%;
      text-align: justify;
    }
  }