body {
    background-color: #000;
    margin: 0;
    padding: 0;
    font-family: 'Fira Code', monospace;
    font-style: bold;
    color: #fff;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.main_container {
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 15px;
    border: 1px solid #3b3b3b;
    font-size: 0.85rem;
    gap: 10px;
    box-sizing: border-box;
}

.left-section, .right-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.list-papers a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
}

.list-papers a:hover {
    color: #a70000;
    opacity: 1;
    background-color: rgba(255, 0, 51, 0.1);
    margin: 0px 10px 0px 10px;
}

.list-papers a::before {
    content: ' > ';
    position: absolute;
    left: -13px;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
}

.list-papers a:hover::before {
    opacity: 1;
    left: -10px;
}

.list-papers ul {
    list-style: none; /* remove as bolinhas */
    padding-left: 0;  /* remove o recuo padrão */
    margin: 0;        /* remove o espaçamento extra */
}

.list-papers li {
    margin-bottom: 6px;
}


.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
}

.menu-link:hover {
    color: #a70000;
    opacity: 1;
    background-color: rgba(255, 0, 51, 0.1);
}

.menu-link::before {
    content: ' > ';
    position: absolute;
    left: -13px;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
}

.menu-link:hover::before {
    opacity: 1;
    left: -10px;
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .left-section, .right-section {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .menu-link {
        font-size: 1rem;
        padding: 6px 10px;
    }
}

.glitch-text {
    font-family: 'Fira Code', monospace;
    font-weight: bold;
    color: #a70000;
    text-shadow: 0 0 10px #a70000;
    display: inline-block;
}

.content {
    display: flex;
    flex-direction: column;
    padding: 0 15px; 
    align-items: flex-start;
    text-align: left;
    width: 100%;
    box-sizing: border-box; 
}

.back-link {
    display: block;
    margin: 30px auto 0 auto; 
    font-size: 0.9rem;
    opacity: 0.8;
    color: #a70000;
    text-decoration: none;
    transition: opacity 0.3s ease;
    text-align: center; 
    padding: 15px 0;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer {
    background-color: #000;
    width: 100%;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #353535;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-link {
    color: #a70000;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px #a70000;
}

.footer-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff;
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.footer-separator {
    opacity: 0.5;
}

.footer-link,
.footer-separator,
.footer-content span {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 6px;
    }
    .footer-separator {
        display: none;
    }
}
