/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-image: url('imageof.webp');
    background-color: rgb(46, 44, 44);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-image: url('hero-gym.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Exercise Gallery Section */
.exercise-gallery {
    padding: 2rem 1rem;
    text-align: center;
}

.exercise-gallery h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.exercise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Exercise Block Styling */
.exercise-block {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.exercise-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.exercise-block h3 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #333;
}

.exercise-block p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.exercise-block:hover {
    transform: scale(1.05);
}

.Push-Up {
    background-image: url('https://tenor.com/view/pushup-gif-18714135');
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}