223 lines
3.6 KiB
CSS
223 lines
3.6 KiB
CSS
/* Base styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Helvetica', 'Arial', sans-serif;
|
|
background-color: #ffffff;
|
|
color: #333333;
|
|
line-height: 1.6;
|
|
text-align: center;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
position: relative;
|
|
}
|
|
|
|
/* Header styles */
|
|
header {
|
|
padding: 40px 0 20px;
|
|
}
|
|
|
|
.site-title {
|
|
font-size: 28px;
|
|
font-weight: 300;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Navigation */
|
|
nav {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
nav ul {
|
|
list-style: none;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
}
|
|
|
|
nav a {
|
|
text-decoration: none;
|
|
color: #555555;
|
|
font-size: 14px;
|
|
letter-spacing: 1px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: #7b9ea8;
|
|
}
|
|
|
|
/* Divider */
|
|
.divider {
|
|
width: 600px;
|
|
height: 1px;
|
|
background-color: #7b9ea8;
|
|
margin: 0 auto 10px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Hero section */
|
|
.hero {
|
|
padding: 20px 0 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 40px;
|
|
}
|
|
|
|
.hero-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero h2 {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 16px;
|
|
color: #555555;
|
|
max-width: 700px;
|
|
}
|
|
|
|
.hero-image {
|
|
flex: 0 0 auto;
|
|
width: 800px;
|
|
height: 600px;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.slideshow {
|
|
position: relative;
|
|
border: 1px solid black;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
padding: 10px;
|
|
background-color: #f7f7f7;
|
|
width: 800px;
|
|
height: 600px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.slideshow img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
transition: opacity 0.5s ease;
|
|
opacity: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero {
|
|
flex-direction: column-reverse;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-image {
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Portfolio section */
|
|
.portfolio-section {
|
|
padding: 20px 0 60px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 18px;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 40px;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.project-card {
|
|
background-color: #f7f7f7;
|
|
border: 1px solid #e0e0e0;
|
|
padding: 20px;
|
|
min-height: 200px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.project-card h3 {
|
|
font-size: 14px;
|
|
color: #555555;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Project thumbnail placeholder - replace with your actual thumbnails */
|
|
.thumbnail {
|
|
width: 100%;
|
|
height: 120px;
|
|
background-color: #e0e0e0;
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
color: #777;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
padding: 40px 0 20px;
|
|
color: #7b9ea8;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.projects-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
nav ul {
|
|
gap: 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
nav ul {
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|