* {
    box-sizing: border-box;
}

body {
    font-size: 18px;
    font-family: Vollkorn, serif;
    overflow: hidden;
    background-color: #222;
    color: white;
}

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

/**********************/
/* GENERAL RESPONSIVE */
/**********************/

body.mobile *.desktop {
    display: none;
}

body.desktop *.mobile {
    display: none;
}

/**************/
/* BACKGROUND */
/**************/

img.background {
    position: fixed;
    top: 0px;
    left: 0px;
    opacity: 0;
    transition: opacity 1s;
    display: none;
}

img#background-ld {
    z-index: 1;
}

img#background-hd {
    z-index: 2;
}

div.albumBackground {
    z-index: 1;
    opacity: 0;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-color: #69f;
    background-image: url('../img/album-background/background-435.jpg');
    transition: opacity .5s;
}

/***********/
/* CONTENT */
/***********/

div.contentFrame {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    overflow: auto;
    z-index: 3;
}

body.mobile div.contentFrame {
    height: calc(100% - 52px);
}

body.desktop div.contentFlex1 {
    height: 1px;
    flex-basis: 200px;
    flex-shrink: 0;
    flex-grow: 1;
}

body.mobile div.contentFlex1 {
    height: 1px;
    flex-basis: 0px;
    flex-shrink: 0;
    flex-grow: 0;
}

body.desktop div.contentFlex2 {
    height: 1px;
    flex-basis: 40px;
    flex-shrink: 0;
    flex-grow: 1;
}

body.mobile div.contentFlex2 {
    height: 1px;
    flex-basis: 0px;
    flex-shrink: 0;
    flex-grow: 0;
}

div.content {
    position: relative;
    pointer-events: auto;
    font-size: 20px;
    position: relative;
    height: auto;
}

div.content > div {
    padding: 60px 0px 40px 0px;
    margin-bottom: 20px;
}

body.mobile div.content > div {
    padding-top: 40px;
}

body.desktop div.content {
    /* min-height: 100%; */
    margin: 0px;
    flex-basis: 840px;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 20px;
}

body.desktop.wideContent div.content {
    flex-grow: 100;
    max-width: 1200px;
}

body.mobile div.content {
    flex-basis: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 16px;
}

@keyframes content-insert {
    from {
	filter: blur(10px);
	opacity: 0;
    }
    to {
	filter: blur(0px);
	opacity: 1;
    }
}

div.insert {
    animation: content-insert .5s ease-in;
}

div.fastInsert {
    animation: content-insert .3s ease-in;
}

@keyframes content-remove {
    from {
	filter: blur(0px);
	opacity: 1;
    }
    to {
	filter: blur(10px);
	opacity: 0;
    }
}

div.remove {
    animation: content-remove .5s ease-out;
}

div.pageTitle {
    font-weight: 500;
    font-size: 40px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 80px;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
}

body.mobile div.pageTitle {
    margin-bottom: 50px;
}

/********/
/* MENU */
/********/

div.contentFrame.above {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
}

body.desktop div.contentFrame.above {
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

body.desktop div.contentFrame.above div.content {
    pointer-events: none;
}

body.desktop div.contentFlex1.menuHolder {
    height: 100%;
    display: flex;
    flex-direction: row;
}

body.desktop div.menuFlex1 {
    height: 1px;
    flex-basis: 20px;
    flex-shrink: 0;
    flex-grow: 2;
}

body.desktop div.menuFlex2 {
    height: 1px;
    flex-basis: 20px;
    flex-shrink: 0;
    flex-grow: 1;
}

body.desktop div.flexMenuHolder {
    position: relative;
    height: 100%;
    flex-basis: 170px;
    flex-shrink: 0;
    flex-grow: 0;
    pointer-events: auto;
}

div.menu {
    position: absolute;
    overflow: hidden;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.5s;
}

body.desktop div.menu {
    top: calc(100% - 400px);
    left: 0px;
    width: 170px;
    height: auto;
    padding: 10px;
}


body.about div.menu, body.main div.menu, body.about div.menu, body.music div.menu, body.contact div.menu, body.media div.menu, body.news div.menu, body.poetry-of-streetlights div.menu , body.wetlands div.menu {
    opacity: 1;
}

body.desktop a.menuItem {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 62px;
    padding-top: 10px;
    font-size: 20px;
    font-family: serif;
    cursor: pointer;
    color: white;
    text-align: left;
    transition: background-color 1s;
}

body.desktop a.menuItem img.uc_1 {
    height: 42px;
}

body.desktop a.menuItem img.lc_1 {
    height: 68px;
}

body.desktop a#menu_main img.uc_1 {
    margin-left: 6px;
}

body.desktop a#menu_about img.uc_1 {
    margin-left: 5px;
}


body.desktop a#menu_main img.lc_1 {
    margin-left: 30px;
}

body.desktop a#menu_about img.lc_1 {
    margin-top: 4px;
}

body.desktop a#menu_music img.lc_1 {
    margin-left: 12px;
}

body.desktop a#menu_media img.lc_1 {
    margin-left: 6px;
}


body.mobile div.menu {
    width: 100%;
    left: 0px;
    height: 52px;
    top: calc(100% - 52px);
    display: flex;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, .5);
}

body.mobile a.menuItem {
    flex: 1;
    height: 52px;
    padding-top: 12px;
    overflow: hidden;
    text-align: center;
    font-size: 16px;
    font-family: serif;
    cursor: pointer;
    color: white;
    transition: background-color 1s;
}

body.mobile a.menuItem img {
    height: 32px;
}

div.menuItem:hover {
    background-color: rgba(255, 255, 255, .03);
    transition: background-color .3s;
}

/*
body.desktop.poetry-of-streetlights div.menu {
    background-color: rgba(0, 0, 0, .25);
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, .3);
}
*/

body.desktop.poetry-of-streetlights a.menuItem img {
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .8));
}


/*********/
/* AUDIO */
/*********/


div.audioHolder {
    position: fixed;
    visibility: hidden;
    top: -10px;
    left: -10px;
    width: 0px;
    height: 0px;
    overflow: hidden;
}

div.player {
    position: absolute;
    overflow: visible;
    z-index: 4;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    /* desktop */
    top: 80px;
    left: 0px;
    width: 170px;
}

body.mobile div.player {
    width: 100%;
    left: 0px;
    height: 66px;
    top: calc(100% - 118px);
    box-shadow: 0px -2px 5px rgba(0, 0, 0, .5);    
}

div.player div.title {
    position: absolute;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .8));
    /* desktop */
    top: 0px;
    left: -25px;
    width: 220px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.player > img {
    position: absolute;
    display: none;
    filter: drop-shadow(0px 0px 7px rgba(0, 0, 100, .8));
    /* desktop */
    top: 32px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

div.player > img.play { left: 75px; }
div.player > img.transition { left: 75px; }
div.player > img.pause { left: 75px; }
div.player > img.previous { left: 35px; }
div.player > img.next { left: 115px; }

body.mobile div.player div.title {
    top: 8px;
    left: 40px;
    width: calc(100vw - 64px);
    text-align: left;
}

body.mobile div.player > img {
    top: 8px;
}

body.mobile div.player > img.play { left: 12px; }
body.mobile div.player > img.transition { left: 12px; }
body.mobile div.player > img.pause { left: 12px; }
body.mobile div.player > img.previous { left: calc(100vw - 60px); }
body.mobile div.player > img.next { left: calc(100vw - 28px); }

body.playerVisible div.player {
    visibility: visible;
    opacity: 1;
}

body.mobile.playerVisible div.contentFrame {
    height: calc(100% - 118px);
}

body.playerVisible div.menu {
    box-shadow: none;
}

input[type="range"] {
    -webkit-appearance: none;
    position: absolute;
    top: 68px;
    left: 0px;
    width: 100%;
    height: 3px;
    border-radius: 2px;  
    background: #ccc;
    outline: none;
}

body.mobile input[type="range"] {
    -webkit-appearance: none;
    position: absolute;
    top: 44px;
    left: 30px;
    width: calc(100vw - 60px);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%; 
    background: #eee;
    outline: none;
    border: none;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #eee;
    outline: none;
    border: none;
    cursor: pointer;
}
