body {
    font-family: 'Open Sans', sans-serif;
    color: rgb(0, 0, 0);
    background-color: #f0f0f0;
    height: 100%;
    margin-top: 30px;
    box-sizing: border-box;
    max-width: 100%;
    /* establece el ancho máximo del body */

}

h1 {
    font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
}

p {

    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    background-color: #2d3b55;
    z-index: 2;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.logo-letter {
    font-size: 16px;
}

.logo-text {
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-right: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
}

.nav-buttons {
    display: flex;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.menu-toggle span:first-child {
    top: 15%;
}

.menu-toggle span:last-child {
    top: 85%;
}

@media screen and (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.show {
        height: 70%;
    }

    .nav-menu.show a {
        color: #2d3b55;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu li {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-link {
        display: none;
    }

    .navbar-link.hidden {
        display: block;
    }
}

.nav-menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.button-container {
    display: inline-block;
}

.submenu {
    position: relative;
}

.submenu-links {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.submenu-links li {
    margin-bottom: 10px;
}

.submenu-links a {
    color: #27ae60;
    font-size: 16px;
}

nav ul li.submenu.activo>ul.submenu-links {
    display: block;
}

.nav-menu.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.nav-menu.show ul {
    margin-top: 30px;
}

.nav-menu.show a {
    color: #2d3b55;
}

.nav-menu.show .nav-buttons {
    margin-top: 30px;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-right: 30px;
}

nav ul li a {
    display: block;
    font-size: 18px;
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 0;
}

nav ul li:hover a {
    color: #3498db;
}

nav ul li.submenu:hover>ul.submenu-links {
    display: block;
}

nav ul li.submenu ul.submenu-links {
    display: none;
    position: absolute;
    top: 190%;
    left: 110px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

nav ul li.submenu:hover ul.submenu-links {
    display: block;
}

nav ul li.submenu ul.submenu-links li {
    margin: 5px 0;
}

nav ul li.submenu ul.submenu-links li a {
    font-size: 14px;
}

.auth a {
    font-size: 18px;
    color: #555;
    text-decoration: none;
    margin-right: 20px;
}

.auth a:hover {
    color: #444;
}

.menu-icon {
    display: none;
    font-size: 24px;
    color: #555;
}

@media screen and (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        width: 100%;
        text-align: center;
        padding: 10px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    }
}





.desktop-sidebar-toggle {
    position: absolute;
    top: 50px;
    right: -8px;
    z-index: 999;
    cursor: pointer;
    background-color: #2d3b55;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 28px;


}

/* Ocultar el menú en pantallas pequeñas */
@media screen and (max-width: 368px) {
    .sidebar-menu {
        display: none;
    }
}

/* Estilos del menú en pantallas grandes */
@media screen and (min-width: 769px) {
    .sidebar-menu {
        display: block;
        margin: -10px;
        padding: 15px;
        list-style: none;
    }

    /* Estilos para los elementos del menú */
    .sidebar-menu li {
        display: block;
        padding: 0px;
    }

    /* ... y así sucesivamente para el resto de los estilos del menú */
}




/* Estilos para el escritorio */








@media screen and (min-width: 992px) {
    .desktop-sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 200px;
        height: 100%;
        background-color: #2d3b55;
        z-index: 1;
        overflow-x: hidden;
        padding-top: 20px;
    }

    .desktop-sidebar.reduced {
        width: 40px;
    }

    .desktop-sidebar-toggle {
        display: block;
        margin: 10px;
    }
    
}

/* Estilos para la versión móvil */
@media screen and (max-width: 991px) {
    .mobile-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 150px;
        height: 100%;
        background-color: #2d3b55;
        z-index: 1;
        overflow-x: hidden;
        padding-top: 20px;
    }

    .mobile-sidebar.show {
        display: block;
    }
}

.logo-link {
    text-decoration: none;
    /* quitar subrayado del enlace */
}

.logo-link:hover .logo-letter {
    transform: rotate(360deg);
    /* animación al pasar el ratón por encima */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-box {
    background-color: #e74c3c;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.logo-letter {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}





.login-btn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 2px;
    font-size: 14px;
    margin-left: 10px;
}

.register-btn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #db3434;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    font-size: 14px;
    margin-left: 10px;
}

/* Estilo para el botón verde */
.green-button {
    background-color: #27ae60;
}

/* Estilo para el botón azul */
.blue-button {
    background-color: #3498db;
}

/* Estilo para el botón naranja */
.orange-button {
    background-color: #e67e22;
}


.button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Estilo para el botón verde */
.green-button {
    background-color: #27ae60;
}

/* Estilo para el botón azul */
.blue-button {
    background-color: #3498db;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Estilo para el botón verde */
.green-button {
    background-color: #27ae60;
}

/* Estilo para el botón azul */
.blue-button {
    background-color: #3498db;
}

.register-btn-intro {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    font-size: 16px;
}

/* Estilo para los íconos */
.register-btn-intro i {
    margin-right: 5px;
}

/* Estilo para espaciar los botones */
.register-btn-intro + .register-btn-intro {
    margin-left: 10px;
}





.desktop-sidebar-toggle {
    position: absolute;
    top: 50px;
    right: -8px;
    z-index: 999;
    cursor: pointer;
    background-color: #2d3b55;
    color: #2d3b55;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 28px;


}



.desktop-sidebar-contenido {
    position: absolute;
    top: 15px;
    left: -165px;
    /* ancho del sidebar (300px) + 10px de margen */
    bottom: 0;
    right: 200px;
    overflow-y: auto;
    padding: 85px;
    border-radius: 5px;
    font-size: 18px;
}

.mobile-only .sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-only .sidebar-menu>li>a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
}

.mobile-only .sidebar-menu>li>a:hover {
    background-color: #4a5b82;
}

.mobile-only .sidebar-menu>li>ul {
    display: none;
}

.mobile-only .sidebar-menu>li>ul>li>a {
    display: block;
    padding: 10px 30px;
    color: #fff;
    text-decoration: none;
}

.mobile-only .sidebar-menu>li>ul>li>a:hover {
    background-color: #4a5b82;
}

/* Mostrar los elementos de la clase desktop-only solo en pantallas grandes */
@media screen and (max-width: 992px) {
    .desktop-only {
        display: none;
    }
}

/* Mostrar los elementos de la clase mobile-only solo en pantallas pequeñas */
@media screen and (min-width: 992px) {
    .mobile-only {
        display: none;
    }
}

.desktop {
    display: flex;
}



.sidebar-menu {
    width: 280px;
    height: 100%;
    position: fixed;
    left: 0;
    top: 40;
    padding-top: 20px;
}

.sidebar-menu ul {
    list-style: none;
    margin: 0px;
}

.sidebar-menu li {
    position: relative;
    padding: 10px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
}

.sidebar-menu li a:hover {
    align-items: center;
}

.sidebar-menu li a i {
    margin-right: 10px;
}

.sidebar-menu li.submenu ul {
    display: none;
    padding: 10px;
}

.sidebar-menu li.submenu.active ul {


    display: block;
    width: 140px;
    margin-left: 50px;

}

.sidebar-menu li.submenu ul li {
    padding: 5px 5px;
    background-color: #2d3b55;

}

.sidebar-menu li.submenu ul li a {
    display: block;
    color: #ffffff;
}

.sidebar-menu li.submenu ul li a:hover {
    color: #27ae60;
}

.menu-container:not(.expanded)>ul {
    display: none;
}

#mobileSidebarContenido {
    background-color: #f2f2f2;
    /* Cambiar el color de fondo */
    border: 1px solid #ccc;
    /* Añadir un borde */
    padding: 10px;
    /* Añadir un espacio interno */
    margin-bottom: 20px;
    /* Añadir un margen inferior */
    font-size: 16px;
    /* Cambiar el tamaño de fuente */
    color: #333;
    /* Cambiar el color del texto */
    text-align: center;
    /* Centrar el texto */
}

/* Estilo del modal */
.sidebar-modal-login {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}


.custom-sidebar-item {
    background-color: #2d3b55;
    color: #fff;
}

/* Estilo del contenido del modal */
.modal-content {
    margin: 10% auto;
    padding-top: 20px;
    width: 80%;
    border-radius: 10px;
}

/* Estilo del botón para cerrar el modal */
.close-login {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

/* Estilo de los campos del formulario */
.sidebar-email-login,
.sidebar-pass-login,
#sidebar-reset-email {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 16px;
}

/* Estilo del botón de recuperar contraseña */
#sidebarOpenModalBtn {
    background-color: transparent;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

/* Estilo del botón de inicio de sesión con Google */
.sidebar-google-signin-btn {
    display: flex;
    align-items: center;
    background-color: white;
    border: 2px solid #db4a39;
    border-radius: 4px;
    padding: 12px;
    margin-top: 10px;
    cursor: pointer;
    color: #db4a39;
    font-weight: bold;
}

.sidebar-google-signin-btn img {
    width: 32px;
    margin-right: 10px;
}

.sidebar-close-login {
    display: block;
}

.sidebar-modal {
    display: none;
}

.sidebar-modal-login {
    display: none;
}

.sidebar-open-modal {
    display: none;
    /* Tus demás estilos */
}

#sidebar-avatar-container img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 50%;
}

.sidebar-menu {
    height: 100%;
    position: relative;
}

.sidebar-menu ::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
    border-radius: 10px;
}

.sidebar-menu ::-webkit-scrollbar-thumb {
    background-color: #dcdcdc;
    border-radius: 10px;
}

.sidebar-menu ::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

.sidebar-menu ::-webkit-scrollbar-thumb:hover {
    background-color: #bfbfbf;
}

.sidebar-menu ::-webkit-scrollbar-corner {
    background-color: #F5F5F5;
}

.sidebar-menu ::-webkit-scrollbar-thumb:vertical {
    border-radius: 10px;
}

.sidebar-menu ::-webkit-scrollbar-thumb:horizontal {
    border-radius: 10px;
}

.sidebar-menu ::-webkit-scrollbar-thumb {
    background-color: #dcdcdc;
    border-radius: 10px;
    border: none;
}

.sidebar-menu ::-webkit-scrollbar-thumb:hover {
    background-color: #bfbfbf;
}

.sidebar-menu ::-webkit-scrollbar-thumb:active {
    background-color: #a6a6a6;
}

.sidebar-menu ::-webkit-scrollbar-thumb:horizontal {
    min-width: 30px;
}

.sidebar-menu ::-webkit-scrollbar-thumb:vertical {
    min-height: 30px;
}

.sidebar-menu ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.sidebar-menu ::-webkit-scrollbar-track-piece {
    background-color: #F5F5F5;
}

.sidebar-menu ::-webkit-scrollbar-button {
    display: none;
}

.sidebar-menu ::-webkit-scrollbar-corner {
    background-color: #F5F5F5;
}

.sidebar-menu ::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

.sidebar-menu ::-webkit-scrollbar-track:horizontal {
    height: 6px;
}

.sidebar-menu ::-webkit-scrollbar-track:vertical {
    width: 6px;
}

.sidebar-menu ::-webkit-scrollbar-thumb:horizontal {
    min-width: 30px;
    background-color: #dcdcdc;
}

.sidebar-menu ::-webkit-scrollbar-thumb:vertical {
    min-height: 30px;
    background-color: #dcdcdc;
}

.sidebar-menu ::-webkit-scrollbar-thumb:hover:horizontal {
    background-color: #bfbfbf;
}

.sidebar-menu ::-webkit-scrollbar-thumb:hover:vertical {
    background-color: #bfbfbf;
}

.sidebar-menu ::-webkit-scrollbar-thumb:active:horizontal {
    background-color: #a6a6a6;
}

.sidebar-menu ::-webkit-scrollbar-thumb:active:vertical {
    background-color: #a6a6a6;
}

.sidebar-menu ::-webkit-scrollbar-thumb:horizontal {
    border-radius: 10px;
    border: none;
}

.sidebar-menu ::-webkit-scrollbar-thumb:vertical {
    border-radius: 10px;
    border: none;
}

.sidebar-menu ::-webkit-scrollbar-track:horizontal {
    border-radius: 10px;
    border: none;
}

.sidebar-menu ::-webkit-scrollbar-track:vertical {
    border-radius: 10px;
    border: none;
}

.sidebar-menu ::-webkit-scrollbar-corner {
    background-color: #F5F5F5;
    border: none;
}

.sidebar-menu ::-webkit-scrollbar {
    background-color: #F5F5F5;
    border: none;


}

#desktopSidebar::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
    border-radius: 10px;
    border: none;
}

.card {
    padding: 2px;
    color: #fff;
    text-decoration: none;
    width: 80%;
    margin: 10% auto;

}

.sidebar-menu li ul {
    display: none;
}

.sidebar-menu li.active ul {
    display: block;
}





.flcr-insignias {
    display: inline-block;
    padding: 0.50em 0.5em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    color: #fff;
}

.flcr-insignias.amarillo {
    background-color: #ffc107;
}

.flcr-insignias.rojo {
    background-color: #e74c3c;
}

.flcr-insignias.azul {
    background-color: #3498db;
}

.flcr-insignias.verde {
    background-color: #27ae60;
}

.flcr-insignias.violeta {
    background-color: #8e44ad;
}

.flcr-insignias.naranja {
    background-color: #f39c12;
}




.modal-register {
    display: none;
    position: fixed;
    z-index: 1;
    left: 4%;
    top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #fff;
    padding: 100px;
}

.modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    border-radius: 10px;
}

.close-register {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-login {
    display: none;
    position: fixed;
    z-index: 1;
    left: 4%;
    top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #fff;
    padding: 100px;
}

.modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    border-radius: 50px;
}

.close-login {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}






/* Avatar */
.avatar {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #ccc;
    margin-right: 10px;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}

/* Botón de logout */
.logout-btn {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    font-size: 18px;
}


.nav-buttons {
    display: flex;
    align-items: center;
}

.nav-buttons a,
#logoutBtn {
    display: inline-block;
    margin: 0 0px;
}

#avatar-container {
    margin-left: auto;
}

#avatar-container img {
    border-radius: 50%;
    color: #F5F5F5;
    width: 40px;
    height: 40px;
}

#avatarContainer img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.forgot-pass-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.forgot-pass-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-btn-forgot-pass {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn-forgot-pass:hover {
    background-color: #3e8e41;
}



/* Estilos para el formulario */
form label {
    display: block;
    margin-bottom: 10px;
}

form input[type="email"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button[type="submit"] {
    display: block;
    padding: 10px;
    background-color: #2d3b55;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button[type="submit"]:hover {
    background-color: #2d3b55;
}

.footer {
    /* Establecer los estilos para el footer */
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #2d3b55;
    color: #bfbfbf;
    text-align: center;
    padding-top: 15px;
}


.modal-editar-perfil {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 100px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(45, 59, 85, 10);
}



    /* Estilos para hacer responsivo el reCAPTCHA */
    .g-recaptcha-container {
        width: 100%;
        margin-bottom: 15px; /* Ajusta según sea necesario */
    }

    /* Opcional: Estilos adicionales para mejorar la apariencia en dispositivos móviles */
    @media only screen and (max-width: 600px) {
        /* Ajusta el tamaño del reCAPTCHA para dispositivos móviles */
        .g-recaptcha {
            transform: scale(0.8); /* Ajusta según sea necesario */
            transform-origin: 0 0;
        }
    }




  /* blog */


    /* Estilo del botón de la imagen */
    .boton-imagen {
        position: fixed;
        bottom: 20px;
        right: 20px;
        cursor: pointer;
        z-index: 9999;
        /* Asegura que el botón esté sobre otros elementos */
    }

    /* Estilos para el modal */
    .modal-chatbot {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        background-color: white;
        border: 1px solid #ccc;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        height: 500px;
        /* Ajusta la altura según tus necesidades */
        width: 40%;
        overflow-y: auto;
        /* Agrega un desplazamiento vertical si el contenido es demasiado largo */
    }

    /* Estilos para el botón de imagen */
    .boton-imagen {
        cursor: pointer;
    }

    /* Estilos para el botón de cierre */
    .cerrar-modal {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 20px;
        cursor: pointer;
    }

    /* Estilos para el fondo oscuro detrás del modal */
    .modal-background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 999;
    }

    /* Agrega estilos específicos para dispositivos pequeños si es necesario */
    @media (max-width: 767px) {
        .modal-chatbot {
            width: 80%;
            /* Ajusta según tus necesidades */
        }
    }

    #search-form-blog {
        position: relative;
        display: inline-block;
    }

    #search-input-blog {
        padding: 10px 20px;
        border-radius: 30px;
        border: none;
        outline: none;
        font-size: 18px;
        background-color: #ffffff;
        box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
        width: 200px;
        max-width: 100%;
        left: 90%;
    }

    #search-button-blog {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        background-color: #2d3b55;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        border: none;
        outline: none;
        cursor: pointer;
        box-shadow: 0px 1px 5px rgba(255, 255, 255, 0.1);
    }

    #search-button-blog .search-icon-blog {
        font-size: 24px;
        color: #ffffff;
        text-align: center;
    }



    @media screen and (max-width: 768px) {
        .card-blog {
            max-width: 500% !important;
        }
    }

    @media screen and (min-width: 769px) {
        .card-blog {
            max-width: 550px;
            left: -20%;
        }
    }


    .cards-container-blog {
        display: flex;
        padding-top: 3%;
        flex-wrap: wrap;
        margin: 0 auto;
        /* Eliminamos la segunda 'margin' */
        align-items: center;
        max-width: 100%;
        flex-direction: row;
        justify-content: center;
        /* Centramos los elementos */
        flex-wrap: wrap;
    }

    .card-blog {
        border-radius: 15px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        margin: 10px;
        /* Espacio entre las cards */
        max-width: 250px;
        /* Ancho máximo de las cards */
    }


    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .title {
        margin-left: 20px;
    }

    .search {
        margin-right: 20px;
    }

    .header img {
        width: 100%;
        display: block;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .card-content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .card-footer {
        padding: 20px;
        background-color: #2d3b55;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        text-align: center;
    }

    .card-footer a {
        display: inline-block;
        padding: 10px 20px;
        background-color: #333;
        color: #fff;
        text-decoration: none;
        border-radius: 30px;
    }



    .social-icon {
        display: inline-block;
        margin-right: 10px;
        color: #2d3b55;
        font-size: 20px;
    }

    .social-icon:hover {
        color: #2d3b55;
    }

    


    .custom-link {
        display: inline-block;
        padding: 5px 10px;
        background-color: #2d3b55;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

    .custom-link:hover {
        background-color: #45a049;
    }

    .card-icons {
        display: flex;
        justify-content: space-around;
    }


    .tabs {
        display: flex;
        justify-content: flex-end;
        /* Alinea los botones a la derecha */
        margin-bottom: 10px;
    }

    .tab {
        background-color: #ffffff;
        color: #2d3b55;
        padding: 5px 10px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .tab i {
        margin-right: 8px;
    }

    .tab:hover {
        background-color: #2d3b55;
        color: #ccc;
    }

    .tab-content {
        display: none;
        padding: 20px;
        
    }

    .tab-content.active {
        display: block;
    }




    .blog-navigation {
        text-align: center;
    }

    .btn-izquierda {
        background-color: #007bff;
        /* Color de fondo azul */
        color: #fff;
        /* Color del texto blanco */
        border: none;
        /* Sin borde */
        padding: 10px 20px;
        /* Espaciado interno */
        margin-right: 10px;
        /* Margen derecho */
        border-radius: 5px;
        /* Borde redondeado */
    }

    .btn-derecha {
        background-color: #28a745;
        /* Color de fondo verde */
        color: #fff;
        /* Color del texto blanco */
        border: none;
        /* Sin borde */
        padding: 10px 20px;
        /* Espaciado interno */
        border-radius: 5px;
        /* Borde redondeado */
    }

    /* Estilo hover */
    .btn-izquierda:hover,
    .btn-derecha:hover {
        opacity: 0.8;
        /* Reducción de la opacidad al pasar el mouse */
        cursor: pointer;
        /* Cambio de cursor al puntero */
    }

