/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.orange {
    color: #FF7F50; 
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #020414; /* Dark background */
    color: #E0E0E0; /* Slightly darker white for body text */
    line-height: 1.6;
}

/* Container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation Styles */
nav {
	/* Offset the nav from the top and center it */
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

.nav-container {
	/* Make the nav only 80% wide and split the content betweeen the left and right margin */
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.logo img {
    max-width: 50px;
    max-height: 50px;
}

.nav-links {
	/* Display nav in a row when wide screen, and override to column when narrow */
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 1.1rem;
}

.nav-links li {
    margin: 0 1rem;
}

/* Header Styles */
header {
    text-align: center;
}

header .name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF7F50; 
}

header .tagline {
    font-size: 1.2rem;
    color: #E0E0E0; 
}

/* Section Styles */
section {
    padding: 2rem 0;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #E0E0E0; 
}

/* Blog Posts */
.posts {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.post-content {
    background-color: #0A2A43; 
    border: 1px solid #FF7F50; 
    border-radius: 5px;
    padding: 2rem;
	width: 80%;
	margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #E0E0E0; 
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #FF7F50; 
    margin-bottom: 1rem;
}

.post-content h2 a {
    text-decoration: none;
} 

.post-content h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FF7F50; 
    margin-bottom: 1rem;
}

.post-content h3 a {
    text-decoration: none;
}

.post-content .date {
    text-align: center;
}

.post-content ul {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
}

.post-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
}

pre {
    background-color: #020414; 
    color: #E0E0E0;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
    text-align: left;
}

/* Back to Blog Button */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #FF7F50; 
    color: #020414; 
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1.5rem;
}

.btn:hover {
    background-color: #B75C3A; 
    color: #020414; 
}


/* Footer Styles */
footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 1rem;
    font-size: 1rem;
    color: #FF7F50;
}

footer p {
    margin: 0;
}

/* Link Styles */
a {
    color: #FF7F50; /* Orange accent for general links */
}

a:hover {
    color: #B75C3A; /* Dark orange on hover */
}

svg {
    width: 30px;
    height: 30px;
    fill: #FF7F50;
}

svg:hover {
    fill: #B75C3A;
}
  

/* Responsive Layout */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .post-content {    
        width: 100%;
        padding: 1rem;
    }
}