66 lines
1.1 KiB
CSS
66 lines
1.1 KiB
CSS
/* === Hero === */
|
|
.hero-overlay {
|
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1)), url('/images/Background.png');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
margin-top: 2em;
|
|
}
|
|
|
|
h1 {
|
|
padding-top: 2em;
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
height: 70vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.hero-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
/* Background is set in the component */
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
text-align: center;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 4rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.hero-content p {
|
|
margin: 0.5rem 0 1rem 0;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.button {
|
|
margin-top: 2rem;
|
|
padding: 0.8rem 2rem;
|
|
background: linear-gradient(45deg, #ffa500, #ff7f00);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 30px;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.button:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
|
|
} |