/* General reset and styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #002942;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0ac5fb;
    padding: 10px 20px;
    position: relative;
}

/* Estilo para la cabecera */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-width: 50px; /* Ajusta el tamaño de la imagen */
    height: auto;
    margin-right: 10px; /* Espacio entre la imagen y el texto */
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #002942;
}

/* ... el resto del código CSS permanece igual */


.navbar ul {
    list-style: none;
    display: flex;
}

.navbar li {
    margin: 0 15px;
}

.navbar li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Efecto de roll over en los elementos del menú */
.navbar li a:hover {
    background-color: #fff;
    color: #0ac5fb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 4px;
    width: 25px;
    background-color: #fff;
    margin: 3px 0;
}

/* Estilo del buscador */
.search-container {
    text-align: center;
    margin: 20px 0;
}

.search-container input {
    padding: 10px;
    width: 300px;
    border: 1px solid #0ac5fb;
    border-radius: 5px;
    font-size: 16px;
}

.search-container button {
    padding: 10px 20px;
    border: none;
    background-color: #0ac5fb;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.search-container button:hover {
    background-color: #007cad;
}

/* Estilo de las tarjetas de video */
.video-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 20px;
    border-radius: 5px;
}

.card {
    background-color: white;
    border: 1px solid #0ac5fb;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px 5px rgba(10, 197, 251, 0.7); /* Sombra brillante */
    filter: brightness(1.1); /* Aumenta el brillo de la tarjeta */
}

.card iframe {
    width: 186px;
    height: 330px;
    border-radius: 5px;

}

.card h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #002942;
}


.card h2 {
    background-color: #0ac5fb; /* Color de fondo */
    padding: 5px 65px;            /* Espaciado alrededor del texto */
    border-radius: 5px;        /* Bordes redondeados (opcional) */
    color: #002942;               /* Color del texto */
    font-size: 18px;           /* Tamaño del texto */
    display: inline-block; 






}









.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #da2303ef;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-button a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.whatsapp-button:hover {
    background-color: #007cad;
    transform: scale(1.1);
}

/* Estilo responsivo */
@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
    }
    
    .navbar.active ul {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0ac5fb;
    }

    .menu-toggle {
        display: flex;
    }

    .search-container input {
        width: 100%;
    }

    .search-container button {
        width: 100%;
        margin-top: 10px;
    }
}

