*, *:before, *:after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
}

header {
    background-color: aliceblue;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.header_content {
    display: flex;
    justify-content: space-between;
}

header a {
    color: #111;
    text-decoration: none;
}

.header_content, main {
    width: 100%;
    max-width: 80ch;
    margin: 0 auto;
    padding: 15px;
}

main {
    padding-top: 125px;
}

video {
    width: 100%;
    border-radius: 5px;
}

.message {
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 5px;
    background: #DDD;
    border: 1px solid #CCC;

}

.modules {
    border: 1px solid #111;
    border-radius: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-block-end: 20px;
}

.modules li {
    height: 40px;

}

.modules li a {
    display: block;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    padding-inline-start: 10px;
}

.modules li a:active {
    background-color: #EEE;
}

.modules li + li a {
    border-top: 1px solid #111;
}

.module_controls_wrapper {
    width: 100%;
    position: fixed;
    top: 75px;
    background-color: aliceblue;
}

.module_controls {
    width: 100%;
    max-width: 80ch;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;

}

@media screen and (max-width: 768px) {
    .module_controls_wrapper {
        top: 0px;
        padding-top: 15px;
    }
}

.module_controls a {
    border: 1px solid currentColor;
    padding: 7px 15px;
    text-decoration: none;
    color: #111;
    background-color: white;
}

.module_controls a:before {
    content: "←"
}

.module_controls select {
    padding: 7px 15px;
    border: 1px solid currentColor;

}

footer {
    display: none;

    width: 100%;
    background-color: aliceblue;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
}

#mobile_nav {
    max-width: 80ch;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px;
}

#mobile_nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-decoration: none;
    height: 75px;
    border-radius: 10px;
    color: #111;
}

#mobile_nav a.active {
    background-color: #acc9ed;
}

#mobile_nav a .icon {
}

#mobile_nav a .icon svg * {
    stroke: #111111;
}

#mobile_nav a .label {
}

#installPrompt {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@media screen and (max-width: 768px) {
    header {
        display: none;
    }

    main {
        padding-top: 65px;
        margin-bottom: 83px;
    }

    footer {
        display: flex
    }
}



.progress-bar {
    width: 100%;
    height: 5px;
    background-color: #fff;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 3px;
}

.progress-bar > div {
    width: 0;
    height: 5px;
    background-color: green;
}

.downloaded{
    background-color: green !important;
}