task-web/assets/css/main.css
2025-04-24 23:48:02 -04:00

102 lines
1.7 KiB
CSS

/* CSS generated using Claude 3.5 Sonnet since I suck at UI design */
/* hero */
.hero-section {
min-height: calc(100vh - 74px); /* Subtract navbar height */
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.main-screen {
text-align: center;
padding: 2rem;
}
.center-screen {
margin-bottom: 3rem;
}
.hero-title {
font-size: 3.5rem;
color: var(--white);
margin-bottom: 1rem;
}
.hero-subtext {
font-size: 1.2rem;
color: var(--maroon-pink);
font-weight: normal;
margin: 0;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}
.hero-buttons a {
padding: 0.75rem 1.5rem;
border-radius: 4px;
text-decoration: none;
transition: all 0.2s ease-in-out;
}
.hero-register {
background-color: var(--white);
color: var(--bg-black);
}
.hero-signin, .hero-about {
border: 2px solid var(--white);
color: var(--white);
}
.hero-buttons a:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Scroll indicator animation */
.scroll-indicator {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
opacity: 0.8;
animation: fadeInOut 2s ease-in-out infinite;
}
.scroll-text {
color: var(--silver);
font-size: 0.9rem;
}
.scroll-arrow {
width: 20px;
height: 20px;
border: solid var(--silver);
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
@keyframes fadeInOut {
0% {
opacity: 0.3;
transform: translateX(-50%) translateY(-10px);
}
50% {
opacity: 0.8;
transform: translateX(-50%) translateY(0);
}
100% {
opacity: 0.3;
transform: translateX(-50%) translateY(-10px);
}
}