@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&family=New+Rocker:wght@700&display=swap');

body {
    margin: 0;
    background-color: #0a0a0a;
    color: #ddd;
    font-family: 'Roboto Mono', monospace;
}

body.blog-home {
    display: flex;
    justify-content: center;
}

/*
 body {
  background-image: url('imagens/fundo-gothic.png');
  background-size: cover;  ou `background-size: auto` se quiser repetir 
  background-repeat: repeat;  se for textura que se repete bem 
  background-position: center center;
  background-color: rgba(10,10,10,0.85); transparencia
}
*/

.container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: #111;
    border-right: 2px solid #333;
    padding: 20px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-header h2 {
    font-family: 'New Rocker', cursive;
    color: #9b1d20;
    font-size: 1.6em;
    margin-top: 10px;
}

.category {
    margin-bottom: 25px;
    border-top: 1px solid #222;
    padding-top: 15px;
}

.category h3 {
    font-family: 'New Rocker', cursive;
    color: #b22222;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.category img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    border: 1px solid #222;
}

.category ul {
    list-style: none;
    padding-left: 10px;
}

.category ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9em;
    display: block;
    margin: 4px 0;
    transition: color 0.3s;
}

.category ul li a:hover {
    color: #e63946;
}

.content {
    flex: 1;
    padding: 40px;
    background: radial-gradient(circle at top left, #1a1a1a, #0a0a0a);
}

.intro {
    width: 100%;
}

.intro-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

.intro-content img {
    width: 380px;
    height: auto;
    object-fit: cover;
	overflow: hidden;
}

/* TEXTO AO LADO */
.text-content {
    flex: 1;
}

.text-content p {
    text-align: justify;
    text-indent: 2em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ccc;
}

.intro h1 {
    font-family: 'New Rocker', cursive;
    color: #b22222;
    font-size: 2em;
    margin-bottom: 10px;
}

.intro p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.links {
    margin-top: 40px;
}

.links h2 {
    font-family: 'New Rocker', cursive;
    color: #9b1d20;
    margin-bottom: 15px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-button {
    background-color: #111;
    border: 1px solid #b22222;
    color: #ddd;
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.link-button:hover {
    background-color: #b22222;
    color: #fff;
}

/* Chrome, Edge, etc. */
.sidebar::-webkit-scrollbar {
    width: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background: #0d0d0d;
    border-left: 1px solid #222;
	box-shadow: inset 0 0 5px #1a0000;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #3b0a0a;
    border-radius: 5px;
    border: 1px solid #1a0000;
	box-shadow: 0 0 5px #ff0000aa;
	transition: background 3s ease;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #5c0f0f;
}

/* Firefox */
.sidebar {
    scrollbar-width: none; /* auto, thin, none */
}

.post-header {
    width: 100%;
    background-color: #111;
    border-bottom: 2px solid #333;
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.header-logo {
    width: 60px;
}

.header-title {
    font-family: 'New Rocker', cursive;
    color: #b22222;
    font-size: 2em;
}

.list-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

/* ---- Post ---- */

.post-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.post-title {
    font-family: 'New Rocker', cursive;
    color: #b22222;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.post-meta {
    color: #999;
    font-size: 0.85em;
    margin-bottom: 20px;
}

.post-cover {
    width: 100%;
    border: 2px solid #222;
    margin-bottom: 20px;
}

.post-content p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 15px;
}

.post-divider {
    margin: 40px 0;
    border: none;
    height: 1px;
    background: #333;
}

.back-button {
    text-decoration: none;
    color: #ddd;
    border: 1px solid #b22222;
    padding: 8px 12px;
    background-color: #111;
    transition: 0.3s ease;
}

.back-button:hover {
    background-color: #b22222;
    color: #fff;
}

.list-title {
    font-family: 'New Rocker', cursive;
    color: #b22222;
    font-size: 2em;
    margin-bottom: 25px;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    display: flex;
    gap: 15px;
    background-color: #111;
    padding: 15px;
    border: 1px solid #333;
    text-decoration: none;
    transition: 0.3s ease;
}

.post-card:hover {
    border-color: #b22222;
    background-color: #170000;
}

.card-thumb {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border: 1px solid #222;
}

.card-text h3 {
    color: #e1e1e1;
    margin: 0;
    font-size: 1.2em;
}

.card-text p {
    color: #aaa;
    margin: 6px 0 10px;
}

.card-date {
    color: #666;
    font-size: 0.8em;
}
