body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "Helvetica", "Arial", "Microsoft YaHei", "SimHei", "Hiragino Sans GB", sans-serif;
    line-height: 1.5em;
}

h1 {
    /*font-weight: bolder;*/
}
ul {list-style-type:square;}
#main {
    padding-bottom: 64px;
    min-height: calc(100vh - 69px);
}

footer {
    color: #0ff;
    background: #003;
}

#home {
    width: 100%;
    height: 256px;
    background-size: cover;
    background-image: url(../img/headerbg-default.png), linear-gradient(to bottom right, #006, #c3c);
    background-position: right center;
}

#home h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 100;
}

@media (max-width:768px) {
    h1 { font-size: 32px; }
    #home h1 { font-size: 48px; }
}
#home h1,
p {
    text-shadow: 0 0 10px rgba(255, 255, 255, .382);
}


#lista {
    margin-top: 16px;
}

#lista h2 {
    margin: 0;
}

#lista ul {
    list-style: none;
    margin-block-start: 0;
    padding-inline-start: 0;
}

#lista li {
    position: relative;
    padding: 8px 16px;
}

#lista a:hover li {
    animation: glowing 1s ease-in 0s infinite alternate both;
}

#lista a.current li {
    color: #0ff;
    background: #006;
}

#lista a.current li::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 100%;
    background: #0ff;
    left: 0;
    top: 0;
    box-shadow: 2px 0 10px #fff;
}

#lista a.current:hover li {
    animation: none;
}
.marked-title { /*use with h*, add a mark to the left*/
    }
.marked-title::before {
    content: "";
    display: inline-block;
    position: relative;
    top: .38em;
    left: -.5em;
    width: .279em;
    height: 1.5em; /* the same as the line-height */
    background: rgb(16,28,158);
    background: linear-gradient(to top right, #006, #c3c);
}
h1.marked-title::before {
    position: absolute;
    top: auto;
    left: 0;
}
video {
    width: 100%;
    padding: 32px 0 0 24px;
}
#lesson-content {
    padding: 16px 0 0 64px;
}
@media (max-width:992px){
    #lesson-content {
        padding: 0 0 0 32px;
    }
}

@media (max-width:601px) {   
    video {
        padding: 0;
    }
    #lesson-content {
        padding-left: 16px;
    }
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 5px #cff;
    }

    100% {
        box-shadow: 0 0 20px #0ff;
        color: #999;
    }
}

.highlighter-y,
.highlighter-c,
.highlighter-r {
    border-radius: 4px;
    padding: 4px;
    background: #ff9;
    mix-blend-mode: multiply;
}

.highlighter-c {
    background: #9ff;
}

.highlighter-r {
    background: #faa;
}

a {
    text-decoration: none;
}

a.dl {}

a.dl::before {
    content: "🔗 ";
}

a.weblink {
    color: #fff;
    border-radius: 4px;
    background: #661ab2;
    padding: 4px;
    transition: background 0.5s;
}

a:hover.weblink {
    background: #009;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}