137 lines
2.8 KiB
CSS
137 lines
2.8 KiB
CSS
/*
|
|
Palette & Fonts:
|
|
--primary: #14b8a6; (Teal)
|
|
--secondary: #f97316; (Orange)
|
|
--background: #f8fafc; (Light Gray)
|
|
--surface: #ffffff; (White)
|
|
--text-color: #0f172a; (Dark Slate)
|
|
--font-family: 'Inter', sans-serif;
|
|
*/
|
|
|
|
:root {
|
|
--primary: #14b8a6;
|
|
--secondary: #f97316;
|
|
--info: #3b82f6;
|
|
--background: #f8fafc;
|
|
--surface: #ffffff;
|
|
--text-color: #0f172a;
|
|
--border-color: #e2e8f0;
|
|
--border-radius: 0.5rem;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: var(--background);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.workout-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.section-title {
|
|
border-left: 4px solid var(--primary);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.progress-bar {
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
.exercise-card {
|
|
border-radius: var(--border-radius);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
overflow: hidden; /* Ensures video placeholder respects border radius */
|
|
}
|
|
|
|
.exercise-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 1rem 1.5rem rgba(0,0,0,0.1) !important;
|
|
}
|
|
|
|
.video-placeholder {
|
|
height: 180px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
position: relative;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.video-placeholder .play-icon {
|
|
color: white;
|
|
font-size: 3rem;
|
|
background-color: rgba(0,0,0,0.4);
|
|
border-radius: 50%;
|
|
width: 80px;
|
|
height: 80px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: transform 0.2s ease, background-color 0.2s ease;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.exercise-card:hover .play-icon {
|
|
transform: scale(1.1);
|
|
background-color: rgba(20, 184, 166, 0.7);
|
|
}
|
|
|
|
.card-title {
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Soft Badge Styles */
|
|
.badge.bg-primary-soft {
|
|
background-color: rgba(20, 184, 166, 0.1);
|
|
color: #0d9488;
|
|
}
|
|
|
|
.badge.bg-secondary-soft {
|
|
background-color: rgba(249, 115, 22, 0.1);
|
|
color: #d97706;
|
|
}
|
|
|
|
.badge.bg-info-soft {
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
color: #2563eb;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(45deg, var(--primary), #2dd4bf);
|
|
border: none;
|
|
padding: 0.75rem 1.5rem;
|
|
font-weight: 600;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 0.5rem 1rem rgba(20, 184, 166, 0.3) !important;
|
|
}
|
|
|
|
/* Animation */
|
|
.exercise-card-wrapper {
|
|
animation: fadeInUp 0.5s ease-out forwards;
|
|
opacity: 0;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|