:root {
    font-family: sans-serif;
}

h1 {
    font-size: 1.8rem;
}
h1, h2, h3, h4 {
    margin-bottom: 0;
}

.cover p, .cover ol li {
    font-size: .80rem;
}

a {
    text-decoration: underline;
}

.videos ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}
.videos li {
    display: flex;
    flex-direction: column;
    padding: 15px;
    list-style-type: none;
    border: 2px solid grey;
    border-radius: 5px;
    margin: 5px;
    width: 300px;
}
.videos li img {

    max-width: 100px;
}
main {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    justify-content: center;
    align-items: center;
    margin: 15px auto;
}

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

label:has(input[type="checkbox"]:checked) {
    text-decoration: line-through;
}

main article header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
}

main article body {
    padding-top: 15px;
}

main article header input[type="checkbox"] {
    width: 2.25rem;
    height: 2.25rem;
}

@media print {
    article {
        break-inside: avoid;
    }
}