165 lines
2.8 KiB
CSS
165 lines
2.8 KiB
CSS
.hero {
|
|
position: relative;
|
|
height: 100vh;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
margin-top: 0;
|
|
/* Header is fixed overlay */
|
|
}
|
|
|
|
.slide {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
transition: opacity 1s ease-in-out;
|
|
}
|
|
|
|
.slide.active {
|
|
opacity: 1;
|
|
z-index: 1;
|
|
}
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
/* background: rgba(0, 0, 0, 0.5); */
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
text-align: left;
|
|
padding: 0 4rem 0 6rem;
|
|
}
|
|
|
|
.content {
|
|
max-width: 900px;
|
|
animation: fadeInUp 1s ease-out 0.5s forwards;
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
text-align: left;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.title {
|
|
font-family: var(--font-playfair);
|
|
font-size: 78px;
|
|
color: #d3cab3;
|
|
margin-bottom: 1rem;
|
|
line-height: 1.2;
|
|
text-align: left;
|
|
}
|
|
|
|
.subtitle {
|
|
font-family: var(--font-playfair);
|
|
font-size: 33px;
|
|
color: var(--color-paragraph);
|
|
margin-bottom: 2rem;
|
|
font-style: italic;
|
|
text-align: left;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.btn {
|
|
padding: 25px 40px;
|
|
font-family: var(--font-lato);
|
|
font-size: 20px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btnPrimary {
|
|
background-color: var(--color-gold);
|
|
color: #d3cab3;
|
|
border: 1px solid var(--color-gold);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.btnPrimary:hover {
|
|
background-color: transparent;
|
|
color: var(--color-gold);
|
|
}
|
|
|
|
.btnSecondary {
|
|
background-color: transparent;
|
|
color: #d3cab3;
|
|
border: 3px solid #b28839;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.btnSecondary:hover {
|
|
background-color: var(--color-gold);
|
|
color: #d3cab3;
|
|
}
|
|
|
|
.dots {
|
|
position: absolute;
|
|
bottom: 2rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 3;
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.dot.active {
|
|
background-color: var(--color-gold);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.overlay {
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.title {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.buttons {
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
}
|
|
.btn {
|
|
padding: 12px 25px;
|
|
font-family: var(--font-lato);
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-decoration: none;
|
|
}
|
|
} |