* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: Helvetica, Arial, serif;
    margin: 30px auto;
    width: 1400px;
    text-align: center;
    background-color: #eee;
    font-size: 1rem;
}

.login {
    text-align: center;
}

.login form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.login input {
    font-size: 2rem;
    padding: 10px;
    max-width: 90%;
    border-radius: 10px;
    border: 1px solid #ccc;
}
.login span[data-title]:after {
    margin: -1rem 0 0 2rem;
}

.login input[type=submit], .lyrics button {
    padding: 10px!important;
}

[data-title] {

    position: relative;

}

[data-title]:after {
    font-size: 0.8rem;
    z-index: 2;
    content: attr(data-title);
    position: absolute;
    border-radius: 5px;
    padding: 5px;
    left: 0;
    margin-top: 1.5rem;
    background-color: #ddd;
    width: max-content;
    opacity: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    -webkit-transition: opacity 0.1s ease-in-out; /* 👈 Change the time to meet your requirements. */
}

[data-title]:hover:after {
    opacity: 1;
}

.box {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 50px;
}

.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 100px;
    margin: 100px 0;
    letter-spacing: -0.4rem;
}

h1 a {
    color: #000;
    text-decoration: none;
}

h1 span {
    background-color: #39FF14;
    padding: 5px 15px 5px 5px;
    border-radius: 10px;
}

h2 {
    margin: 40px 0 10px 0;
    text-align: left;
}
h2:first-of-type {
    margin-top: 10px;
}

#nickname a {
    color: #999;
}

.wave {
    border: 1px solid #bbb;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

table {
    border: 0;
    width: 100%;
    border-spacing: 0 8px;
}

#markers {
    border-radius: 20px;
    padding: 5px;
}
#markers tr td, #markers tr th{
    border-top: 1px #ddd solid;
    margin-bottom: 2px;
}
#markers tr td:first-child, #markers tr th:first-child{
    border-radius: 10px 0 0 10px;
    border-left: 1px solid #ddd;
}

#markers tr td:last-child, #markers tr th:last-child {
    border-radius: 0 10px 10px 0;
    border-right: 1px solid #ddd;
}

#markers th{
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
table tr {
    border-radius: 10px;
    border-bottom: 5px solid #fff;
    background-color: #fcfcfc;
}
table tr.border td {
    padding: 10px;
    margin-top:5px;
    border-bottom: 1px solid #e3e3e3;
    vertical-align: top;

}

table td.marker, table td.time, table td.click, table td.save, table td.delete {
    cursor: pointer;
}

table tr:hover td.click {
    text-decoration: underline;
}

table td.textarea {
    width: 100%;
}

table td textarea {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd
}

table td textarea:focus {
    height: 150px;
}

table td textarea::placeholder {
    color: #ccc;
}

.lyrics, .download, .manual, .news, .bugs {
    padding: 10px;
    background-color: #fcfcfc;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.download a {
    display: inline-block;
    margin: 5px;
}

.highlight {
    background-color: #fffee0;
}

.lyrics {
    padding:20px;
}
.lyrics textarea {
    padding: 20px;
    field-sizing: content;
    width: 100%;
    min-height: 400px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.welcome {
    text-align: left;
    color: #999;
}

.manual, .news, .bugs, .projects, .download, .lyrics, .features {
    text-align: left;
    margin-top: 10px;
}

.features {
    margin-top: 100px;
}

.copyright {
    margin: 20px 0;
    color: #888;
}

.sticky-top {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 99;
    margin-bottom: 40px;
    padding: 3px 0;
}

#status {
    border: 1px solid #000;
    position: fixed;
    top: 50%;
    left: 47%;
    display: none;
    color: #000;
}

#status strong {
    padding: 10px;
}

.green {
    background-color: #39FF14;
}

.red {
    background-color: red;
}

button {
    margin-right: 5px;
    background-color: transparent;
    color: #000;
    padding: 2px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.modal button {
    padding: 8px;
}

button.close {
    background-color: #eee;
}

button.red {
    background-color: red;
}

#prevMarker, #nextMarker {
    margin: 0;
}

input {
    margin: 5px 5px;
}

input[type="checkbox"] {
    border: 1px solid #111;
}

input[type="checkbox"]:checked {
    accent-color: #39FF14;
    border: 1px solid #111;
}

input[type="range"] {
    accent-color: #39FF14;
    max-width: 1.5rem;
}


button svg, select {
    width: 30px;
    height: auto;
    border-bottom: 4px solid transparent;
}

button svg.bi-skip-start {
    width:33px;
}

button svg.bi-three-dots-vertical {
    width:20px;
}

button svg:hover {
    border-bottom: 4px solid #39FF14;
}

[data-title]:after {
    margin-top: -2.5rem;
}

button#playPause svg {
    width: 50px;
    height: auto;
}

select {
    width: auto;
    height: 30px;
    border: 1px solid #111;
    padding: 4px;
    border-radius: 5px;
    margin: 0 10px;
}

select#selectMarker {
    margin: 0;
}

select, select#selectMarker {
    margin-top: -7px;
}
.menuLabel {
    text-align: left;
    padding: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #fcfcfc;

}

.menu {
    text-align: center;
    padding: 15px;
    box-shadow: 0 6px 4px -1px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 10px 10px;
    display: block;
    border: 1px solid #bbb;
    border-top: none;
    background-color: #fcfcfc;
}

.menu div {
    display: flex;
    height: 50px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.menu div#submenu {
    margin-top: 10px;
}

.menu div#submenu.closed  {
    display: none;
}

.m-t {
    margin-top: 10px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* Modal Content (Image) */
#myModalContent {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    opacity: 1.5;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
span.close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


@media only screen and (max-width: 1500px) {
    body {
        width: 95%;
    }

    h1 {
        letter-spacing: -0.4rem;
    }
}

@media only screen and (max-width: 800px) {
    h1 {
        font-size: 50px;
        margin: 40px 0;
        letter-spacing: -0.2rem;
    }

    .box {
        padding: 40px;
    }

    table tr.border td {
        padding: 6px;
    }

    .modal-content {
        width: 100%;
    }

    [data-title]:hover:after {
        display: none;
    }

    .login form {
        flex-direction: column;
    }
}

@media only screen and (max-width: 500px) {
    body {
        width: 100%;
        font-size: 0.7rem;
    }

    textarea {
        font-size: 0.7rem;
    }

    h1 {
        font-size: 30px;
        margin: 20px 0;
        letter-spacing: -0.1rem;
    }

    .box {
        padding: 10px;
    }

    table tr.border td {
        padding: 4px;
    }

    audio {
        height: 50px;
    }

}