Files
2026-10-26 23:40:31 +01:00

187 lines
3.2 KiB
CSS

/* --- General Reset & Variables --- */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
background-color: #f9f9fb;
color: #333;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
/* --- Header & Navigation --- */
.header {
background-color: #2c3e50; /* Darker, professional color */
color: white;
padding: 1rem 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header .container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.header h1 {
margin: 0;
font-size: 1.8rem;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}
nav ul li a {
color: white;
text-decoration: none;
padding: 10px 15px;
transition: background-color 0.3s;
}
nav ul li a:hover {
background-color: #34495e;
border-radius: 4px;
}
/* --- Main Content Sections --- */
main {
padding: 30px 0;
min-height: 80vh; /* Increased height for better section separation */
}
.content-section {
margin-bottom: 50px;
padding: 20px 0;
}
.content-section h2 {
color: #2c3e50;
border-bottom: 3px solid #3498db; /* Highlight color */
padding-bottom: 10px;
margin-bottom: 25px;
font-size: 2.2rem;
}
/* Landing Page Specific Styles */
.hero-section {
text-align: center;
padding: 60px 0;
background-color: #ecf0f1;
border-radius: 10px;
margin-bottom: 30px;
}
.hero-section p {
font-size: 1.1rem;
margin-bottom: 20px;
}
.btn {
display: inline-block;
background-color: #3498db;
color: white;
padding: 12px 25px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #2980b9;
}
/* Portfolio Specific Styles */
.portfolio-section {
background-color: #ffffff;
border-radius: 10px;
padding: 30px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
}
.project-card {
background-color: #f4f4f9;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}
.project-card:hover {
transform: translateY(-8px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.project-card h3 {
color: #2c3e50;
margin-top: 0;
}
/* Blog Specific Styles */
.blog-section {
background-color: #ffffff;
border-radius: 10px;
padding: 30px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.post-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.post-summary {
border-bottom: 1px solid #eee;
padding-bottom: 15px;
}
.post-summary h4 {
color: #3498db;
margin-top: 0;
}
.post-summary p {
color: #666;
}
.post-summary a {
color: #2c3e50;
text-decoration: none;
font-weight: bold;
}
/* --- Footer --- */
.footer {
background-color: #34495e;
color: white;
text-align: center;
padding: 1.5rem 0;
}
.footer .container {
display: flex;
justify-content: center;
}