body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Garante que o body ocupe a altura total da tela */
}
.topbar {
    background-color: #000000;
    border-bottom: 2px solid #00FF00;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    box-sizing: border-box;
}
.topbar .photo-space {
    width: 50px;
    height: 50px;
    border: 2px dashed #00FF00;
    margin-left: 20px;
    flex-shrink: 0;
    overflow: hidden;
}
.topbar .photo-space img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.topbar .menu {
    margin-right: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.topbar .menu a {
    color: #00FF00;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}
.topbar .menu a:hover {
    text-decoration: underline;
}
.container {
    width: 100%;
    margin: 70px 0 20px 0;
    border: 2px solid #00FF00;
    padding: 15px;
    box-sizing: border-box;
    flex: 1; /* Faz o container crescer para empurrar o footer para baixo */
}
h1, h2, h3 {
    color: #00FF00;
}
h1 {
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px dashed #00FF00;
    padding-bottom: 10px;
    letter-spacing: 2px;
    font-size: 1.5em;
}
h2 {
    font-size: 1.2em;
    border-bottom: 1px dashed #00FF00;
    padding-bottom: 5px;
}
h3 {
    font-size: 1em;
    margin: 0;
    cursor: pointer;
    display: inline-block;
}
.blink {
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}
a {
    color: #00FF00;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.ascii {
    text-align: center;
    font-size: 10px;
    line-height: 1;
    margin-bottom: 15px;
}
.footer {
    text-align: center;
    font-size: 10px;
    line-height: 1;
    padding: 10px;
    border-top: 2px solid #00FF00;
    background-color: #000000;
}
.section {
    margin: 15px 0;
}
.post {
    margin: 20px 0;
    padding: 10px;
    border: 1px dashed #00FF00;
    background-color: #1a1a1a;
}
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.post-date {
    font-size: 0.9em;
    color: #00FF00;
}
.post-preview {
    font-size: 0.95em;
    line-height: 1.4;
    padding: 10px;
    border-left: 2px solid #00FF00;
    margin-left: 10px;
    color: #cccccc; /* Um tom mais claro para a prévia */
}
.marquee-text {
    margin-top: 10px;
    font-size: 12px;
    font-style: italic;
}
#background-music {
    display: none; /* Esconde o elemento de áudio */
}

/* Estilo do Popup de Postagem */
.post-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background-color: #000000;
    border: 2px solid #00FF00;
    padding: 15px;
    z-index: 100;
    box-shadow: 0 0 10px #00FF00;
}
.post-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00FF00;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.post-popup-header h3 {
    margin: 0;
    font-size: 1em;
}
.post-popup-header .close-btn {
    color: #00FF00;
    cursor: pointer;
    font-size: 14px;
}
.post-popup-content {
    font-size: 0.95em;
    line-height: 1.4;
    max-height: 400px;
    overflow-y: auto;
}

/* Estilo do Terminal Popup */
.terminal-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: #000000;
    border: 2px solid #00FF00;
    padding: 10px;
    z-index: 100;
    box-shadow: 0 0 10px #00FF00;
}
.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00FF00;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.terminal-header span {
    color: #00FF00;
    font-size: 12px;
}
.terminal-header .close-btn {
    color: #00FF00;
    cursor: pointer;
    font-size: 14px;
}
.terminal-body {
    height: 200px;
    overflow-y: auto;
    font-size: 12px;
    color: #FFFFFF;
}
.terminal-input {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.terminal-input span {
    color: #00FF00;
    margin-right: 5px;
}
.terminal-input input {
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    flex-grow: 1;
    outline: none;
}

@media (max-width: 600px) {
    .topbar {
        padding: 5px;
        flex-wrap: wrap;
    }
    .topbar .photo-space {
        width: 40px;
        height: 40px;
        margin-left: 10px;
    }
    .topbar .menu {
        margin-right: 10px;
    }
    .topbar .menu a {
        margin: 5px;
        font-size: 12px;
    }
    .container {
        margin-top: 60px;
        padding: 10px;
    }
    h1 {
        font-size: 1.2em;
    }
    h2 {
        font-size: 1em;
    }
    .section {
        margin: 10px 0;
    }
    .ascii {
        font-size: 8px;
    }
    .marquee-text {
        font-size: 10px;
    }
    .post {
        padding: 5px;
    }
    .post-preview {
        padding: 5px;
        margin-left: 5px;
    }
    .post-popup {
        width: 90%;
    }
    .terminal-popup {
        width: 90%;
    }
}