body {
    font-family: Arial, sans-serif;
    background: url('../media/bground.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: -1;
}

.container {
    background: rgb(245, 241, 241);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 470px;
    text-align: center;
    margin-top: 2rem;
}

h1 {
    color: #333;
}

.workout-section {
    margin-top: 20px;
    padding: 10px;
    background: #c5bfbf;
    border-radius: 8px;
}

h2 {
    margin-bottom: 10px;
    color: #444;
}

.exercise-list {
    list-style: none;
    padding: 0;
}

.exercise-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #ccc;
}

.exercise-list li span {
    cursor: pointer;
    flex: 1;
}

.exercise-list li input[type="checkbox"] {
    transform: scale(1.2);
}

input[type="text"] {
    width: 80%;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background: #218838;
}

/* Stil för avklarade övningar */
.exercise-list li span.completed {
    text-decoration: line-through;
    color: green;
}

/* Stil för logga ut-knappen längst ner */
.logout-container {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 20px;
}

#logout-btn {
    background: #dc3545;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#logout-btn:hover {
    background: #c82333;
}
