/* Reset de elementos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo */
body {
    background-color: #302c2c;
    background-image: url(http://www.transparenttextures.com/patterns/snow.png);
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Garante que a página ocupe toda a altura */
    margin: 0; /* Garantindo que não haja margem extra */
}
/* Topo */
.topo-container {
    background-color: #000000;
    background-image: url(http://www.transparenttextures.com/patterns/dark-leather.png);
    padding: 13px 17px;
    color: rgb(240, 248, 255);
    font-size: 24px;
    position: fixed; /* Fixa o topo ao rolar */
    top: 0; /* Fixa no topo da página */
    left: 0; /* Para garantir que fique na posição correta */
    right: 0; /* Para garantir que o topo tenha a largura total */
    z-index: 99; /* Garante que o topo fique acima de outros elementos */
    box-shadow: 2px 0 10px rgba(69, 71, 69, 0.2);
    height: 61px;
}

.user-info a {
    float: right;
    margin-left: 5px;
    margin-top: 4px;
    font-size: 16px;
    background-color: green;
    box-shadow: inset 6px 5px 5px 1px #4b524e;
    transition: background-color 0.3s ease; /* Transição suave */
    border-radius: 5px;
    padding: 2px;
    color: white;
}

/* Menu Hambúrguer */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin: 13px;
    height: 27px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9998;
}

/* Linhas do hambúrguer */
.hamburger .line {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: black;
    box-shadow: 0 0 8px 2px rgb(169, 168, 176), 0 0 30px rgba(130, 139, 130, 0.6);
    transition: all 0.3s ease;
}

/* Transforma em "X" quando ativo */
.hamburger.open .line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open .line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Efeito de brilho ao passar o mouse */
.hamburger .line:hover {
    animation: glow 3s ease-in-out infinite alternate;
}

/* Sidebar visível */
.sidebar.open {
    left: 0;
}

/* Remove checkbox invisível (não é mais necessário) */
.menu-toggle {
    display: none;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #000000;
    background-image: url(http://www.transparenttextures.com/patterns/dark-leather.png);
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 255, 0, 0.2);
    position: fixed;
    top: 0;
    left: -250px; /* Inicialmente escondida */
    bottom: 0;
    transition: left 0.3s ease;
    z-index: 200; /* Sidebar fica abaixo do botão hamburguer */
}

.sidebar .header-container .foto img {
    width: 100px; /* Defina o tamanho da imagem */
    height: 100px; /* Mantenha a proporção da imagem */
    border-radius: 50%; /* Torna a imagem redonda */
    margin-bottom: 5px; /* Espaçamento entre a imagem e os links */
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    margin-top: 60px;
    box-shadow: 0 0 15px rgba(121, 122, 121, 0.5); /* Efeito de sombra ao redor da imagem */
}

/* Estilo do menu */
.sidebar nav ul {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.sidebar a {
    display: block;
    color: #b9b5b5;
    text-decoration: none;
    margin: 2px 0;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 6px 20px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.sidebar a:hover {
    color: #ffffff;
    background-color: #00252e;
    background-image: url(http://www.transparenttextures.com/patterns/wide-rectangles.png);
    box-shadow: 0 0 15px rgba(121, 122, 121, 0.5); /* Efeito de sombra ao redor da imagem */
}

/* Estilo do botão Sair */
.logout {
    margin-top: 20px;
    text-align: center;
}

.logout a {
    display: block;
    color: #ff3333;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px;
    border-radius: 8px;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.logout a:hover {
    background-color: #cc3333;
}

/* Conteúdo principal */
.name {
    font-size: 14px;
    text-align: center;
}

.name span {
    color: white;
}

/* Estilo geral do corpo */
main {
    flex-grow: 1;
    padding: 20px;
    margin-top: 80px; /* Espaço para o topo fixo */
}

/* Container de conteúdo */
.content-container {
    padding: 5px;
    min-height: 100vh; /* Garante altura mínima da tela, mas permite expandir */
}

/* Título da container de conteúdo */
.content-container h2 {
    color: #D3D3D3;
    font-size: 24px;
}

/* Estilo para as seções de informações */
.site-info, .viruscheck {
    background-color: transparent;
    padding: 15px;
    border-radius: 8px;
    color: #D3D3D3;
    margin-bottom: 20px;
}

/* Estilo para os títulos h3 nas seções */
.site-info h3, .viruscheck h3 {
    font-size: 22px;
    color: #D3D3D3; /* Cor padrão para h3 */
    margin-bottom: 10px;
}

/* Estilo para a seção de venda de arquivos digitais */
.site-info {
    color: #dcdce4;
}

.site-info h3 {
    color: #ffffff; /* Cor verde para os títulos dessa seção */
}

/* Lista de pontos na seção de vendas */
.site-info ul {
    list-style: none;
    padding-left: 20px;
}

.site-info li {
    margin-bottom: 10px;
}

/* Estilo para a seção de verificação de arquivos */
.viruscheck h3 {
    color: #ff3333; /* Cor vermelha para títulos na seção de verificação */
}

.viruscheck a {
    color: #17b217;
    text-decoration: none;
    font-weight: bold;
}

.viruscheck a:hover {
    color: #ffcc00;
}

/* Ajuste de espaçamento para links no geral */
a {
    text-decoration: none;
    color: #00ff00;
    transition: color 0.3s ease;
}

a:hover {
    color: #33cc33;
}

/* Estilo para parágrafos (p) */
p {
    font-size: 16px;
    color: #b7b3b3;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Estilo para o texto em strong */
strong {
    color: blue; /* Dourado para destacar */
    font-weight: bold;
}

/* Rodapé */
footer {
    background-color: #000000;
    background-image: url(http://www.transparenttextures.com/patterns/dark-leather.png);
    padding: 5px 0;
    text-align: center;
    color: #D3D3D3;
    box-shadow: 2px 0 10px rgba(12, 12, 12, 0.5);
    position: static; /* ⚠️ Corrigido de 'relative' para 'static' */
    width: 100%;
}

.footer-container p {
    margin-top: 12px;
    font-size: 14px;
}

#bloqueio {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

#video-expandido {
    width: 100%;
    height: 450px;
    border: none;
}

.video-wrapper {
    position: relative;
}

.camada-bloqueio {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    background: transparent;
    transition: background 0.3s;
}

#icone-cadeado {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 20;
    display: none; /* só aparece quando fullscreen + bloqueado */
}

/* Responsividade */
@media (max-width: 768px) {
    .topo-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-info {
        font-size: 1.2rem; /* Diminui o tamanho da fonte */
        margin-left: 60px;
    }

    .topo-container .user-info {
        margin-top: 10px;
    }

    .content-container {
        padding: 5px;
    }

    .footer-container p {
        font-size: 12px;
    }

    #box_form {
        width: 95%;
        padding: 20px;
    }

    h1 {
        font-size: 26px;
    }

    main {
        margin-top: 80px; /* Adiciona espaço para o topo fixo e o menu */
        padding: 15px;
    }
}
