2024-06-07 22:11:11 +02:00
|
|
|
:target::before {
|
|
|
|
|
content: "";
|
|
|
|
|
display: block;
|
|
|
|
|
height: 4rem;
|
|
|
|
|
margin-top: -4rem;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-07 20:35:55 +02:00
|
|
|
/* Style for active link based on body class */
|
|
|
|
|
body.home .home-link,
|
|
|
|
|
body.about .about-link,
|
|
|
|
|
body.contact .contact-link {
|
|
|
|
|
color: red;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nav.bg-dark {
|
|
|
|
|
background-color: rgba(var(--bs-dark-rgb), 0.7) !important;
|
2024-06-07 22:11:11 +02:00
|
|
|
transition: background-color 0.5s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body.is-scrolled nav.bg-dark {
|
|
|
|
|
background-color: rgba(var(--bs-dark-rgb), 1.0) !important;
|
2024-06-07 20:35:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section.hero {
|
|
|
|
|
position: relative;
|
|
|
|
|
min-height: 20rem;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
/* background-color: darkred; */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section.hero video {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
}
|