/* -------------------------------------------register.html---------------------------------------------- */
/* Popup Hintergrund */
.popup
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popup Fenster mit Text und Button */
.popup-content
{
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}
/* -------------------------------------------selection.html------------------------------------------- */
.selection-container
{
    display: flex;
    justify-content: center;
    gap: 30px;
}

.selection-box
{
    width: 250px;
    height: 200px;
    border: 2px solid black;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}
/* -------------------------------------------create_workout.html------------------------------------------- */
.exercise
{
    margin-top: 20px;
}

.addExercise
{
    margin-top: 20px;
}

.muscle-group
{
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;                          /*padding = Abstand innen*/
    margin-top: 25px;
}

.saveWorkout
{
    display: flex;
    justify-content: flex-end;          /*justify-content = Anordnung auf der Hauptachse*/
    margin-top: 25px;
}

.deleteButton
{
    float: right;
}
/* -------------------------------------------workouts.html------------------------------------------- */
.workout-list
{
    max-height: 300px;
    overflow-y: auto;
}

.workout
{
    position: relative;
    display: inline-block;
    margin: 10px;
    padding: 10px;
    cursor: pointer;
}

.exercises
{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid black;
    padding: 10px;
    min-width: 180px;
}

.workout:hover .exercises
{
    display: block;
}
/* -------------------------------------------start_workouts------------------------------------------- */
#timer
{
    margin-top: 15px;
}

.workout-started
{
    background-color: green;
}

.timer-active
{
    font-weight: bold;
    font-size: 24px;
}

/*Fortschrittsbalken*/
#workoutProgress
{
    width: 100%;
    height: 20px;
    background-color: lightgray;
    border-radius: 10px;
    overflow: hidden;
}

#workoutProgressBar
{
    width: 0%;
    height: 100%;
    background-color: green;
    transition: width 0.3s ease;
}

/*Workout ende popup*/
#workoutFinishedPopup
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#workoutFinishedContent
{
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

