113 lines
1.9 KiB
CSS
113 lines
1.9 KiB
CSS
:root {
|
|
--spacing: 0;
|
|
}
|
|
.hero {
|
|
height: 100vh;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
.hero img {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
z-index: -1;
|
|
filter: brightness(0.6);
|
|
opacity: 1;
|
|
transition: opacity 1s ease;
|
|
}
|
|
.hero img.fade-out {
|
|
opacity: 0;
|
|
}
|
|
.hero img.zooming {
|
|
animation: slowZoom 10s forwards;
|
|
}
|
|
@keyframes slowZoom {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
100% {
|
|
transform: scale(1.1);
|
|
}
|
|
}
|
|
.hero-content {
|
|
text-align: center;
|
|
color: white;
|
|
padding: 2rem;
|
|
max-width: 800px;
|
|
}
|
|
.hero h1 {
|
|
font-size: 4rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.lead {
|
|
font-size: 1rem;
|
|
line-height: 1.3;
|
|
font-weight: 200;
|
|
margin-top: 1.5rem;
|
|
}
|
|
.nav-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.5rem 1rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
font-size: 0.9rem;
|
|
}
|
|
.logo {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
.nav-item {
|
|
position: relative;
|
|
color: white;
|
|
text-decoration: none;
|
|
padding: 0.5rem 0;
|
|
cursor: pointer;
|
|
}
|
|
.submenu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
background: rgba(0, 0, 0, 0.9);
|
|
min-width: 200px;
|
|
padding: 0.5rem 0;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(-10px);
|
|
transition: all 0.3s ease;
|
|
}
|
|
.submenu.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
.submenu a {
|
|
display: block;
|
|
padding: 0.5rem 1rem;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
.submenu a:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|