:root {
    --primary-color: #092e20; /* Verde Django */
    --secondary-color: #44b78b;
    --text-color: #333;
    --bg-color: #f4f4f4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.sidebar {
    width: 250px;
    height: 100vh;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    position: fixed;
}

.sidebar h2 { border-bottom: 2px solid var(--secondary-color); padding-bottom: 10px; }

.sidebar ul { list-style: none; padding: 0; }

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    transition: 0.3s;
}

.sidebar ul li a:hover { color: var(--secondary-color); }

.content {
    margin-left: 290px;
    padding: 40px;
    max-width: 800px;
}

pre {
    position: relative;
    background: #272822;
    color: #f8f8f2;
    padding: 25px 15px 15px 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.copy-button {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(68, 183, 139, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.copy-button.copied {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.copy-button i {
    font-size: 14px;
}
.card {
    background: white;
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.destaque {
    color: #44b78b;
    font-weight: bold;
}

code {
    font-weight: bold;
}

.html5-icon {
    font-size: 50px;
    color: #e34c26; 
}

.fa-css3 {
    font-size: 40px;
    color: blue;
}

.fa-download {
    font-size: 20px;
    color:#092e20;
}

a {
    text-decoration: none;
    color:#092e20;
}

a :visited {
    text-decoration: none;
    color:#092e20;
}

@media (max-width: 768px) {
    body {
        flex-direction: column; 
    }

    .sidebar {
        width: 100%;      
        height: auto;       
        position: relative; 
        padding: 15px;
        box-sizing: border-box;
    }

    .sidebar h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .sidebar ul {
        display: flex;     
        flex-wrap: wrap;    
        justify-content: center;
        gap: 10px;
    }

    .sidebar ul li a {
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    .content {
        margin-left: 0;   
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    pre {
        font-size: 14px;   
    }
}