body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url('fencing-pal-background.jpg') no-repeat center center/cover ;
    color: #333;
}

header {
    background-color: #127549;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid #127549;
}

@media (max-width: 600px) {
    header {
        padding: 0.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

section {
    background-color: #fff;
    margin: 1rem 0;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #127549;
    margin-bottom: 1rem;
}

.completed {
    text-decoration: line-through;
    color: #888;
}

input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0; /* Prevents the checkbox from shrinking */
}

progress {
    width: 100%;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

progress::-webkit-progress-bar {
    background-color: #e0e0e0;
}

progress::-webkit-progress-value {
    background-color: #127549;
}

button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005f8d;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

li:hover {
    background-color: #e0e0e0;
}

li.completed {
    background-color: #e0e0e0;
}


/* Call to action button styling */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 15px;
    font-size: 18px;
    color: #fff;
    background-color: #682626;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #191919;
}
