html,body {
    margin:0;
    padding:0;
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#container {
    visibility: hidden;
    height: 100%;
}
#splash {
    position: absolute;
    width: 100%;
    /* height inlined because 100vh didn't work here for some reason */
    background: white;
    background-size: cover;
    background-position: center center;
    z-index: 10;
    opacity: 0;
    transition: 1s ease;
}
/* now a footer!! */
#header {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 51px; /* extra pixel so nothing shows below */
    top: calc(100% - 50px + 1px);
    background-color: gray;
    background-size: 100% 100%;
    /*
    -webkit-box-shadow: 0px 12px 24px 14px rgba(0,0,0,0.54);
    -moz-box-shadow: 0px 12px 24px 14px rgba(0,0,0,0.54);
    box-shadow: 0px 12px 24px 14px rgba(0,0,0,0.54);
    */

}
/*
.header-ipad {
    top: calc(100% - 21px + 1px) !important;
}
*/
#header-left-container {
    position: absolute;
    left: 0%;
    height: 100%;
    width: 200px;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    cursor: pointer;
}
#header-middle-container {
    position: absolute;
    height: 100%;
    width: 600px;
    left: calc(50vw - 241px);
}
#header-right-container {
    position: absolute;
    height: 100%;
    width: 200px;
    left: calc(100vw - 200px);
    transition: 0.2s;
    -webkit-transition: 0.2s;
    cursor: pointer;
}
#header:hover #header-left-container {
    transform: translateX(3%);
    -webkit-transform: translateX(3%);
}
#header:hover #header-right-container {
    transform: translateX(-3%);
    -webkit-transform: translateX(-3%);
}
.header-side-container:hover .glow {
    opacity: 1;
}
#header-brand {
    position: absolute;
    width: 380px;
    height: 60%;
    top: 20%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
#header-app-icon {
    position: absolute;
    display: none;
    width: 380px;
    height: 60%;
    top: 20%;
    /*
    height: 100%;
    top: 15px;
    */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}
#header-share {
    position: absolute;
    width: 220px;
    left: 330px;
    height: 100%;
}
.share-btn {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 15px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}
.share-btn:hover {
    opacity: 1;
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}
#header-share-fb {
    left: 20px;
}
#header-share-tw {
    left: calc(20px + 20px * 2);
}
#header-share-gp {
    left: calc(20px * 2 + 20px * 3);
}
.header-icon {
    position: absolute;
    width: 100%;
    height: 26px;
    top: calc(50% - 13px);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.6;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}
#header-back-icon {
    left: 30px;
    background-position: left center;
}
#header-next-icon {
    right: 30px;
    background-position: right center;
}
.header-btn {
    position: absolute;
    width: 11px;
    height: 18px;
    top: calc(50% - 9px);
    background-size: 100% 100%;
    opacity: 0.3;
    cursor: pointer;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}
#header-back-btn {
    left: 3%;
}
#header-next-btn {
    left: calc(97% - 11px);
}
#slideshow {
    position: absolute;
    z-index: 2;
    transform: translateY(0%);
    width: 100%;
    height: calc(101% - 50px); /* minus the height of the header */
    background-color: black;
    transition: 0.4s ease;
    -webkit-transition: 0.4s ease;
}
#slideshow-img-container {
    width: 100%;
    height: 100%;
}
.slideshow-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: 0.6s linear;
    -webkit-transition: 0.6s linear;
}
#slideshow-img-1 {
    opacity: 1;
}
#slideshow-img-2 {
    opacity: 0;
}
.slideshow-btn {
    position: absolute;
    width: 22px;
    height: 36px;
    top: calc(50% - 36px / 2);
    opacity: 0.6;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    cursor: pointer;
}
#slideshow-back-btn {
    left: 1%;
}
#slideshow-next-btn {
    left: calc(99% - 22px);
}
#slideshow-back-btn:hover {
    opacity: 1;
    /*
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    */
}
#slideshow-next-btn:hover {
    opacity: 1;
    /*
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    */
}
#slideshow:hover #slideshow-back-btn {
    left: 3%;
}
#slideshow:hover #slideshow-next-btn {
    left: calc(97% - 22px);
}
#slideshow-start-btn {
    position: absolute;
    width: 180px;
    height: 40px;
    left: calc(50% - 90px);
    top: calc(49% - 20px); /* this seems to work better with images than 50% */
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid white;
    /*
    -webkit-box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.3);
    */
    cursor: pointer;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}
#slideshow-start-btn-inner {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 1.1em;
    /*
    letter-spacing: 1.4px;
    */
}
#slideshow-start-btn:hover {
    /*
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    */
    background: rgba(255, 255, 255, 1.0);
}
#app {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: calc(100vh - 40px); /* minus the height of the footer */
    overflow: scroll;
    display: none;
}
#app-dismiss {
    position: absolute;
    width: 40px;
    height: 40px;
    left: calc(100% - 50px);
    top: 10px;
    font-size: 40px;
    color: lightblue;
    cursor: pointer;
    transition: 0.2s;
    visibility: hidden;
}
#app-dismiss:hover {
    transform: scale(1.2);
}
#app iframe {
    border: none;
    width: 100%;
}
/* 
    hide left and right footer containers
    when too narrow
*/
@media (max-width: 700px) {
    #header-left-container,
    #header-right-container {
        visibility: hidden;
    }
}


/*
    little tweaks
*/
.rickastleyremixer-icon {
    height: 40px;
    top: calc(50% - 21px);
}
.no-hover {
    opacity: 0.6 !important;
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
}
#slideshow-start-btn.no-hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.3) !important;
}
.force-hover {
    opacity: 1 !important;
}

