Private
Public Access
1
0
Files
MineSeeker/assets/css/homepage/_hero.scss

90 lines
1.9 KiB
SCSS

.hero {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
min-height: 100vh;
padding: 80px 40px 160px;
gap: 0;
}
// Decorative glow blobs in opposite corners
.hero::before {
content: '';
position: absolute;
top: -60px;
left: -60px;
width: 420px;
height: 420px;
border-radius: 50%;
background: radial-gradient(circle, rgba(173, 10, 5, 0.09) 0%, transparent 65%);
pointer-events: none;
z-index: 0;
}
.hero::after {
content: '';
position: absolute;
bottom: 100px;
right: -60px;
width: 380px;
height: 380px;
border-radius: 50%;
background: radial-gradient(circle, rgba(35, 111, 135, 0.1) 0%, transparent 65%);
pointer-events: none;
z-index: 0;
}
// Logo
.hero-logo {
display: block;
margin-bottom: 72px;
position: relative;
z-index: 1;
animation: appear 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-logo img {
width: 400px;
max-width: 82vw;
filter:
drop-shadow(0 0 40px rgba(35, 111, 135, 0.35))
drop-shadow(0 6px 20px rgba(0, 0, 0, 0.8));
}
// Body text block
.hero-body {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 0;
}
.hero-sub {
font: 300 17px 'Rajdhani', sans-serif;
color: rgba(149, 207, 245, 0.9);
letter-spacing: 3px;
text-transform: uppercase;
margin-bottom: 18px;
animation: rise 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-sub strong {
font-weight: 600;
color: #95cff5;
}
.hero h1 {
font: 800 58px 'Rajdhani', sans-serif;
color: #ffffff;
line-height: 1.1;
letter-spacing: 1px;
margin-bottom: 56px;
text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
animation: rise 0.8s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}