.linknav {
    color: #ffffff !important; /* Color de texto al pasar el mouse */
}

.linknav.active {
    color: #ffffff !important; /* Color de texto cuando está seleccionado */
    border-bottom: 2px solid #fff; /* Línea blanca debajo del enlace cuando está seleccionado */
}
.linknav:hover {
    color: #ffffff !important; /* Color de texto al pasar el mouse */
    border-bottom: 2px solid #fff; /* Línea blanca debajo del enlace */
}
.bannercurso{
    width: 100%;
    height: auto;
}
.videoinstagram{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px; /* Ajusta el margen según tus necesidades */    
}

  .course-card {
    margin-bottom: 30px;
  }
  .fondotext {
    background-color: #e83e8dbd;
    border: none;
    padding: 10px 20px;
  }
  .fondotext:hover {
    background-color: #800080;
  }

.course-card {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero {
        height: 300px;
    }
    .hero-text {
        max-width: 100%; /* Ajusta el ancho al 100% para dispositivos móviles */
    }
}
.image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-container img {
    max-height: 70%;
    max-width: 70%;
    object-fit: cover;
    border-radius: 0.25rem;
}
.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}
.card-img-top {
    height: 450px;
    object-fit: cover;
}
.course-card .card {
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .image-container, .content-container {
        height: auto;
        padding: 15px;
    }
}
.fot{
    background-color: rgba(0, 0, 0, 0.6); /* Fondo negro con 60% de opacidad */
    padding: 20px;
    border-radius: 10px;
}
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.whatsapp-btn2 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8B0000; /* Rojo oscuro de Chara */
    color: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001; /* Asegura que esté encima */
}

.whatsapp-btn img {
    height: 30px;
    width: auto;
}
.whatsapp-btn2 img {
    height: 30px;
    width: auto;
    filter: invert(1); /* Invierte colores (útil si el ícono original es negro) */
}

.imgsobremiprincipal,
.imgsobremi {
    border-radius: 10px; /* Bordes redondeados */
    max-width: 100%; /* Tamaño máximo igual al ancho del contenedor */
    height: auto; /* Altura automática para mantener la relación de aspecto */
}

/* Estilos para los márgenes en dispositivos móviles */
@media (max-width: 576px) {
    .imgsobremiprincipal,
    .imgsobremi {
        margin: 10px; /* Márgenes de 10px en dispositivos móviles */
        width: 100%; /* Ancho máximo del 100% en dispositivos móviles */
        max-width: none; /* Eliminar el tamaño máximo para permitir que la imagen se expanda */
    }
}

.icoses{
    filter: brightness(0) invert(1); 
}