Files
izzy2lost.com/style.css
2025-12-26 17:54:41 -05:00

701 lines
12 KiB
CSS

/* Animations */
@keyframes neonPulse {
0%, 100% {
filter: drop-shadow(0 0 10px rgba(0, 227, 255, 0.4));
}
50% {
filter: drop-shadow(0 0 25px rgba(0, 227, 255, 0.8));
}
}
@keyframes flicker {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.95;
}
}
/* Base Styles - Mobile First */
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
color: white;
background: #050810;
overflow-x: hidden;
}
#starfield {
position: fixed;
inset: 0;
z-index: -1;
}
/* CRT Toggle */
.crt-toggle {
position: fixed;
top: 12px;
right: 12px;
z-index: 20;
color: white;
font-size: 13px;
background: rgba(0, 0, 0, 0.5);
padding: 8px 12px;
border-radius: 8px;
backdrop-filter: blur(10px);
}
.crt-toggle label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
user-select: none;
}
/* Hide default checkbox */
.crt-toggle input {
position: absolute;
opacity: 0;
cursor: pointer;
width: 0;
height: 0;
}
/* Custom CRT TV checkbox using image */
.crt-toggle label span:first-of-type {
position: relative;
width: 40px;
height: 40px;
display: block;
flex-shrink: 0;
background-image: url('assets/crt.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: all 0.3s ease;
}
/* Blue screen glow behind when checked */
.crt-toggle label span:first-of-type:before {
content: "";
position: absolute;
inset: 8px;
background: radial-gradient(circle at center, rgba(0, 227, 255, 0) 0%, rgba(0, 227, 255, 0) 100%);
z-index: -1;
transition: all 0.3s ease;
}
.crt-toggle input:checked + span:before {
background: radial-gradient(circle at center, rgba(0, 227, 255, 0.9) 0%, rgba(0, 227, 255, 0.6) 40%, rgba(0, 227, 255, 0) 70%);
box-shadow: 0 0 10px rgba(0, 227, 255, 0.5);
}
.crt-on {
position: relative;
animation: flicker 0.15s infinite;
}
/* Scanlines */
.crt-on:after {
content: "";
pointer-events: none;
position: fixed;
inset: 0;
background: repeating-linear-gradient(
0deg,
rgba(0, 0, 0, 0.15),
rgba(0, 0, 0, 0.15) 1px,
transparent 1px,
transparent 2px
);
z-index: 10;
}
/* Screen curvature and vignette */
.crt-on:before {
content: "";
pointer-events: none;
position: fixed;
inset: 0;
background: radial-gradient(
ellipse at center,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0) 50%,
rgba(0, 0, 0, 0.3) 100%
);
z-index: 10;
}
/* RGB shift effect on text */
.crt-on * {
text-shadow:
0.5px 0 0 rgba(255, 0, 0, 0.3),
-0.5px 0 0 rgba(0, 255, 255, 0.3);
}
/* Navbar */
.navbar {
padding: 16px;
background: rgba(5, 8, 16, 0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 227, 255, 0.2);
}
.nav-left {
display: flex;
align-items: center;
gap: 12px;
}
.logo-img {
width: 40px;
height: 40px;
object-fit: contain;
border-radius: 28%;
}
.logo-text {
display: flex;
flex-direction: column;
}
.logo-main {
font-size: 18px;
font-weight: bold;
color: #00e3ff;
line-height: 1.2;
}
.logo-sub {
font-size: 11px;
color: rgba(255, 255, 255, 0.6);
line-height: 1.2;
}
/* Hero Section */
.hero {
padding: 40px 16px;
text-align: center;
}
.hero-inner h1 {
font-size: 28px;
margin: 0 0 12px 0;
color: #00e3ff;
text-shadow: 0 0 20px rgba(0, 227, 255, 0.5);
}
.hero-inner p {
font-size: 16px;
margin: 0;
color: #ff2a9d;
text-shadow:
0 0 10px rgba(255, 42, 157, 0.8),
0 0 20px rgba(255, 42, 157, 0.6),
0 0 30px rgba(255, 42, 157, 0.4);
font-weight: 500;
}
/* Projects Section */
.projects-section {
padding: 20px 16px 40px;
}
.featured-row {
display: flex;
gap: 16px;
max-width: 1200px;
margin: 0 auto 16px;
align-items: stretch;
}
.featured-card {
flex: 1;
min-height: 0;
justify-content: flex-start;
gap: 14px;
}
.featured-main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
width: 100%;
color: inherit;
text-decoration: none;
text-align: center;
}
.featured-text {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
}
.featured-card h3 {
font-size: 20px;
margin: 0;
}
.featured-kicker {
margin: 0;
font-size: 13px;
font-weight: 600;
color: #ff2a9d;
text-shadow:
0 0 10px rgba(255, 42, 157, 0.6),
0 0 20px rgba(255, 42, 157, 0.4);
}
.email-cta {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 10px 14px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.25);
background: rgba(0, 0, 0, 0.25);
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
font-size: 13px;
font-weight: 600;
width: fit-content;
max-width: 100%;
margin: 0 auto;
}
.gmail-icon {
width: 28px;
height: 28px;
display: block;
}
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 16px;
max-width: 1200px;
margin: 0 auto;
}
.project-card {
text-decoration: none;
color: white;
background: rgba(0, 227, 255, 0.05);
border: 1px solid rgba(0, 227, 255, 0.2);
border-radius: 12px;
padding: 20px;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 140px;
}
.project-card:hover {
background: rgba(0, 227, 255, 0.1);
border-color: rgba(0, 227, 255, 0.5);
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0, 227, 255, 0.2);
}
.card-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
width: 100%;
}
.project-icon {
width: 64px;
height: 64px;
object-fit: contain;
border-radius: 28%;
filter: drop-shadow(0 0 10px rgba(0, 227, 255, 0.4));
animation: neonPulse 3s ease-in-out infinite;
}
.project-page .coming-soon {
display: inline-block;
padding: 6px 12px;
margin: 0 auto 28px;
border-radius: 999px;
border: 1px solid rgba(0, 227, 255, 0.5);
background: rgba(0, 227, 255, 0.08);
color: #00e3ff;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.project-card h3 {
margin: 0;
font-size: 16px;
text-align: center;
color: #00e3ff;
}
/* Buttons */
.btn {
padding: 12px 24px;
border-radius: 20px;
text-decoration: none;
margin: 5px;
display: inline-block;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.btn.primary {
background: #00e3ff;
color: #000;
}
.btn.primary:hover {
background: #00c8e6;
box-shadow: 0 4px 12px rgba(0, 227, 255, 0.4);
}
.btn.ghost {
border: 1px solid #fff;
color: #fff;
background: transparent;
}
.btn.ghost:hover {
background: rgba(255, 255, 255, 0.1);
}
/* Badge Buttons */
.btn-badge {
display: inline-block;
margin: 5px;
transition: all 0.3s ease;
}
.btn-badge img {
height: 100px;
width: auto;
display: block;
}
.btn-badge:hover {
transform: scale(1.05);
filter: brightness(1.1);
}
/* GitHub Logo Button */
.btn-badge.github-logo {
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 20px;
padding: 12px 20px;
background: rgba(0, 0, 0, 0.2);
}
.btn-badge.github-logo:hover {
border-color: rgba(255, 255, 255, 0.5);
background: rgba(0, 0, 0, 0.3);
}
.btn-badge.github-logo img {
height: 26px;
width: auto;
display: block;
}
/* Project Detail Pages */
.project-page {
max-width: 600px;
margin: 0 auto;
padding: 40px 16px;
text-align: center;
}
.project-page .project-icon-large {
width: 100px;
height: 100px;
display: block;
margin: 0 auto 24px;
object-fit: contain;
border-radius: 28%;
filter: drop-shadow(0 0 20px rgba(0, 227, 255, 0.4));
animation: neonPulse 3s ease-in-out infinite;
}
.project-page h1 {
font-size: 32px;
margin: 0 0 16px 0;
color: #00e3ff;
text-shadow: 0 0 20px rgba(0, 227, 255, 0.5);
}
.project-page p {
font-size: 16px;
line-height: 1.6;
color: rgba(255, 255, 255, 0.8);
margin: 0 0 32px 0;
}
.project-links {
display: flex;
flex-direction: column;
gap: 12px;
align-items: center;
}
.back {
color: #00e3ff;
text-decoration: none;
font-size: 16px;
font-weight: 500;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 4px;
}
.back:hover {
color: #00c8e6;
transform: translateX(-4px);
}
/* Tablet Styles */
@media (min-width: 600px) {
.navbar {
padding: 20px 24px;
}
.logo-img {
width: 48px;
height: 48px;
}
.logo-main {
font-size: 22px;
}
.logo-sub {
font-size: 12px;
}
.hero {
padding: 60px 24px;
}
.hero-inner h1 {
font-size: 36px;
}
.hero-inner p {
font-size: 18px;
}
.projects-section {
padding: 30px 24px 60px;
}
.featured-row {
margin-bottom: 20px;
}
.project-grid {
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 20px;
}
.project-card {
padding: 24px;
min-height: 160px;
}
.project-icon {
width: 72px;
height: 72px;
}
.project-card h3 {
font-size: 18px;
}
.project-page {
padding: 60px 24px;
}
.project-page .project-icon-large {
width: 120px;
height: 120px;
margin-bottom: 28px;
}
.project-page h1 {
font-size: 40px;
}
.project-page p {
font-size: 18px;
margin-bottom: 40px;
}
.project-links {
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
}
.back {
font-size: 17px;
}
}
@media (max-width: 420px) {
.featured-row {
flex-direction: column;
}
.email-cta {
width: 100%;
}
}
/* Neon Pink Button */
.btn-neon-pink {
color: #ff2a9d !important;
border: 2px solid #ff2a9d !important;
background: transparent !important;
padding: 8px 16px !important;
font-size: 12px !important;
text-shadow:
0 0 10px rgba(255, 42, 157, 0.8),
0 0 20px rgba(255, 42, 157, 0.6);
box-shadow:
0 0 10px rgba(255, 42, 157, 0.4),
inset 0 0 10px rgba(255, 42, 157, 0.1);
}
.btn-neon-pink:hover {
color: #ff2a9d !important;
border-color: #ff2a9d !important;
background: rgba(255, 42, 157, 0.1) !important;
text-shadow:
0 0 15px rgba(255, 42, 157, 1),
0 0 30px rgba(255, 42, 157, 0.8);
box-shadow:
0 0 20px rgba(255, 42, 157, 0.6),
inset 0 0 15px rgba(255, 42, 157, 0.2);
transform: translateY(-2px);
}
/* Email Icon */
.email-icon-simple {
display: inline-block;
text-decoration: none;
transition: all 0.3s ease;
margin-left: 4px;
}
.email-icon-simple:hover {
opacity: 0.7;
transform: scale(1.1);
}
/* Desktop Styles */
@media (min-width: 1024px) {
.navbar {
padding: 24px 40px;
}
.logo-img {
width: 56px;
height: 56px;
}
.logo-main {
font-size: 24px;
}
.logo-sub {
font-size: 13px;
}
.hero {
padding: 80px 40px;
}
.hero-inner h1 {
font-size: 48px;
}
.hero-inner p {
font-size: 20px;
}
.projects-section {
padding: 40px 40px 80px;
}
.project-grid {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 24px;
}
.project-card {
padding: 28px;
min-height: 180px;
}
.project-icon {
width: 80px;
height: 80px;
}
.project-card h3 {
font-size: 20px;
}
.crt-toggle {
top: 16px;
right: 16px;
font-size: 15px;
padding: 10px 16px;
}
.project-page {
padding: 80px 40px;
}
.project-page .project-icon-large {
width: 140px;
height: 140px;
margin-bottom: 32px;
}
.project-page h1 {
font-size: 48px;
}
.project-page p {
font-size: 20px;
margin-bottom: 48px;
}
.back {
font-size: 18px;
}
}