task-web/assets/css/main.css
2025-05-01 19:46:52 -04:00

188 lines
3.1 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, .hero-profile {
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);
}
}
/* About section */
.about-section {
min-height: 100vh;
background-color: var(--bg-black);
padding: 4rem 2rem;
}
.about-screen {
max-width: 1200px;
margin: 0 auto;
}
.about-title {
text-align: center;
margin-bottom: 4rem;
}
.about-title h2 {
font-size: 2.5rem;
color: var(--white);
margin-bottom: 1rem;
}
.about-title p {
color: var(--maroon-pink);
font-size: 1.2rem;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
padding: 1rem;
}
.feature-card {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 2rem;
text-align: center;
transition: transform 0.3s ease, background-color 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
background-color: rgba(255, 255, 255, 0.08);
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.feature-card h3 {
color: var(--white);
margin-bottom: 1rem;
font-size: 1.3rem;
}
.feature-card p {
color: var(--silver);
font-size: 0.95rem;
line-height: 1.5;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.about-section {
padding: 3rem 1rem;
}
.feature-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.about-title {
margin-bottom: 3rem;
}
.about-title h2 {
font-size: 2rem;
}
}