@import "../config.css";

/* Menu lateral fixo */
.sidebar {
    width: 250px;
    background: #f1f3f5;
    padding: 20px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.sidebar h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #000;
}

/* Estilo para o botão mobile */
.menu-toggle {
    display: none;
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    background: #f1f3f5;
    border-bottom: 1px solid #000;
    color: #000;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    text-align: center;
}

/* Overlay escuro */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.banner_logo {
    background-color: #FFF; text-align: center;  width: 100%; padding: 20px; border-radius: 8px;
}

.last-updated {
    position: absolute;
    bottom: 20px;
    font-size: 8px;
    color: #999;
    text-align: left;
    line-height: 10px;
    overflow: hidden;
    margin: 0 auto;
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Conteúdo principal */
.content {
    margin-left: 250px;
    padding: 30px;
    flex: 1;
    font-size: 14px;
    color: #000;
}

.content p {
    margin: 20px 0;
}

.content a {
    text-decoration: underline;
    color: #000;
    font-weight: 400;
}

.content h1 {
    font-size: clamp(20px, 20px + 1.2vw, 22px);
    line-height: clamp(22px, 22px + 1.2vw, 32px);
}

.content h2 {
    font-size: clamp(15px, 15px + 1.2vw, 15px);
    line-height: clamp(15px, 15px + 1.2vw, 20px);
}

.content h3 {
    font-size: clamp(20px, 20px + 1.2vw, 22px);
    line-height: clamp(22px, 22px + 1.2vw, 32px);
}

.content {
    h1,h2,h3,h4,h5,h6,b,strong {
        color: #000;
        font-weight: 700;
    }
}

/* Responsivo */
@media (max-width: 768px)
{
    
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
        padding: 20px;
        margin-top: 44px;
    }

    .menu-toggle {
        display: block;
    }

    .overlay.active {
        display: block;
    }

    .banner_logo {
        top: 44px;
    }

}