/* General Reset and Dark Theme */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.logo img {
    max-width: 100px; 
    height: auto; 
    object-fit: contain;
    border-radius: 5px; 
}

.logo span {
    font-size: 1.5em; 
    color: #0fcee7; 
    text-align: left; 
    font-weight: bold;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: #00aaff;
    text-decoration: none;
}

a:hover {
    color: #00d4ff;
}

header, main {
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1c1c1c;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Flexbox Utilities */
.flex {
    display: flex;
    gap: 10px;
}

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

/* Header and Navigation */
.header-list ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.header-list a {
    padding: 10px;
    background-color: #282828;
    border-radius: 5px;
    transition: all 0.3s;
}

.header-list a:hover {
    background-color: #404040;
    color: #ffffff;
}

/* Main Content Styles */
.main label {
    display: block;
    margin: 10px 0;
}

.main select, .main input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #282828;
    border: 1px solid #444;
    color: #f0f0f0;
    border-radius: 5px;
}

button#generateWorkout {
    display: block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #00aaff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

button#generateWorkout:hover {
    background-color: #00d4ff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    background-color: #282828;
    border: 1px solid #444;
}

table th {
    background-color: #404040;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

h3, h4 {
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        box-shadow: none; 
    }

    .logo {
        flex-direction: column; 
        align-items: flex-start; 
    }

    .logo img {
        max-width: 60px; 
    }

    .logo span {
        font-size: 1.2em; 
    }

    .header-list ul {
        flex-direction: column; 
        gap: 8px; 
    }

    .header-list a {
        padding: 5px 8px; 
    }

    .grid {
        grid-template-columns: 1fr; 
        gap: 15px; 
    }

    button#generateWorkout {
        width: 100%; 
        padding: 10px;
    }

    table th, table td {
        padding: 6px; 
    }

    header, main {
        padding: 10px; 
    }
}
