/* Reset styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
    color: #333;
    padding: 20px;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

h2 {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 5px;
}

.workout-day {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.workout-day:hover {
    transform: translateY(-5px);
}

.workout-day h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.workout-day ul {
    list-style-type: none;
    padding: 0;
}

.workout-day ul li {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.workout-day ul li:hover {
    background-color: #f0f0f0;
}
.workout-day ul li input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.workout-day ul li.completed {
    text-decoration: line-through;
    opacity: 0.7;
}

.workout-day ul li img {
    max-width: 100%;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.workout-day ul li img.expanded {
    transform: scale(1.5); /* Adjust scale factor as needed */
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-img {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.close-btn {
    color: #fff;
    font-size: 3rem;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

.close-btn:hover {
    color: #e4e8e6;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
}

.modal-img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-btn {
    color: #fff;
    font-size: 3rem;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

.close-btn:hover {
    color: #e4e8e6;
}

.workout-day ul li img {
    max-width: 100%;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.workout-day ul li img.expanded {
    transform: scale(1.5); /* Adjust scale factor as needed */
}

@media (max-width: 768px) {
    .workout-day ul li img {
        max-width: 80px;
    }
}

@media (max-width: 576px) {
    .workout-day ul li img {
        max-width: 60px;
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header styles */
header {
    background-color: #022e30;
    color: #e4e8e6;
    padding: 10px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin-left: 20px;
}

.navbar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #e4e8e6;
    margin: 5px auto;
    transition: background-color 0.3s;
}

/* Navbar styles */
#navbar {
    background-color: #022e30;
    padding: 10px 0;
    text-align: center;
    display: none;
}

#navbar ul {
    list-style-type: none;
    padding: 0;
}

#navbar ul li {
    margin-bottom: 10px;
}

#navbar ul li a {
    color: #e4e8e6;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

#navbar ul li a:hover {
    color: #fff;
}

/* Content styles */
#content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer styles */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    background-color: #022e30;
    color: #e4e8e6;
    border-radius: 8px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

/* Link styles */
a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .workout-day {
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .navbar-toggle {
        top: 0;
    }

    #navbar {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        text-align: center;
        display: none;
    }

    #navbar.active {
        display: block;
    }

    .workout-day ul li img {
        max-width: 70%;
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    
    .workout-day ul li img.expanded {
        transform: scale(1); /* Adjust scale factor as needed */
    }

}
