* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    color: #222;
    line-height: 1.6;
}

header {
    background-color: #111827;
    color: white;
    padding: 20px;
    text-align: center;
}

h1 {
    margin: 0 0 15px 0;
    font-size: 2.2rem;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline-block;
    margin: 5px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    background-color: #2563eb;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-menu a:hover {
    background-color: #1d4ed8;
}

#splits-title {
    background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url("../images/backdrop.png");
    background-size: cover;
    background-position: center;
    padding: 90px 20px;
    text-align: center;
    color: white;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text p {
    max-width: 700px;
    margin: 0 auto 25px auto;
    font-size: 1.1rem;
}

.btn,
.btn-small,
button {
    display: inline-block;
    background-color: #16a34a;
    color: white;
    border: none;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover,
.btn-small:hover,
button:hover {
    background-color: #15803d;
}

#features,
#why,
.page-title,
.content-card,
.split-grid {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

#features h2,
#why h2,
.page-title h2,
.content-card h2 {
    text-align: center;
}

.feature-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.feature-box,
.split-box {
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    flex: 1;
    border-radius: 8px;
    text-align: center;
}

.feature-box img {
    width: 80px;
    height: auto;
}


.why-img {
    float: left;
    width: 40%;
    padding: 10px;
}

.why-img img {
    width: 100%;
    border-radius: 8px;
}

.why-text {
    float: right;
    width: 58%;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
}

.clear {
    clear: both;
}


.page-title {
    background-color: white;
    border-left: 8px solid #2563eb;
    border-radius: 8px;
    text-align: center;
}

.content-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
}


.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-items: center;
}


.split-box:last-child {
    grid-column: span 2;
    max-width: 400px;
}


form {
    max-width: 650px;
    margin: 0 auto;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #aaa;
    border-radius: 5px;
}

textarea {
    min-height: 100px;
}


#result-box {
    margin-top: 25px;
    padding: 20px;
    background-color: #eef6ff;
    border: 1px solid #93c5fd;
    border-radius: 8px;
}


table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

th {
    background-color: #111827;
    color: white;
}

th,
td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f1f5f9;
}


.demo-img {
    max-width: 300px;
    display: block;
    margin: 20px auto;
    border: 4px solid #111827;
    padding: 5px;
}


.muscle-buttons {
    margin-top: 10px;
    text-align: center;
}

.muscle-buttons a {
    margin: 5px;
}

.exercise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.exercise-box {
    background-color: #f8fafc;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.exercise-box img {
    width: 100%;
    max-width: 220px;
    height: 160px;
    object-fit: cover;
    border: 3px solid #111827;
    border-radius: 6px;
    background-color: white;
}

.exercise-box h3 {
    margin-bottom: 5px;
}


footer {
    background-color: #111827;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}


@media screen and (max-width: 768px) {
    .nav-menu li {
        display: block;
        margin: 10px 0;
    }

    .feature-container {
        flex-direction: column;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .exercise-grid {
        grid-template-columns: 1fr;
    }

    .why-img,
    .why-text {
        float: none;
        width: 100%;
    }

    .hero-text h2 {
        font-size: 2rem;
    }
}