body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    background-color: #121212;
    color: #e0e0e0;
}

/* Menu Hamburguer Mobile */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: #444;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.sidebar {
    width: 250px;
    background: #2c2c2c;
    color: white;
    padding: 15px;
    height: 100vh;
    position: fixed;
    left: -250px; /* Esconde a sidebar inicialmente */
    top: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.sidebar.active {
    left: 0; /* Mostra a sidebar quando ativa */
}

.sidebar h3 {
    margin-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.sidebar ul li:hover,
.sidebar ul li.active {
    background: #444;
}

.content-container {
    margin-left: 0; /* Remove margem para mobile primeiro */
    padding: 20px;
    flex: 1;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.content.active {
    display: block;
}

pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background-color: rgb(50, 51, 51);
}
::-webkit-scrollbar-thumb {
    background-color: rgb(70, 70, 70);
    border-radius: 10px;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Mostra o botão hamburguer */
    }

    .content-container {
        padding: 80px 15px 15px 15px; /* Espaço para o botão hamburguer */
    }

    .sidebar.active + .content-container {
        margin-left: 0;
        transform: translateX(250px); /* Empurra o conteúdo quando sidebar aberta */
    }

    pre {
        padding: 10px;
        font-size: 14px;
    }
}

@media (min-width: 769px) {
    .sidebar {
        left: 0 !important; /* Garante visibilidade em desktop */
    }
    .content-container {
        margin-left: 260px !important;
    }
}
  /* Footer */
  footer {
    background: #1e1e1e;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #bbb;
  }