This repository has been archived on 2025-05-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
seccodesmith-frontend/src/pages/Home.module.css
T
2025-05-17 22:17:31 +02:00

247 lines
4.5 KiB
CSS

/* Hero Section */
.hero {
height: 100vh;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
padding-top: 76px;
/* Account for navbar height */
}
.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('/api/placeholder/1200/800') center/cover no-repeat;
opacity: 0.15;
filter: brightness(0.5) contrast(1.2);
z-index: -1;
}
.title-main {
font-size: 4rem;
font-weight: 700;
position: relative;
display: inline-block;
}
.title-main::before {
content: "< ";
color: var(--accent-fire);
opacity: 0.8;
}
.title-main::after {
content: " />";
color: var(--accent-fire);
opacity: 0.8;
}
.subtitle {
font-size: 1.6rem;
color: var(--text-ash);
margin-bottom: 2rem;
}
/* Binary Background */
.binary-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.07;
overflow: hidden;
}
.binary-line {
position: absolute;
font-family: 'Fira Code', monospace;
color: var(--accent-fire);
font-size: 1rem;
animation: fall linear infinite;
opacity: 0.7;
}
/* Button Styling */
.btn-primary {
background: linear-gradient(45deg, var(--accent-dragon), var(--accent-fire));
border: none;
padding: 0.75rem 2rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 7px 25px rgba(139, 0, 0, 0.5);
background-color: var(--accent-fire);
background-image: none;
}
.btn-primary::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: all 0.6s ease;
}
.btn-primary:hover::before {
left: 100%;
}
/* Skills Section */
.skills-section {
padding: 6rem 0;
background-color: var(--secondary-dark);
position: relative;
}
.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
position: relative;
display: inline-block;
}
.section-title::after {
content: "";
position: absolute;
width: 80px;
height: 3px;
background: var(--accent-fire);
bottom: -10px;
left: 50%;
transform: translateX(-50%);
box-shadow: var(--glow-effect);
}
.card {
background-color: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 8px;
transition: all 0.3s ease;
height: 100%;
position: relative;
overflow: hidden;
}
.card:hover {
transform: translateY(-10px);
border-color: rgba(255, 100, 0, 0.3);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.card::before {
content: "";
position: absolute;
width: 100%;
height: 5px;
top: 0;
left: 0;
background: linear-gradient(to right, var(--accent-dragon), var(--accent-fire));
}
.card-header {
background-color: transparent;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
gap: 10px;
}
.category-icon {
color: var(--accent-fire);
font-size: 1.5rem;
}
.category-title {
font-size: 1.4rem;
margin-bottom: 0;
}
.skill-item {
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 12px;
}
.skill-icon {
color: var(--accent-fire);
font-size: 1.5rem;
min-width: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.skill-icon i {
display: inline-flex;
align-items: center;
justify-content: center;
}
.skill-name {
color: var(--text-ash);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Blinking cursor effect */
.blinking-cursor {
display: inline-block;
width: 10px;
height: 24px;
background-color: var(--accent-fire);
margin-left: 5px;
animation: blink 1s step-end infinite;
box-shadow: var(--glow-effect);
}
@keyframes blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
/* Particles effect */
.particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}
.particle {
position: absolute;
width: 3px;
height: 3px;
background-color: var(--accent-fire);
border-radius: 50%;
opacity: 0;
animation: rise linear forwards;
}