/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*    font-family: Arial, sans-serif;*/
/*}*/
.nav-btn {
    background-color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}
.navbar {
    width: 100%;
    height: 11vh;
    background: rgb(0 0 0);
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    font-style: italic;
}

.logo {
    height: 100%;
    width: auto;
    margin-right: 20px;
}

.navbar-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(0, 0, 0);
    font-size: 20px;
    white-space: nowrap; /* Evita que el texto se divida */
}

 .floating-web-window {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60%;
        height: 70vh;
        background: white;
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
        border-radius: 10px;
        overflow: hidden;
        z-index: 1000;
    }
    .floating-web-header {
        padding: 10px;
        background: #f8f9fa;
        border-bottom: 1px solid #ddd;
    }
    .floating-web-content {
        height: calc(100% - 40px);
    }

/* Ocultar el título en pantallas pequeñas */
@media (max-width: 700px) {
    .navbar-title {
        display: none;
    }
}


/*body {*/
/*    display: flex;*/
/*    justify-content: flex-end;*/
/*    height: 100vh;*/
/*    background: #ecf0f1;*/
/*}*/

/* Barra lateral */
.sidebar {
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    right: -250px; /* Oculta la barra al inicio */
    top: 0;
    background: rgb(13 18 27 / 91%);
    transition: right 0.3s;
    padding-top: 75px;
    z-index: 999;
}

.sidebar a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    cursor: pointer;
}

.sidebar a:hover {
    /* background: #1a252f; */
    background: rgb(13 18 27 / 91%);
}

/* Submenús */
.submenu {
    display: none;
    background: rgba(188, 197, 206, 0.5);
    padding-left: 20px;
}

.submenu a {
    font-size: 14px;
    padding: 10px;
}

/* Botón para abrir la barra */
.toggle-btn {
    position: absolute;
    right: 20px;
    /*top: 20px;*/
    font-size: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
}

.toggle-btn:hover {
    background: #494949;
}

/* Mostrar la barra cuando se agrega la clase 'active' */
.sidebar.active {
    right: 0;
}

/* Encabezado del menú */
.sidebar-header {
    text-align: center;
    padding: 15px;
    background: #1a252f;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.sidebar-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Flecha para indicar desplegable */
.dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .logo {
        width: 70%;
        height: 70%;
    }
    .nav-right{
        display: none;
    }
}
