* {
    box-sizing: border-box;
}

:root {
    --side-padding: 1em;
    --top-bottom-padding: 1em;
    --menu-color: #454545;
    --border-color-one: #808080;
    --font-color-dark: black;
    --background-color-content: #222;
}

body {
    margin: 0;
    padding: 0;
    font-family: monospace, 'Courier New', Courier;
    background-color: var(--background-color-content);
    color: #eee;
    overflow-x: hidden;
}

/* For google icons */
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

a,
.fake-link {
    color: #eee;
    text-decoration: none;
    cursor: pointer;
}

a:hover,
.fake-link:hover {
    color: rgb(163, 195, 255);
    text-shadow: 0 0 5px rgb(163, 195, 255);
}

.page-container {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

.header, .content, .footer {
    display: flex;
    /* flex-flow: row nowrap; */
    justify-content: space-between;
    align-items: flex-start;
    /* padding: var(--top-bottom-padding) var(--side-padding); */
}

.header {
    /* border: 2px solid red; */
    flex-flow: row wrap;
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 65px;
    background-color: black;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* border: 2px dotted red; */
}

.header-buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
    /* border: 2px solid green; */
}

.header-menu {
    /* border: 2px solid yellow; */
    width: 110px;
    display: flex;
    justify-content: center;
}

.button {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    background-color: var(--menu-color);
}

.content {
    /* border: 2px solid orange; */
    flex-flow: column nowrap;
    width: 100%;
    align-items: center;
    background-color: var(--background-color-content);
}

.footer {
    /* border: 2px solid green; */
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
}

.outer-el {
    /* border: 1px solid blue; */
    min-width: 60px;
    max-width: 150px;
    /* min-width: 150px; */
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.button-label {
    text-align: center;
    font-size: 16px;
}

.inner-el {
    /* border: 1px solid red;
    min-width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase; */
}

.small-section {
    border: 1px solid gray;
    margin: 1em auto 0 auto;
    /* width: 50%; */
    padding: var(--top-bottom-padding) var(--side-padding);
    display: flex;
    flex-flow: column nowrap;
    background-color: var(--background-color-content);
}

/* .floating {
    display: none;
    position: fixed;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px black;
} */

.dropdown,
#dropdown {
    background-color: var(--menu-color);
    font-size: 16px;
    font-family: monospace;
    color: white;
    border: none;
    /* border-bottom: 1px dotted white; */
}

.section-title {
    border: 1px solid gray;
    padding: 2px 5px;
    position: relative;
    top: -28px;
    background-color: gray;
    margin-right: auto;
}

.song-section {
    /* width: 100%; */
    font-size: 20px;
    margin-bottom: 6em;
    /* border: 2px solid blue; */
}

.song-header {
    display: flex;
    flex-flow: column nowrap;
    margin-bottom: 2em;
}

.song-title {
    font-size: 2em;
    font-weight: bold;
}

.song-sub-title {
    font-weight: bold;
    font-size: 20px;
}

.song-part {
    display: flex;
    flex-flow: column nowrap;
    margin-bottom: .2em;
    /* font-size: 22px; */
}

.song-part-outer {
    padding: .5em 1em;
    border-radius: 10px;
    margin-bottom: .5em;
}

.song-part-content {
    padding-left: 1em;
}

.chorus {
    /* border-left: 2px solid rgb(86, 86, 86); */
    background-color: rgb(52, 52, 52);
}

.song-part-title {
    font-weight: bold;
    text-transform: uppercase;
}

.content-section {
    width: 100%;
    /* border: 2px solid purple; */
}

.page-title {
    width: 100%;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: .5em;
}

.add-to-setlist {
        
}

.click-list-item {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: bold;
    background-color: rgb(75, 75, 75);
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 10px;
    width: 100%;
    gap: 20px;
}

.click-list-inner-left {
    display: flex;
    flex-flow: column nowrap;
}

.click-list-inner-right {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: flex-end;
    height: 60px;
}

.click-list-title {
    display: flex;
    flex-flow: column;
    font-size: 24px;
}

.click-list-sub-title {
    display: flex;
    font-size: 20px;
}

.option-item-section {
}

.menu {
    display: none;
    flex-flow: column nowrap;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: .5em 1em;
    background-color: var(--menu-color);
    border: 2px solid var(--border-color-one);
    color: var(--font-color-dark);
    font-weight: bold;
    font-size: 20px;
    width: 360px;
    box-shadow: 0 0 10px black;
}

.menu-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: .5em 0;
    cursor: pointer;
    color: white;
}

.menu-toggle {
    cursor: pointer;
    font-size: 32px;
    margin: 5px 0;
}

#menu-button {
    position: fixed;
    top: 5px;
    right: 10px;
}

.menu-toggle:hover .menu {
    /* display: flex; */
}

.menu:hover {
    display: flex;
}

#close-menu {
    margin: -5px 0 -20px auto;
    font-size: 34px;
    z-index: 10;
}

.settings {
    font-family: monospace, 'Courier New', Courier;
    font-size: 10px;
}

#auto-scroll-properties {
    /* font-size: 22px; */
}

#play {
    background-color: green;
}

.red {
    background-color: red !important;
}

.next-prev-song-section {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100px;
    background-color: rgba(255, 255, 255, .02);
    display: flex;
    align-items: center;
    font-size: 30px;
    color: rgba(255, 255, 255, .5);
}

.next-prev-song-section:hover,
.next-prev-song-section:focus {
    background-color: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .8);
}

.left-screen {
    /* position: fixed; */
    left: 0;
    justify-content: flex-start;
    padding-left: 10px;
}

.right-screen {
    /* position: fixed; */
    right: 0;
    justify-content: flex-end;
    padding-right: 10px;
}

#popup-dark-screen,
#setlist-popup-dark-screen {
    display: none;
    position: fixed;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(5px);
    transition: opacity .5s;
}

#popup-container {
    position: relative;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--menu-color);
    border-radius: 10px;
    width: 400px;
    padding: 1em 2em;
    font-size: 20px;
    box-shadow: 0 0 20px black;
}

#popup-title {
    margin-bottom: 1em;
}

#popup-message {
    margin-bottom: 1em;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.popup-button {
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: white;
    border: 2px solid black;
}

.popup-button:hover {
    background-color: rgb(188, 188, 188);
}

.popup-button:active {
    background-color: black;
    color: white;
}

.indent {
    margin-left: 2em;
}

.create-song-container {
    width: 100%;
    font-size: 1.5em;
}

#create-song-all-parts-contatiner {
    width: 100%;
    /* border: 3px dotted red; */
}

.bigger-dropdown {
    font-size: 1.2em;
}

.create-song-part-outer {
    /* border: 2px solid red; */
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1em;
}

.create-song-save-buttons {
    width: 100%;
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    padding-bottom: 1em;
}

.create-song-main-header {
    /* border: 2px dotted red; */
    width: 100%;
    padding: 1em;
    position: sticky;
    top: 65px;
    background-color: var(--background-color-content);
}

.create-song-main-header-row {
    /* border: 2px dotted yellow; */
    display: flex;
    flex-flow: row nowrap;
}

.create-song-inputs {
    width: 100%;
}

.create-song-labels {
    width: 200px;
    text-align: right;
    padding-right: 1em;
}

.create-song-part-header {
    /* border: 2px solid green; */
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: .5em;
}

.create-song-part-label {
    /* border: 2px solid yellow; */
    display: flex;
    gap: 10px;
}

.create-song-part-buttons {
    /* border: 2px solid blue; */

}

.create-song-part-content {
    /* border: 2px solid red; */
    width: 100%;
}

.create-song-part-lyrics {
    width: 100%;
}

.create-song-part-actions {
    /* border: 2px solid green; */
    display: flex;
    gap: 1em;
}

.horizontal-button {
    background-color: var(--menu-color);
    padding: 5px;
}

#song-part-template {
    display: none;  
}

#song-part-hints {
    transform: translateY(7px);
    /* margin-left: 10px; */
}

.hints-container {
    /* border: 2px solid red; */
    position: relative;
}

.hints {
    display: none;
    position: absolute;
    top: -50px;
    left: 30px;
    width: 200px;
    border: 2px dashed white;
    padding: 1em;
    font-size: 14px;
    background-color: rgb(95, 95, 95);
    box-shadow: 0 0 20px black;
}

#song-part-hints:hover ~ .hints {
    display: block;
}















@media (pointer:none), (pointer:coarse), (max-width: 500px) {
    #fullscreen {
        display: none;
    }

    .song-title {
        font-size: 1.3em;
    }

    .song-sub-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 900px) {
    .click-list-item {
        flex-flow: column nowrap;
        /* justify-content: center; */
        align-items: center;
    }

    .click-list-sub-title {
        font-size: 14px;
        justify-content: center;
        text-align: center;
    }

    .click-list-title {
        text-align: center;
        font-size: 18px;
        justify-content: center;
    }

    .click-list-inner-right {
        text-align: center;
    }

    .add-to-setlist {
        
    }

    .option-item-section {
        width: 100%;        
    }
}

@media screen and (max-width: 500px) {
    .button-label {
        font-size: 12px;
    }

    .button-wrapper {
        gap: 2px;
        padding-left:  3px;
        padding-right: 3px;
    }

    .header-menu {
        max-width: 60px;
    }

    .header {
        min-height: 50px;
    }

    .create-song-main-header {
        top: 48px;
    }

    .menu {
        right: 50%;
        transform: translateX(50%);
        width: 100%;
        font-size: 18px;
        line-height: 18px;
    }

    .menu-item {
        margin: .3em 0;
    }

    #close-menu {
        margin-top: .5em;
    }

    #popup-container {
        width: 90%;
    }

    .create-song-container {
        font-size: 1em;
    }

    .horizontal-button {
        padding: 2px;
    }
}