Marwan Alwali d9ef0a35c3 update
2025-03-20 01:46:42 +03:00

101 lines
1.9 KiB
SCSS

// main: ../main.scss
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
width: 100%;
min-height: 80vh;
position: relative;
padding: 120px 0 60px 0;
display: flex;
align-items: center;
h1 {
margin: 0;
font-size: 48px;
font-weight: 700;
line-height: 56px;
}
p {
color: color-mix(in srgb, var(--default-color), transparent 30%);
margin: 5px 0 30px 0;
font-size: 22px;
line-height: 1.3;
font-weight: 600;
}
.btn-get-started {
color: var(--contrast-color);
background: var(--accent-color);
font-family: var(--heading-font);
font-weight: 500;
font-size: 15px;
letter-spacing: 1px;
display: inline-block;
padding: 10px 28px 12px 28px;
border-radius: 50px;
transition: 0.5s;
&:hover {
color: var(--contrast-color);
background: color-mix(in srgb, var(--accent-color), transparent 15%);
}
}
.btn-watch-video {
font-size: 16px;
transition: 0.5s;
margin-left: 25px;
color: var(--default-color);
font-weight: 600;
i {
color: var(--contrast-color);
font-size: 32px;
transition: 0.3s;
line-height: 0;
margin-right: 8px;
}
&:hover {
color: var(--accent-color);
i {
color: color-mix(in srgb, var(--accent-color), transparent 15%);
}
}
}
.animated {
animation: up-down 2s ease-in-out infinite alternate-reverse both;
}
@media (max-width: 640px) {
h1 {
font-size: 28px;
line-height: 36px;
}
p {
font-size: 18px;
line-height: 24px;
margin-bottom: 30px;
}
.btn-get-started,
.btn-watch-video {
font-size: 13px;
}
}
}
@keyframes up-down {
0% {
transform: translateY(10px);
}
100% {
transform: translateY(-10px);
}
}