You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
133 lines
2.1 KiB
133 lines
2.1 KiB
body { |
|
display: flex; |
|
flex-direction: column; |
|
} |
|
|
|
.header { |
|
display: flex; |
|
justify-content: space-between; |
|
position: sticky; |
|
top: 0; |
|
z-index: 100; |
|
background-color: white; |
|
padding: 1rem 2rem; |
|
} |
|
|
|
.logo { |
|
font-weight: bold; |
|
font-size: 1.5rem; |
|
} |
|
|
|
.nav { |
|
display: flex; |
|
gap: 2rem; |
|
} |
|
|
|
.nav a { |
|
padding: 0.5rem 1rem; |
|
background-color: bisque; |
|
text-decoration: none; |
|
} |
|
|
|
.hero { |
|
display: flex; |
|
height: 80vh; |
|
position: relative; |
|
} |
|
|
|
.hero img { |
|
height: 100%; |
|
width: 100%; |
|
} |
|
|
|
.hero-left { |
|
display: flex; |
|
flex-direction: column; |
|
flex: 1; |
|
font-size: 22px; |
|
|
|
justify-content: center; |
|
/* background-color: aquamarine; */ |
|
padding: 2rem; |
|
} |
|
|
|
.hero-right { |
|
display: flex; |
|
flex: 2; |
|
} |
|
|
|
.social-links { |
|
display: flex; |
|
flex-direction: column; |
|
position: absolute; |
|
bottom: 2rem; |
|
left: 2rem; |
|
} |
|
|
|
.social-links a { |
|
display: block; |
|
font-size: 36px; |
|
padding: 2rem; |
|
} |
|
|
|
.gallery { |
|
display: grid; |
|
gap: 1rem; |
|
/* grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); */ |
|
grid-template-columns: repeat(3, 1fr); |
|
margin-top: 2rem; |
|
box-sizing: border-box; |
|
/* max-width: 1200px; */ |
|
width: 100%; |
|
background-color: aquamarine; |
|
/* flex-wrap: wrap; */ |
|
} |
|
|
|
.gallery-column { |
|
display: flex; |
|
flex-direction: column; |
|
flex: 1; |
|
min-width: 300px; |
|
} |
|
|
|
.tall img { |
|
width: 100%; |
|
height: 800px; |
|
} |
|
|
|
.medium img { |
|
width: 100%; |
|
height: 600px; |
|
} |
|
|
|
.small img { |
|
width: 100%; |
|
height: 400px; |
|
} |
|
|
|
.services { |
|
display: grid; |
|
grid-template-columns: repeat(3,1fr); |
|
border-top: 3px solid black; |
|
border-bottom: 3px solid black; |
|
} |
|
|
|
.service-card { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
.service-card:nth-child(even) { |
|
transform: translateY(4rem); |
|
} |
|
|
|
.service-card h3 { |
|
color: blue; |
|
font-size: 36px; |
|
font-weight: 900; |
|
} |
|
|
|
.service-card p { |
|
font-size: 24px; |
|
} |