html, body {
    height: 100%;
    margin: 0;
}

body { 
   font-family: "Courier New", Courier, monospace; 
    background-color: #ffffff; 
    max-width: 800px; 
    margin: 0 auto;      
    padding: 0 20px; 
    line-height: 1.6; 
    color: #333;
    
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; 
    padding-top: 10px;
}

header { 
    padding-top: 40px;
    border-bottom: 1px solid #ddd; 
    margin-bottom: 30px; 
    padding-bottom: 10px;
}

h1 { 
    letter-spacing: 2px; 
    font-size: 1.5rem; 
}

.nav { 
    margin-top: 10px; 
    font-size: 0.9rem; 
}

.nav a { 
    color: #666; 
    text-decoration: none; 
    transition: 0.3s; 
}

.nav a.active { 
    font-weight: bold; 
    color: #000; 
    border-bottom: 2px solid #ffff00; 
}

.nav a:hover { 
    background-color: #ffff00; 
    color: #000; 
}

.entry { margin-bottom: 2.5rem; }
.date { font-weight: bold; display: block; margin-bottom: 5px; color: #444; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.photo-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.4s;
    display: block;
}

.photo-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}


.lightbox {
    display: none; 
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    text-align: center;
    align-items: center;
    justify-content: center;
}

.lightbox:target {
    display: flex; 
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.close-area {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: default;
    z-index: -1; 
}

footer { 
    padding: 30px 0;
    font-size: 0.75rem;
    color: #bbb; 
    text-align: center;
    letter-spacing: 1px;
}

main h2 {
    font-size: 1.1rem;
    margin-top: 2rem;
    text-transform: lowercase;
    border-bottom: 1px dashed #eee;
    display: inline-block;
}

main p {
    margin-top: 1rem;
    max-width: 600px; 
}

.sobre-container {
    border-left: 2px solid #ffff00;
    padding-left: 20px;
    margin-top: 30px;
}

.email-contato {
    font-family: "Courier New", monospace;
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    color: #000;
}

.sobre-container h2 {
    font-size: 1.1rem;
    margin-top: 10px;
    text-transform: lowercase;
    border-bottom: 1px dashed #eee;
    display: inline-block;
}

.sobre-container p:first-of-type {
    margin-top: 15px;
}

.navegacao-retorno {
    margin-top: 40px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.navegacao-retorno a {
    text-decoration: none;
    color: #3498db; 
}

.navegacao-retorno a:hover {
    text-decoration: underline;
}

.entry {
    margin-bottom: 2rem; /
}

.entry time {
    display: block;
    font-weight: bold;
    font-size: 0.9em;
    color: #444; 
    margin-bottom: 5px;
}

.entry a {
    text-decoration: none;
    color: #3498db; 
    font-weight: normal;
    transition: all 0.2s ease;
}

.entry a:hover {
    text-decoration: underline;
    color: #2980b9;
}

.entry a:visited {
    color: #3498db;
}