@font-face {
    font-family: 'overlock';
    src: url('/fonts/Overlock_SC/OverlockSC-Regular.ttf') format('truetype');
    font-size: normal;
    font-weight: normal;
    font-style: normal;
    font-display: swap;

    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 20%;
    line-gap-override: 0%;
}
/* @font-face {
    font-family: 'poppins';
    src: url('/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-size: normal;
    font-weight: bold;
    font-style: normal;
    font-display: swap;

    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 20%;
    line-gap-override: 0%;
} */

:root {
    --q: #000000;
    --w: #eff0f1;
        --w2: #eff0f133;
        --w4: #eff0f166;
        --w6: #eff0f199;
        --w8: #eff0f1cc;
    --a: #2daea6;
        --a2: #2daea633;
        --a4: #2daea666;
        --a6: #2daea699;
        --a8: #2daea6cc;
    --s: #eff0f1;
    --d: #122431;
    --f: #7e7e7e;
        --f2: #7e7e7e33;
        --f4: #7e7e7e66;
        --f6: #7e7e7e99;
        --f8: #7e7e7ecc;
}

* {
    outline: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-weight: normal;
    text-rendering: optimizeSpeed;
    /* outline: 1px solid #ff0000; */
}
*:focus-visible {
    outline: 2px solid var(--a);
    outline-offset: 1px;
}
/* *:focus:not(:focus-visible) {
    outline: none;
} */
/* p {
    line-height: 1.5rem;
} */
button, .button {
    background: none;
    border: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    touch-action: manipulation;
    cursor: pointer;
}
input,select,textarea {
    background: none;
    border: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: 1;
}
a {
    /* color: #ffffff; */
    color: #000000;
}
html, body {
    max-width: 100%;
    overflow: visible;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    margin: 0;
    font-family: 'overlock', sans-serif;
    color: var(--q);
    line-height: normal;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: var(--w);
}
/* body.bak {
    background: center / cover url('/media/photos/cyndi.jpg');
    background-attachment: fixed;
} */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 46px;
    background-color: var(--w);
    padding: 12px;
    text-align: center;
}
nav a {
    text-decoration: none;
    font-size: 20px;
}
.nav_spacer {
    height: 46px;
}

._header_ {
    width: 100%;
    background: center / cover url('/media/photos/cyndi.jpg');
}
._header_.nobak {
    background: none;
    /* background-attachment: fixed; */
}
.header {
    /* width: 1600px;
    max-width: 100%; */
    width: 100%;
    /* height: 100lvh; */
    min-height: 600px;
    /* max-height: 90vh; */

    /* margin: 0 auto; */
    padding: 50px;
    background-color: var(--w6);

    display: flex;
    justify-content: center;
    align-items: center;
}
.header.top {
    align-items: flex-start;
}
.header .home {
    width: 500px;
    max-width: 100%;
}
.header .home h1 {
    font-size: 30px;
    text-align: center;
    margin: 0;
    margin-bottom: 12px;
}
.header .home form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.header .home form.new_song {
    margin-top: 12px;
}
/* .header .home form.new_song input[type="submit"] {
    background-color: var(--f);
} */
.header .home form input {
    font-size: 16px;
    font-family: inherit;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    height: 45px;
    transition: background-color 0.2s;
}
.header .home form input::-webkit-search-decoration,
.header .home form input::-webkit-search-cancel-button,
.header .home form input::-webkit-search-results-button,
.header .home form input::-webkit-search-results-decoration {
    display: none;
}
.header .home form input[type="search"] {
    background-color: var(--w);
    border: 2px solid var(--a);
}
.header .home form input[type="search"]:focus {
    background-color: var(--w8);
}
.header .home form input[type="submit"] {
    background-color: var(--a);
    cursor: pointer;
}
.header .home form input[type="submit"]:hover {
    background-color: var(--a8);
}
.search_suggestions {
    display: none;

    flex-direction: column;
    gap: 0;
    padding: 6px;
    background-color: var(--w8);
    border-radius: 6px;
}
.search_suggestions a {
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}
.search_suggestions a:hover,
.search_suggestions a:focus {
    background-color: var(--a2);
}
.search_suggestions p.t {
    margin: 0;
    font-size: 16px;
}
.search_suggestions p.s {
    margin: 0;
    margin-top: 3px;
    font-size: 14px;
}
.search_suggestions .no_results {
    margin: 0;
    padding: 12px;
}
.header .home .search_results {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px;
    border-radius: 6px;
    background-color: var(--a2);
}
.header .home .search_results a {
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}
.header .home .search_results a:hover,
.header .home .search_results a:focus {
    background-color: var(--a2);
}
.header .home .search_results a p.t {
    margin: 0;
    font-size: 16px;
}
.header .home .search_results a p.s {
    margin: 0;
    margin-top: 3px;
    font-size: 14px;
}
.header .home .search_results a .key {
    font-size: 13px;
    font-family: sans-serif;

    /* width: 28px;
    height: 28px;
    font-family: sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--a);
    border-radius: 50%; */
}
.header .home .manage {
    text-align: center;
    padding: 12px;
}
.header .home .manage a {
    font-size: 16px;
    color: var(--q);
}


._song_ {
    width: 100%;
}
.song {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px;
}
.song h1 {
    font-size: 40px;
    margin: 0;
}
.song .subtext {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.song .subtext .key {
    width: 28px;
    height: 28px;
    font-family: sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--a);
    border-radius: 50%;
}
.song .subtext .sref {
    color: var(--a);
}
.song .lyrics {
    margin: 25px 0;
    line-height: 1.5;
}
.song form input {
    font-size: 14px;
    font-family: inherit;
    padding: 6px;
    border-radius: 6px;
    background-color: var(--a);
    color: var(--q);
    cursor: pointer;
    transition: background-color 0.2s;
}


._about_ {
    width: 100%;
}
.about {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px;
}
.about h2 {
    font-size: 40px;
    margin: 0;
}
.about p {
    margin: 12px 0;
    line-height: 1.5;
}
.about a {
    display: inline-block;
    font-size: 16px;
    font-family: inherit;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    background-color: var(--a);
    transition: background-color 0.2s;
}
.about a:hover {
    background-color: var(--a8);
}


._edit_ {
    width: 100%;
}
.edit {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px;
}
.edit form {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 12px;
}
.edit form h1 {
    margin: 0;
    font-size: 30px;
    color: var(--a);
}
.edit form label {
    padding: 0;
    margin: 0;
}
.edit form label p {
    margin: 0 0 3px 0;
    padding: 0;
}
.edit form input,
.edit form textarea,
.edit form button.submit {
    font-size: 16px;
    font-family: inherit;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    height: 45px;
    border: 2px solid var(--a);
    transition: background-color 0.2s;
}
.edit form textarea {
    min-height: 250px;
    resize: vertical;
    line-height: 1.3;
}
.edit form input[type="submit"],
.edit form button.submit {
    border: none;
    background-color: var(--a);
    cursor: pointer;
}
.edit form input[type="submit"]:hover,
.edit form button.submit:hover {
    background-color: var(--a8);
}
.edit form button.take_out_of_trash {
    background-color: var(--f);
}

.back_button {
    display: inline-block;
    background-color: var(--a);
    color: var(--q);
    padding: 6px;
    border-radius: 6px;
    text-decoration: none;
}


._manage_ {
    width: 100%;
}
.manage {
    width: 100%;
}
.manage .top {
    padding: 12px;
}
.manage .top .back_button {
    margin-bottom: 6px;
}
.manage .top h1 {
    margin: 0;
    font-size: 30px;
    color: var(--a);
}
.manage .top p {
    margin: 0;
}
.manage .top .controls {
    display: flex;
    gap: 12px;
}
.manage .top .controls form {
    /* display: flex;
    align-items: stretch; */
}
.manage .top .controls form label {

}
.manage .top input {
    width: 100%;
    height: 33px;
    font-size: 16px;
    font-family: inherit;
    padding: 6px;
    border-radius: 6px;
}
.manage .top input[type="text"] {
    background-color: var(--w);
    border: 2px solid var(--a);
}
.manage .top input[type="submit"] {
    display: inline-block;
    background-color: var(--a);
    color: var(--q);
    padding: 6px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}
.manage .top .controls form label p {
    margin: 0 0 3px 0;
    font-size: 14px;
    /* font-weight: bold; */
    color: var(--d);
}
.manage .top .controls form select {
    width: 100%;
    height: 33px;
    font-size: 16px;
    font-family: inherit;
    color: var(--q);
    padding: 6px;
    border-radius: 6px;
    background-color: var(--w);
    border: 2px solid var(--a);
}

.manage .all_songs {
    width: 100%;
    padding: 0;
    overflow-x: scroll;
}
.manage .all_songs table {
    table-layout: auto;
    min-width: 100%;
    border-collapse: collapse;
}
.manage .all_songs table th {
    font-size: 20px;
}
.manage .all_songs table tr {
    background-color: #f5f5f5;
}
.manage .all_songs table tr:nth-child(even) {
    background-color: #ffffff;
}
.manage .all_songs table tr.deleted {
    background-color: #f2c6c7;
}
.manage .all_songs table tr.row:hover {
    background-color: var(--a2);
}
.manage .all_songs table th {
    text-align: left;
    padding: 12px;
}
.manage .all_songs table td {
    padding: 10px;
    white-space: nowrap;
}
.manage .all_songs table td .options {
    display: flex;
    gap: 6px;
}
.manage .all_songs table td form input {
    font-family: inherit;
    font-size: 14px;
    background-color: var(--a);
    color: var(--q);
    padding: 6px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}
.manage .all_songs table td form .e {
    color: transparent;
    width: 26px;
    height: 26px;
    background-image: url('/media/icons/pencil.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.manage .all_songs table td form .d {
    color: transparent;
    width: 26px;
    height: 26px;
    background-image: url('/media/icons/trash.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ff7272;
    outline-color: #ff7272;
}
.manage .bottom {
    padding: 12px;
}
.manage .bottom p {
    margin: 0;
    margin-bottom: 12px;
}
.manage .bottom .page_controller {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.manage .bottom .page_controller a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background-color: var(--f);
    color: var(--q);
    text-decoration: none;
}
.manage .bottom .page_controller a.current {
    background-color: var(--a);
}


footer {
    width: 100%;
    background-color: var(--a);
    padding: 25px;
}
footer p {
    text-align: center;
    font-size: 16px;
    margin: 0;
}
