@font-face {
    font-family: "Batman";
    src: url("static/batmfa.ttf");
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    overflow: hidden;
}

.warning {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: black;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup {
    width: 450px;
    height: 250px;
    padding: 75px;
    background-image: url("static/popup_bg.png");
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-family: "Delius", 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

    .title h1 {
        margin: 0;
    }
}

.button {
    padding: 17px 12px 23px 8px;
    width: 130px;
    color: white;
    font-size: 1.3em;
    opacity: 0.8;
    background-image: url("static/button.png");
    background-size: 100% 100%;
    user-select: none;
    cursor: pointer;
}

.button:hover {
    opacity: 1;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -5;
}

.background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.darken {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -4;
}

.mobileonly {
    display: none;
}

.main {
    display: flex;
    font-family: "Delius", 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.column {
    flex-direction: column;
}

.main.column {
    width: 80%;
    height: auto;
    align-items: center;
}

.row {
    flex-direction: row;
}

.sidebar {
    position: sticky;
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.titlebar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.titlebar > * {
    user-select: none;
}

.sidebar, .titlebar {
    background-color: rgba(0, 0, 0, 0.3);
}

.title h1, .batman {
    font-family: "Batman", Arial, Helvetica, sans-serif;
}

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

.sidebar .link {
    text-transform: uppercase;
    font-weight: bold;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 200ms ease-in-out;

    a {
        pointer-events: none;
        user-select: none;
    }
}

.sidebar .link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.icon {
    filter: invert(1.0);
}

.player {
    position: absolute;
    right: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.player .play {
    opacity: 0.8;
    height: 1em;
    cursor: pointer;
    transition: margin 100ms ease-in-out;

    img {
        height: 1em;
    }
}

.player .play:hover {
    opacity: 1;
}

.player .progress {
    width: 10vw;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.2);
}

.player .progressbar {
    background-color: white;
    width: 0%;
    height: 100%;
    border-radius: 3px;
}

.content {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    overflow: hidden;
    flex-direction: row;
}

.page {
    overflow-y: auto;
    padding: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    scrollbar-color: rgba(255, 255, 255, 0.5) rgba(0, 0, 0, 0);
    scrollbar-width: thin;
}

#lyrics p {
    white-space: pre-wrap;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 4px black;
}

#lyrics p .icon {
    margin-left: calc(50% - 16px);
}

#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#about h1 {
    margin: 20px;
}

#about .pfp {
    width: 200px;
    margin-top: 40px;
    border-radius: 100%;
    border: solid 8px rgba(255, 255, 255, 0.2);
}

#about .socials {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

#about .icon {
    height: 2em;
}

#about p {
    text-align: center;
    width: 50%;
    margin-bottom: 0;

    .break {
        display: block;
        margin-top: 0.7em;
    }

    a {
        text-decoration: underline;
    }
}

#contact, #secrets {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#contact h2, #contact .button {
    text-align: center;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ui-selectmenu-button.ui-button {
    width: 290px;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: none;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    font-weight: normal;
    color: #ccc;
    transition: border 200ms ease-in-out;
    transition: background-color 200ms ease-in-out;
    width: 300px;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
    border: none;
    border-bottom: 3px solid #6030c0;
    background: rgba(50, 50, 50, 0.5);
    font-weight: normal;
    color: #ccc;
}

.ui-widget-content {
    border: none;
    background: rgb(0, 0, 0);
    color: rgba(255, 255, 255, 0.8);
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: rgb(50, 50, 50);
    font-weight: normal;
    color: #ffffff;
}

.ui-menu-item-wrapper.ui-state-active {
    border: none;
}

.ui-widget.ui-widget-content {
    border: 1px solid black;
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 10px;
}

input[type=text] {
    border: none;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: normal;
    color: #ccc;
    padding: 10px;
    outline: none;
    transition: border 200ms ease-in-out;
    transition: background-color 200ms ease-in-out;
    width: 300px;
    margin: 15px 0;
}

input[type=text]:focus {
    border-bottom: 3px solid #6030c0;
    background-color: rgba(50, 50, 50, 0.5);
}

@media only screen and (max-width: 600px) {
    .sidebar {
        width: 0;
    }

    .main.column {
        width: 100%;
    }

    .titlebar {
        justify-content: space-between;
    }

    .titlebar > * {
        margin-left: 10px;
        margin-right: 10px;
    }

    .player {
        position: initial;
    }

    .player .progress {
        width: 15vw;
    }

    .page {
        padding-bottom: 50px;
        height: calc(100% - 90px);
    }

    #about p {
        width: 80%;
    }

    #about .pfp {
        margin-top: 10px;
    }

    .mobileonly {
        display: initial;
    }

    input[type=text] {
        width: 100%;
    }
}