body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    background-color: lightblue;
    margin: 0;
    padding: 0;
    max-width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#title{
    margin: 5px;
}

ul{
    list-style: none;
}

p {
    font-size: 1.2rem;
}

h1 {
    font-size: 1.7rem;
}

h1>a {
    font-size: 1.5rem;
}

.header {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    border-top: 10px solid red;
    border-bottom: 10px solid blue;
    border-radius: 10px;
    background-color: white;
    margin: 0;
    line-height: 1;
}

.navbar {
    padding: 15px;
    margin-bottom: 6px;
    overflow: auto;
    white-space: nowrap;
}

.navbar a{
    padding: 3px;
}

.navbar a:hover {
    border-top: 3px solid red;
    border-bottom: 3px solid blue;
    background-color: white;
    transition-duration: 0.2s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    border-top: 3px solid red;
    border-bottom: 3px solid blue;
    background-color: white;
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}


.hamburger {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    display: none;
}

.hamburger-top,
.hamburger-mid,
.hamburger-bot {
    position: absolute;
    width: 20px;
    height: 2px;
    top: 0;
    left: 0;
    background: #000;
    transition: all 0.5s;
}

.hamburger-mid {
    transform: translateY(5px);
}

.hamburger-bot {
    transform: translateY(10px);
}

.open {
    transform: rotate(90deg);
}

.open .hamburger-top {
    transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-mid {
    display: none;
}

.open .hamburger-bot {
    transform: rotate(-45deg) translateY(6px) translateX(-6px);
}

.overlay-show {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.stop-scroll {
    overflow: hidden;
}

.mobile-only {
    display: none;
}

.mobile-main-menu {
    position: fixed;
    top: 120px;
    right: 0;
    width: 330px;
    height: 100%;
    z-index: 4;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.9;
    font-weight: 700;
}

.show-menu {
    transform: translateX(0);
}

.mobile-main-menu nav {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    padding: 50px;
    width: 100%;
}

.mobile-nav-menu {
    padding: 50px;
    margin-bottom: 100px;
    font-size: 1.2rem;
    border-radius: 5px;
}

.mobile-nav-menu a {
    margin-bottom: 10px;
    padding: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    text-align: end;
    border-bottom: 2px blue dotted;
}

.nav-lesson {
    text-align: center;
}

main {
    margin: 10px;
}

@media(max-width: 960px) {
    .desktop-main-menu {
        display: none;
    }

    .header {
    font-size: 0.9rem;
    padding-top: 10px;
    padding-bottom: 80px;
    top:0;
    left:0;
    width: 100%;
    line-height: 1.2;
    z-index: 2;
    }

    .mobile-main-menu {
    top: 140px;
    height: 90%;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 100px;
        left: 200px;
    }

    .mobile-only {
        display: block;
    }

    #lesson{
        margin-top: 50px;
    }

    .mobile-nav-menu a {
        font-size: 1rem;
    }
}

@media(min-width:667px) {
    .desktop-main-menu {
        display: block;
    }

    .hamburger {
    background: none;
    border: none;
    display: none;
    }      

    .header {
    border-top: 5px solid red;
    border-bottom: 5px solid blue;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-top: 5px;
    }

    .navbar {
    padding: 10px;
    }

}

@media(min-width:640px) {
    .desktop-main-menu {
        display: block;
    }

    .hamburger {
    background: none;
    border: none;
    display: none;
    }      

    .navbar {
    padding: 10px;
    }

}

@media(min-width:1024px) {
    .show-menu {
        display: none;
    }
}

.footer {
    font-size: 1.1rem;
    text-align: center;
}

.korean {
    color: red;
    font-size: 2rem;
    margin: 5px;
}

.latin {
    color: blue;
    font-size: 1.6rem;
    margin: 5px;
}

.status {
    color: yellow;
    background-color: black;
    display: inline;
}

.english {
    font-size: 1.6rem;
}

.audio {
    width: 430px;
    z-index: 0;
}

@media(max-width:960px) {
    .audio{
        max-width: 100%;
    }
}

progress[value] {
    max-width: 100%;
    width: 400px;
    height: 50px;
}