students / static /css /style.css
d-e-e-k-11's picture
Upload folder using huggingface_hub
5575a8a verified
:root {
--primary: #6366f1;
--secondary: #a855f7;
--accent: #ec4899;
--bg: #0f172a;
--text: #f8fafc;
--glass: rgba(255, 255, 255, 0.05);
--border: rgba(255, 255, 255, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Outfit', sans-serif;
background-color: var(--bg);
color: var(--text);
overflow-x: hidden;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
/* Background Animations */
.background-blobs {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}
.blob {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.4;
transition: all 1s ease;
animation: float 20s infinite alternate;
}
.blob-1 {
width: 400px;
height: 400px;
background: var(--primary);
top: -100px;
right: -100px;
}
.blob-2 {
width: 500px;
height: 500px;
background: var(--secondary);
bottom: -150px;
left: -150px;
animation-delay: -5s;
}
.blob-3 {
width: 300px;
height: 300px;
background: var(--accent);
top: 50%;
left: 10%;
animation-delay: -10s;
}
@keyframes float {
0% {
transform: translate(0, 0) scale(1);
}
100% {
transform: translate(100px, 50px) scale(1.1);
}
}
/* Layout */
.container {
max-width: 1000px;
width: 90%;
padding: 2rem 0;
}
header {
text-align: center;
padding: 2rem;
margin-bottom: 2rem;
}
h1 {
font-size: 3rem;
font-weight: 800;
letter-spacing: -1px;
margin-bottom: 0.5rem;
}
.accent {
background: linear-gradient(to right, var(--primary), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
header p {
color: #94a3b8;
font-size: 1.1rem;
}
/* Glass Card */
.glass-card {
background: var(--glass);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--border);
border-radius: 24px;
padding: 2.5rem;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.prediction-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
@media (max-width: 768px) {
.prediction-grid {
grid-template-columns: 1fr;
}
}
/* Inputs */
.input-group {
margin-bottom: 1.5rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: #cbd5e1;
}
input {
width: 100%;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1rem;
color: white;
font-size: 1rem;
font-family: inherit;
transition: all 0.3s ease;
}
input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}
/* Button */
button {
width: 100%;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border: none;
border-radius: 12px;
padding: 1rem;
color: white;
font-size: 1.1rem;
font-weight: 700;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
}
button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.5);
}
button:active {
transform: translateY(0);
}
button:disabled {
opacity: 0.7;
cursor: not-allowed;
}
/* Loader */
.loader-dots {
display: none;
justify-content: center;
gap: 5px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.loader-dots span {
width: 8px;
height: 8px;
background: white;
border-radius: 50%;
animation: bounce 0.6s infinite alternate;
}
.loader-dots span:nth-child(2) {
animation-delay: 0.2s;
}
.loader-dots span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes bounce {
to {
transform: translateY(-10px);
opacity: 0.3;
}
}
/* Result Section */
.result-section {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
min-height: 300px;
}
.placeholder .icon-pulse {
font-size: 4rem;
margin-bottom: 1rem;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.hidden {
display: none;
}
.score-circle {
width: 180px;
height: 180px;
border: 5px solid var(--primary);
border-radius: 50%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 1.5rem;
background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}
#scoreValue {
font-size: 3rem;
font-weight: 800;
color: var(--text);
}
.score-circle p {
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 2px;
color: #94a3b8;
}
/* Animations */
.animate-fade-in {
animation: fadeIn 1s ease-out;
}
.animate-slide-up {
animation: slideUp 0.8s ease-out;
}
.animate-slide-up-delayed {
animation: slideUp 0.8s ease-out 0.2s backwards;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
footer {
text-align: center;
margin-top: 3rem;
color: #64748b;
font-size: 0.9rem;
}