mirror of
https://github.com/System-End/My-website.git
synced 2026-04-19 16:28:16 +00:00
142 lines
3 KiB
CSS
142 lines
3 KiB
CSS
/* src/App.css */
|
|
:root {
|
|
--background-primary: #1a0b2e;
|
|
--background-secondary: #2f1c54;
|
|
--accent-primary: #9d4edd;
|
|
--accent-neon: #b249f8;
|
|
--text-glow: #e0aaff;
|
|
--text-primary: #ffffff;
|
|
--dark-accent: #240046;
|
|
}
|
|
/* Custom Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: var(--background-primary);
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--accent-primary);
|
|
border-radius: 5px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--accent-neon);
|
|
box-shadow: 0 0 10px var(--text-glow);
|
|
}
|
|
/* Particle Effects */
|
|
.particle-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
.particle {
|
|
position: absolute;
|
|
width: 3px;
|
|
height: 3px;
|
|
background: var(--text-glow);
|
|
border-radius: 50%;
|
|
animation: particleFloat linear infinite;
|
|
opacity: 0.5;
|
|
}
|
|
@keyframes particleFloat {
|
|
0% {
|
|
transform: translateY(100vh) scale(0);
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: translateY(-20vh) scale(1);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
/* Main Layout */
|
|
.app-container {
|
|
min-height: 100vh;
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--background-primary),
|
|
var(--background-secondary)
|
|
);
|
|
color: var(--text-primary);
|
|
font-family: "Inter", sans-serif;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
/* Header Styles */
|
|
.header {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
}
|
|
.header h1 {
|
|
font-size: 3.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.subtitle {
|
|
font-size: 1.2rem;
|
|
opacity: 0.9;
|
|
}
|
|
/* Content Sections */
|
|
.content-section {
|
|
max-width: 1200px;
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
background: rgba(26, 11, 46, 0.5);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 16px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
/* Interests Grid */
|
|
.interests-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
.interest-card {
|
|
background: rgba(47, 28, 84, 0.3);
|
|
padding: 1.5rem;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(157, 78, 221, 0.2);
|
|
transition: all 0.3s ease;
|
|
}
|
|
.interest-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--accent-neon);
|
|
box-shadow: 0 0 20px rgba(178, 73, 248, 0.2);
|
|
}
|
|
/* Twitch Button */
|
|
.twitch-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: #9146ff;
|
|
color: white;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
.twitch-button:hover {
|
|
background: #7c2bff;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 0 15px rgba(145, 70, 255, 0.5);
|
|
}
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.header h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
.content-section {
|
|
padding: 1rem;
|
|
margin: 1rem;
|
|
}
|
|
.interests-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|