/* Estilo geral da página */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Contêiner da página */
.page-container {
    display: flex;
    flex-direction: column; /* Ajuste para empilhar o vídeo e o formulário */
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    align-items: center;
}

/* Estilo do vídeo */
.video-container {
    width: 100%;
    max-width: 800px;
    height: 450px; /* Ajuste conforme necessário */
    margin-bottom: 30px; /* Espaço entre o vídeo e o formulário */
}

.video-container iframe {
    width: 100%; /* Faz o vídeo ocupar toda a largura disponível */
    height: 100%; /* Faz o vídeo ocupar toda a altura disponível */
    border: none;
}

/* Estilo do formulário */
.form-container {
    width: 100%;
   
    
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container h2 {
    text-align: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #4CAF50;
    outline: none;
}

.container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

button {
    padding: 8px 12px;
    border: none;
    background: transparent linear-gradient(224deg, #036323, #fa5af8) 0% 0% no-repeat padding-box;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0056b3;
}
button {
 
    padding: 12px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}
.button1 {
    margin: 15px;
    padding: 10px 10px;
    font-size: 10px;
    background-color: #fa0707; /* Fundo preto para os botões */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 8px;
    cursor: pointer;

  }
button:active {
    background-color: #388e3c;
}

/* Estilo para o link de redirecionamento */
.redirect-container {
    text-align: center;
    color: #2196F3;
    margin-top: 20px;
}

.redirect-container a {
    color: #2196F3;
    text-decoration: none;
}

.redirect-container a:hover {
    text-decoration: underline;
}

/* Estilo para os botões do joystick */
.control-container {
    width: 45%;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.control-container h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.joystick-button {
    font-size: 30px;
    width: 80px;
    height: 80px;
    margin: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.joystick-button:hover {
    background-color: #45a049;
}

.joystick-button:active {
    background-color: #388e3c;
}

/* Div para os botões horizontais */
.horizontal-buttons {
    display: flex;
    justify-content: space-between;
    width: 180px;
    margin: 10px 0;
}

/* Adicionando efeitos para tornar mais interativo */
.joystick-button:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Resetando margens e paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo da página */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(90deg, #a73b04 18% 55%, #7309bf 200%);
}

/* Container da página */
.page-container {
    display: flex;
    flex-direction: column; /* Mudando para coluna para empilhar elementos */
    justify-content: center;
    width: 80%;
    height: 80%;
}

/* Container do vídeo */
.video-container {
    margin: 5px auto;
    width: 100%;
    max-width: 600px;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Container do controle */
.control-container {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    height: 100%;
}

.control-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Container dos botões */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Container horizontal dos botões esquerda e direita */
.horizontal-buttons {
    display: flex;
    justify-content: space-between;
    width: 150px;
}

/* Estilos dos botões */
.joystick-button {
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.joystick-button:hover {
    background-color: #45a049;
}

.joystick-button:active {
    background-color: #388e3c;
}

/* Estilos para quando o botão estiver pressionado */
.joystick-button:focus {
    outline: none;
}

/* Botão descer garra */
#down-garra {
    background-color: #f44336;
}

#down-garra:hover {
    background-color: #e53935;
}

#down-garra:active {
    background-color: #d32f2f;
}

#pixQrCode img {
    width: 150px; /* Ajuste o valor conforme necessário */
    height: auto;
}
