/*
Theme Name: GP Sports Pro Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Pro-level colorful and responsive sports theme with stamina calculator and push notification.
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gp-sports-pro-theme
*/

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5faff;
    color: #222;
}

header {
    background: linear-gradient(to right, #1e90ff, #00c6ff);
    padding: 15px;
    color: white;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
}

header nav ul li {
    margin: 5px 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ffe600;
}

.push-button {
    background: #ff6f00;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    margin-top: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,111,0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255,111,0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255,111,0, 0); }
}

main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}

.content {
    flex: 3;
    min-width: 60%;
}

.sidebar {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    min-width: 280px;
}

.sidebar section {
    margin-bottom: 30px;
}

label {
    font-weight: bold;
}

input[type='number'] {
    width: 100%;
    padding: 5px;
    margin: 5px 0 10px;
}

.progress-bar {
    height: 10px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: #1e90ff;
}

footer {
    background: #1f1f1f;
    color: #ccc;
    padding: 30px 20px;
    text-align: center;
}

footer a {
    color: #66ccff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

footer a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 768px) {
  main {
    flex-direction: column;
  }
  .content,
  .sidebar {
    max-width: 100% !important;
    width: 100%;
  }
}
/* Ensure content area is readable and supports long text */
.content {
    flex: 3;
    min-width: 60%;
    max-width: 100%;
    line-height: 1.6;
    font-size: 16px;
    color: #222;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Style paragraphs inside content */
.content p {
    margin-bottom: 1.5em;
}

/* Make images inside content responsive */
.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Optional: Add a max-width to content for very large screens */
@media screen and (min-width: 1400px) {
    .content {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Headings inside content for better hierarchy */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #1e90ff;
}

/* Make sure iframes (like YouTube) are responsive */
.content iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Optional: Add spacing for long posts */
.content article {
    padding-bottom: 40px;
}

/* Prevent horizontal scrolling */
body {
    overflow-x: hidden;
}
