/* Estilo base */
body {
    background-color: black;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none; /* Removes underline */
    color: inherit;
}

a:hover, a:visited {
    color: inherit; /* Prevents color change on hover and visited */
}

.error {
    color: red;
}

.messages {
    margin: auto;
    padding: 15px;
    display: inline-block;
    border-radius: 10px;
    border-color: grey;
    color: green;
}

.marca {
    font-size: 42px;
    color: #6196cc;
    text-align: left;
    text-decoration: none;
    float: left;
    cursor: pointer;
}

h2 {
    font-size: 32px;
    margin-top: 20px;
}

.titulos {
    font-size: 32px;
    color: white;
    padding-top: 20px;
    margin: auto;
    max-width: 700px;
}

.aire {
    font-size: 50px;
    font-weight: bold;
    color: red;
}

.fade-text {
    opacity: 1; /* Totalmente visible */
    animation: fade 3s infinite; /* Nombre de la animación, duración y bucle infinito */
}

@keyframes fade {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

#divPlayer {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid grey;
    margin: 10px;
}

.playAndStop {
    cursor: pointer;
    display: inline-block;
    border-radius: 30px;
    background: #062c33;
    padding: 20px; /* Ajustado para tamaños más pequeños */
    min-width: 150px;
    max-width:280px;
    margin-right: 10px; /* Espaciado más pequeño en pantallas pequeñas */
    margin-bottom: 10px;
}

.working {
    color: white;
}

.notWorking {
    color: #4e555b;
}

#divPlayer {
    display: none;
}

.menu {
    float: right;
    margin-top: 10px;
    margin-bottom: 20px;
}

.menu a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 18px;
}

.menu a:hover {
    text-decoration: underline;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.category {
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}

.item {
    margin-left: 40px;
    text-align: left;
}

input[type="radio"] {
    transform: scale(1.5);
    margin-right: 10px;
}

#myForm {
    display: none;
}

/* Contenedor para centrar el video */
#videoCentral {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-bottom: 20px;
}

/* Videos de búsqueda */
#video-container {
    margin-top: 20px;
    max-width: 100%; /* Responsivo */
    width: 100%; /* Responsivo */
    height: auto; /* Mantener relación de aspecto */
}

.reload {
    display: inline-block;
    color: gray;
    font-size: 22px;
    float: right;
    margin-top: 15px;
    padding: 12px;
    border: 1px solid gray;
    border-radius: 10px;
    cursor: pointer;
}

.bloqueHover {
    cursor: pointer;
    padding: 20px;
    margin: 30px;
    display: inline-block;
    border: 1px solid grey;
    border-radius: 25px;
}

.bloqueHover:hover {
    background: #0c5460;
}

/* Media queries para dispositivos pequeños */
@media screen and (max-width: 600px) {
    .marca {
        font-size: 30px; /* Reducir tamaño del texto */
    }

    h2 {
        font-size: 24px; /* Reducir tamaño del encabezado */
    }

    .titulos {
        font-size: 24px;
    }

    .aire {
        font-size: 32px;
    }

    .playAndStop {
        padding: 15px; /* Reducir padding en dispositivos pequeños */
        min-width: 100px; /* Reducir tamaño mínimo */
        font-size: 20px; 
        max-width:230px;
        margin-left:0px;
    }
    .bloqueHover {
    }
    #divPlayer {
        height:280px;
    }
    #video-container {
        max-width: 100%;
        height: auto; /* Mantener relación de aspecto en pantallas pequeñas */
    }

    .menu {
        float: none;
        text-align: center;
        margin: 10px 0;
    }

    .menu a {
        font-size: 16px; /* Ajustar tamaño del menú */
        margin: 0 5px;
    }
}

