LucentLink/static/css/style.css

200 lines
3.8 KiB
CSS

:root {
--bg-color: #1a1a2e;
--text-color: rgba(255, 255, 255, 0.85);
--icon-color: rgba(255, 255, 255, 0.7);
}
body {
font-family: 'Poppins', sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
min-height: 100vh;
margin: 0;
padding: 0;
overflow-x: hidden;
font-size: 24px; /* Add this line - default is usually 16px */
}
/* Typography sizes */
h1 {
font-size: 4.0rem; /* 40px if base is 16px */
font-weight: 300;
margin-bottom: 0.5rem;
}
h2 {
font-size: 2rem; /* 32px */
font-weight: 300;
margin-bottom: 0.75rem;
}
h3 {
font-size: 1.5rem; /* 24px */
font-weight: 400;
margin-bottom: 1rem;
}
p {
font-size: 1.125rem; /* 18px */
line-height: 1.6;
margin-bottom: 1rem;
}
.lead-text {
font-size: 1.25rem; /* 20px */
font-weight: 300;
opacity: 0.9;
}
.small-text {
font-size: 0.875rem; /* 14px */
opacity: 0.7;
}
.profile-pic {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 3px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
}
.profile-pic:hover {
transform: scale(1.05);
border-color: rgba(255, 255, 255, 0.4);
}
.link-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.link-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.icon {
color: var(--icon-color);
transition: all 0.3s ease;
}
.link-card:hover .icon {
transform: scale(1.1);
color: rgba(255, 255, 255, 0.9);
}
.bg-animation {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}
.circle {
position: absolute;
border-radius: 50%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
animation: float 15s infinite linear;
}
@keyframes float {
0% {
transform: translateY(0) rotate(0deg);
opacity: 1;
}
100% {
transform: translateY(-1000px) rotate(720deg);
opacity: 0;
}
}
.info-box {
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(5px);
border-left: 3px solid var(--icon-color);
}
.social-icons a {
transition: all 0.3s ease;
}
.social-icons a:hover {
transform: translateY(-3px) scale(1.1);
}
/* Generate random circles for background */
.generate-circles {
position: absolute;
width: 100%;
height: 100%;
}
.pulsating-box {
animation: glowWave 4s infinite;
}
@keyframes glowWave {
0% {
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
}
50% {
box-shadow: 0 0 20px 20px rgba(255, 255, 255, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}
}
.border-trace::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 12px; /* match your card radius */
box-sizing: border-box;
pointer-events: none;
/* Gradient border using a mask trick */
border: 3px solid transparent;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(209, 77, 77, 0.224), rgba(255, 255, 255, 0.8));
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
padding: 3px; /* same as border thickness */
/* Animation */
clip-path: inset(0 100% 0 0); /* start hidden */
animation: drawBorder 10s linear infinite; /* slower: 10s */
}
@keyframes drawBorder {
0% {
clip-path: inset(0 100% 0 0); /* hidden */
}
25% {
clip-path: inset(0 0 0 0); /* fully visible */
}
50% {
clip-path: inset(100% 0 0 0); /* start hiding from top */
}
75% {
clip-path: inset(0 0 0 100%); /* hide from right */
}
100% {
clip-path: inset(0 100% 0 0); /* back to hidden */
}
}