Here's a complete, modern, and dynamic calisthenics website in a single HTML file:
html Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlowFit Calisthenics - Master Your Body</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #FF6B6B;
--secondary: #4ECDC4;
--dark: #1A1A2E;
--light: #F5F5F5;
--text: #333;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--text);
overflow-x: hidden;
}
/* Navigation */
nav {
position: fixed;
width: 100%;
padding: 1rem 5%;
background: rgba(26, 26, 46, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
transition: all 0.3s ease;
}
nav.scrolled {
padding: 0.5rem 5%;
box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.8rem;
font-weight: bold;
color: var(--primary);
text-decoration: none;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
color: white;
text-decoration: none;
transition: all 0.3s ease;
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--primary);
transition: width 0.3s ease;
}
.nav-links a:hover::after {
width: 100%;
}
.menu-toggle {
display: none;
flex-direction: column;
cursor: pointer;
}
.menu-toggle span {
width: 25px;
height: 3px;
background: white;
margin: 3px 0;
transition: 0.3s;
}
/* Hero Section */
.hero {
height: 100vh;
background: linear-gradient(135deg, var(--dark) 0%, #0F0F1E 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.hero-content {
text-align: center;
z-index: 2;
animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hero h1 {
font-size: 4rem;
color: white;
margin-bottom: 1rem;
background: linear-gradient(45deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: gradient 3s ease infinite;
}
@keyframes gradient {
0%, 100% { filter: hue-rotate(0deg); }
50% { filter: hue-rotate(30deg); }
}
.hero p {
font-size: 1.5rem;
color: #ccc;
margin-bottom: 2rem;
}
.cta-button {
display: inline-block;
padding: 1rem 2.5rem;
background: var(--primary);
color: white;
text-decoration: none;
border-radius: 50px;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}
.cta-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.2);
transition: left 0.5s ease;
}
.cta-button:hover::before {
left: 100%;
}
/* Floating shapes animation */
.shape {
position: absolute;
opacity: 0.1;
}
.shape1 {
width: 300px;
height: 300px;
background: var(--primary);
border-radius: 50%;
top: -150px;
right: -150px;
animation: float 6s ease-in-out infinite;
}
.shape2 {
width: 200px;
height: 200px;
background: var(--secondary);
bottom: -100px;
left: -100px;
animation: float 8s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
33% { transform: translate(30px, -30px) rotate(120deg); }
66% { transform: translate(-20px, 20px) rotate(240deg); }
}
/* Features Section */
.features {
padding: 5rem 5%;
background: var(--light);
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
font-size: 3rem;
margin-bottom: 3rem;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 4px;
background: var(--primary);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background: white;
padding: 2.5rem;
border-radius: 20px;
text-align: center;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--primary), var(--secondary));
opacity: 0;
transition: opacity 0.3s ease;
z-index: 1;
}
.feature-card:hover::before {
opacity: 0.9;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.feature-card:hover * {
color: white;
position: relative;
z-index: 2;
}
.feature-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.feature-card h3 {
margin-bottom: 1rem;
font-size: 1.5rem;
}
/* Exercises Section */
.exercises {
padding: 5rem 5%;
background: white;
}
.exercise-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.exercise-card {
position: relative;
height: 300px;
border-radius: 20px;
overflow: hidden;
cursor: pointer;
transform-style: preserve-3d;
transition: transform 0.6s;
}
.exercise-card:hover {
transform: rotateY(180deg);
}
.exercise-front, .exercise-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 20px;
}
.exercise-front {
background: linear-gradient(135deg, var(--dark), var(--primary));
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.5rem;
font-weight: bold;
}
.exercise-back {
background: var(--secondary);
transform: rotateY(180deg);
padding: 2rem;
display: flex;
flex-direction: column;
justify-content: center;
color: white;
}
/* Progress Tracker */
.progress-tracker {
padding: 5rem 5%;
background: var(--light);
}
.progress-container {
max-width: 800px;
margin: 3rem auto;
}
.skill-item {
margin-bottom: 2rem;
}
.skill-name {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
font-weight: bold;
}
.skill-bar {
height: 20px;
background: #e0e0e0;
border-radius: 10px;
overflow: hidden;
position: relative;
}
.skill-progress {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--secondary));
border-radius: 10px;
width: 0%;
transition: width 2s ease;
position: relative;
}
.skill-progress::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.3),
transparent
);
animation: shimmer 2s infinite;
}
@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
/* Testimonials */
.testimonials {
padding: 5rem 5%;
background: white;
position: relative;
}
.testimonial-slider {
max-width: 800px;
margin: 3rem auto;
position: relative;
height: 300px;
}
.testimonial {
position: absolute;
width: 100%;
opacity: 0;
transition: opacity 0.5s ease;
text-align: center;
padding: 2rem;
}
.testimonial.active {
opacity: 1;
}
.testimonial-text {
font-size: 1.3rem;
font-style: italic;
margin-bottom: 2rem;
color: #666;
}
.testimonial-author {
font-weight: bold;
color: var(--primary);
}
/* Contact */
.contact {
padding: 5rem 5%;
background: var(--dark);
color: white;
text-align: center;
}
.contact .section-title {
color: white;
}
.contact-form {
max-width: 600px;
margin: 3rem auto;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 1rem;
border: none;
border-radius: 10px;
background: rgba(255, 255, 255, 0.1);
color: white;
font-size: 1rem;
transition: all 0.3s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
color: rgba(255, 255, 255, 0.6);
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
/* Responsive */
@media (max-width: 768px) {
.nav-links {
display: none;
}
.menu-toggle {
display: flex;
}
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1.2rem;
}
.section-title {
font-size: 2rem;
}
}
/* Scroll animations */
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body>
<!-- Navigation -->
<nav id="navbar">
<div class="nav-container">
<a href="#" class="logo">FlowFit</a>
<ul class="nav-links">
<li><a href="#home">Home</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#exercises">Exercises</a></li>
<li><a href="#progress">Progress</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<div class="menu-toggle" onclick="toggleMenu()">
<span></span>
<span></span>
<span></span>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero" id="home">
<div class="shape shape1"></div>
<div class="shape shape2"></div>
<div class="hero-content">
<h1>Master Your Body</h1>
<p>Transform yourself with the power of calisthenics</p>
<a href="#features" class="cta-button">Start Your Journey</a>
</div>
</section>
<!-- Features Section -->
<section class="features" id="features">
<div class="container">
<h2 class="section-title fade-in">Why Choose Calisthenics?</h2>
<div class="features-grid">
<div class="feature-card fade-in">
<div class="feature-icon">💪</div>
<h3>Build Strength</h3>
<p>Develop functional strength using only your bodyweight. No gym required.</p>
</div>
<div class="feature-card fade-in">
<div class="feature-icon">🎯</div>
<h3>Achieve Goals</h3>
<p>Master impressive skills like handstands, muscle-ups, and human flags.</p>
</div>
<div class="feature-card fade-in">
<div class="feature-icon">⚡</div>
<h3>Boost Flexibility</h3>
<p>Improve mobility and flexibility through dynamic movements.</p>
</div>
</div>
</div>
</section>
<!-- Exercises Section -->
<section class="exercises" id="exercises">
<div class="container">
<h2 class="section-title fade-in">Core Exercises</h2>
<div class="exercise-grid">
<div class="exercise-card fade-in">
<div class="exercise-front">
<span>Push-Ups</span>
</div>
<div class="exercise-back">
<h3>Push-Ups</h3>
<p>Master the fundamental pushing movement. Build chest, shoulders, and triceps.</p>
<p><strong>Progressions:</strong> Incline → Standard → Diamond → Archer</p>
</div>
</div>
<div class="exercise-card fade-in">
<div class="exercise-front">
<span>Pull-Ups</span>
</div>
<div class="exercise-back">
<h3>Pull-Ups</h3>
<p>The king of upper body exercises. Develop a strong back and biceps.</p>
<p><strong>Progressions:</strong> Negatives → Chin-ups → Wide-grip → Muscle-ups</p>
</div>
</div>
<div class="exercise-card fade-in">
<div class="exercise-front">
<span>Dips</span>
</div>
<div class="exercise-back">
<h3>Dips</h3>
<p>Build powerful triceps and lower chest with this compound movement.</p>
<p><strong>Progressions:</strong> Bench → Parallel → Ring → Weighted</p>
</div>
</div>
<div class="exercise-card fade-in">
<div class="exercise-front">
<span>Squats</span>
</div>
<div class="exercise-back">
<h3>Squats</h3>
<p>Foundation of lower body strength. Build powerful legs and glutes.</p>
<p><strong>Progressions:</strong> Assisted → Regular → Jump → Pistol</p>
</div>
</div>
</div>
</div>
</section>
<!-- Progress Tracker -->
<section class="progress-tracker" id="progress">
<div class="container">
<h2 class="section-title fade-in">Track Your Progress</h2>
<div class="progress-container">
<div class="skill-item fade-in">
<div class="skill-name">
<span>Push-up Mastery</span>
<span class="skill-percentage">0%</span>
</div>
<div class="skill-bar">
<div class="skill-progress" data-skill="75"></div>
</div>
</div>
<div class="skill-item fade-in">
<div class="skill-name">
<span>Pull-up Power</span>
<span class="skill-percentage">0%</span>
</div>
<div class="skill-bar">
<div class="skill-progress" data-skill="60"></div>
</div>
</div>
<div class="skill-item fade-in">
<div class="skill-name">
<span>Core Strength</span>
<span class="skill-percentage">0%</span>
</div>
<div class="skill-bar">
<div class="skill-progress" data-skill="85"></div>
</div>
</div>
<div class="skill-item fade-in">
<div class="skill-name">
<span>Flexibility</span>
<span class="skill-percentage">0%</span>
</div>
<div class="skill-bar">
<div class="skill-progress" data-skill="70"></div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="testimonials">
<div class="container">
<h2 class="section-title fade-in">Success Stories</h2>
<div class="testimonial-slider">
<div class="testimonial active">
<p class="testimonial-text">"I never thought I could do a muscle-up. After 6 months of training, I can do 5 in a row!"</p>
<p class="testimonial-author">- Sarah K.</p>
</div>
<div class="testimonial">
<p class="testimonial-text">"Calisthenics changed my life. I'm stronger, more flexible, and confident than ever."</p>
<p class="testimonial-author">- Mike D.</p>
</div>
<div class="testimonial">
<p class="testimonial-text">"The community support and structured progressions helped me achieve my first handstand!"</p>
<p class="testimonial-author">- Alex T.</p>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section class="contact" id="contact">
<div class="container">
<h2 class="section-title fade-in">Start Your Transformation</h2>
<form class="contact-form fade-in" onsubmit="handleSubmit(event)">
<div class="form-group">
<input type="text" placeholder="Your Name" required>
</div>
<div class="form-group">
<input type="email" placeholder="Your Email" required>
</div>
<div class="form-group">
<textarea placeholder="Tell us about your fitness goals..." rows="5" required></textarea>
</div>
<button type="submit" class="cta-button">Get Started</button>
</form>
</div>
</section>
<script>
// Navbar scroll effect
window.addEventListener('scroll', function() {
const navbar = document.getElementById('navbar');
if (window.scrollY > 50) {
navbar.classList.add('scrolled');
} else {
navbar.classList.remove('scrolled');
}
});
// Smooth scrolling
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Mobile menu toggle
function toggleMenu() {
const navLinks = document.querySelector('.nav-links');
navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';
}
// Scroll animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -100px 0px'
};
const observer = new IntersectionObserver(function(entries) {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
// Animate skill bars
if (entry.target.classList.contains('skill-item')) {
const progressBar = entry.target.querySelector('.skill-progress');
const skillValue = progressBar.getAttribute('data-skill');
const percentageSpan = entry.target.querySelector('.skill-percentage');
setTimeout(() => {
progressBar.style.width = skillValue + '%';
// Animate percentage counter
let currentValue = 0;
const increment = skillValue / 50;
const timer = setInterval(() => {
currentValue += increment;
if (currentValue >= skillValue) {
currentValue = skillValue;
clearInterval(timer);
}
percentageSpan.textContent = Math.round(currentValue) + '%';
}, 30);
}, 200);
}
}
});
}, observerOptions);
// Observe all fade-in elements
document.querySelectorAll('.fade-in').forEach(el => {
observer.observe(el);
});
// Testimonial slider
let currentTestimonial = 0;
const testimonials = document.querySelectorAll('.testimonial');
setInterval(() => {
testimonials[currentTestimonial].classList.remove('active');
currentTestimonial = (currentTestimonial + 1) % testimonials.length;
testimonials[currentTestimonial].classList.add('active');
}, 4000);
// Form submission
function handleSubmit(event) {
event.preventDefault();
alert('Thank you for your interest! We\'ll get back to you soon.');
event.target.reset();
}
// Add parallax effect to hero section
window.addEventListener('scroll', () => {
const scrolled = window.pageYOffset;
const hero = document.querySelector('.hero');
hero.style.transform = `translateY(${scrolled * 0.5}px)`;
});
// Add typing effect to hero title
const heroTitle = document.querySelector('.hero h1');
const text = heroTitle.textContent;
heroTitle.textContent = '';
let charIndex = 0;
function typeWriter() {
if (charIndex < text.length) {
heroTitle.textContent += text.charAt(charIndex);
charIndex++;
setTimeout(typeWriter, 100);
}
}
// Start typing effect when page loads
window.addEventListener('load', () => {
setTimeout(typeWriter, 500);
});
</script>
</body>
</html>
The design uses modern CSS features like CSS Grid, Flexbox, CSS animations, and transforms to create an engaging, professional website that showcases calisthenics training in an appealing way.