body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

* {
  box-sizing: border-box;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header h1 {
    margin: 0;
    text-align: center;
    animation: title-quirk 0.5s cubic-bezier(0.1,0.9,0.1,0.9);
}

header h1 a {
    color: #e0e0e0;
    text-decoration: none;
}

main {
    animation: main-quirk 0.25s ease-out;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-bottom: 20px;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #4fc3f7;
    text-decoration: none;
}

main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

main figcaption {
    font-size: 12px;
}

main p {
    text-align:justify;
}

/* Dotted border */
hr.dashed {
  border: 0;
  border-bottom: 2px dashed #333;
}

@media only screen and (max-width: 600px) {
    .container {
        width: 100%;
        padding: 10px;
    }
}

a:not(header h1 a) {
    color: #7ec0ee; /* A brighter, more readable color for links */
    text-decoration: none;
}

/* Change color for visited links, if desired */
a:visited:not(header h1 a) {
    color: #b19cd9; /* A different color for visited links */
}

/* Styling for the date */
.date {
    font-size: 0.9em; /* Slightly smaller font size */
    color: #a9a9a9; /* A greyish color for less prominence */
    margin-bottom: 10px; /* Spacing for better readability */
    display: block; /* To ensure it takes its own line */
}

.article-preview {
    margin-bottom: 30px; /* Spacing between each article preview */
    padding-bottom: 15px; /* Padding at the bottom of each preview */
    border-bottom: 1px solid #333; /* Subtle border for separation */
}

.article-preview h2 {
    margin-top: 0; /* Reducing space above the title */
    margin-bottom: 5px; /* Tighter space below the title */
    /*text-transform: capitalize;*/
}

.article-preview .date {
    margin-bottom: 10px; /* Space below the date */
    color: #a9a9a9;
    font-size: 0.9em;
}

.article-preview p {
    margin-top: 0; /* Reducing space above the paragraph */
    margin-bottom: 10px; /* Space below the paragraph */
}

/* Styling for blockquotes */
blockquote {
    border-left: 3px solid #4fc3f7; /* Left border to highlight the quote */
    margin: 20px 0;
    padding-left: 20px;
    background-color: #1a1a1a; /* Slightly different background */
    color: #e0e0e0; /* Ensure text is readable */
}

/* Styling for cite */
cite {
    display: block; /* Block display for separation */
    text-align: right; /* Align citation to the right */
    margin-top: 10px;
    font-style: italic; /* Italicize the text to differentiate */
    font-size: 0.8em; /* Slightly smaller font size */
    color: #bbb; /* Less prominent color */
}

@keyframes title-quirk {
    0% {
        transform: rotate(-20deg) translate(-20px, 35px) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: rotate(0) translate(0) scale(1);
        opacity: 1;
    }
}

@keyframes main-quirk {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.not-found {
    text-align: center;
}

.not-found p {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.back-to-home {
    display: inline-block;
    color: #4fc3f7;
    background-color: #2d2d2d;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.back-to-home:hover {
    background-color: #4fc3f7;
    color: #121212;
}

footer {
    color: #aaa; /* Light color for text */
    text-align: center; /* Centering the content */
    padding: 20px 0 40px 0; /* Padding around the text, larger at the bottom */
    margin-top: 40px; /* Space above the footer */
    border-top: 1px solid #333; /* Subtle border at the top of the footer */
}

footer p {
    margin: 0; /* Remove default margin */
}
