2025-06-02 07:33:36 +05:30

87 lines
1.3 KiB
SCSS

@use "vars" as *;
html, body {
margin: 0;
padding: 0;
scroll-behavior: smooth;
height: 100%;
font-family: $font-stack;
background: $background;
color: $text-color;
}
main {
scroll-snap-type: y mandatory;
overflow-y: scroll;
height: 100vh;
}
.section {
scroll-snap-align: start;
height: 90vh;
//display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
//padding: 1rem;
box-sizing: border-box;
//position: relative;
margin:0;
.title-footer {
position: sticky;
top: 0;
height: 10vh;
width: 100%;
margin: 0;
z-index: 2;
text-align: left;
//color: white;
font-size: 2rem;
text-shadow: 0 0 5px #000;
transition: top 0.3s ease;
background-color: white;
color: purple;
}
&::before {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-size: cover;
background-position: center;
filter: blur(5px);
opacity: 0.2;
z-index: 0;
}
.content {
position: relative;
z-index: 1;
text-align: center;
max-width: 800px;
margin: 0 2rem;
}
}
h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
ul {
list-style: none;
padding: 0;
li {
margin: 0.5rem 0;
}
}
footer {
margin-top: auto;
padding: 1rem;
font-size: 0.875rem;
text-align: center;
opacity: 0.5;
}