/************************************************
 * full page background
 */
body {
    padding: 0;
    margin: 0;

    overflow: hidden;
}

.unpool {
    background: url("img/unpool.jpg");
    background-repeat: no-repeat;
    background-position: left bottom; /*center center;*/
    background-attachment: fixed;
    background-size: cover;
}

.plain {
    background-color: #555555;
}






/************************************************
 * title
 */
.title {
    position: absolute;
    right: 10vw;
    top: 10vh;
}

.title img {
    width: 15vw;
    max-width: 300px;
    height: auto;

    z-index: 1;

    /* pulsating black shadow */
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 1));
    animation: title-pulse 3s infinite;
    animation-delay: 2s;
}

@keyframes title-pulse {
    0% {
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 1)) brightness(1.2);
    }

    70% {
        filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
}

.title img:hover {
    /*filter: drop-shadow(0 0 10px black);*/
    cursor: pointer;
}




/************************************************
* video iframes and links
*/
#video1 {
    position: absolute;
    top: 0;
    left: 0;

    visibility: hidden;
    opacity: 0;

    width: 100vw;
    height: 100vh;

    z-index: 2;
}

#video2 {
    position: absolute;
    top: 0;
    left: 0;

    visibility: hidden;
    opacity: 0;

    width: 100vw;
    height: 100vh;

    z-index: 2;
}

.target1 {
    position: fixed;
    transform: translate(-50%, 0);

    visibility: hidden;
}

.target1 img {
    width: 100%;
    height: auto;

    /* pulsating white shadow */
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1));
    animation: target-pulse 3s infinite;
    animation-delay: 3s;
}

@keyframes target-pulse {
    0% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1)) brightness(1.2);
        /*transform: scale(1);*/
    }

    70% {
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
        /*transform: scale(0.98);*/
    }
}

.target1 img:hover {
    cursor: pointer;
    /*filter: drop-shadow(0 0 10px white);*/
}

.target2 {
    position: fixed;
    transform: translate(-50%, 0);

    visibility: hidden;
}

.target2 img {
    width: 100%;
    height: auto;

    /* pulsating white shadow */
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1));
    animation: target-pulse 3s infinite;
    animation-delay: 2.5s;
}

.target2 img:hover {
    cursor: pointer;
    /*filter: drop-shadow(0 0 10px white);*/
}



/************************************************
 * back button for Matterport viewer and flute video
 */
.back {
    position: absolute;
    top: 5vh;
    left: 48vw;

    visibility: hidden;

    z-index: 3;
}

.back img {
    width: 5vw;
    height: auto;
}

.back img:hover {
    cursor: pointer;
    filter: drop-shadow(0 0 10px white);
}



/************************************************
 * sliding text
 */
.text {
    margin: 0 20vw 0 20vw;
    /*padding: 2em 1em 1em 1em;*/
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #000000;

    color: #CCCCCC;
    font-size: 1.2em;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

    position: absolute;
    top: 50%;
    height: 50%;
    overflow-y: auto;
    transition: all 0.5s;
}

.text:hover {
    cursor: s-resize;
}

.close {
    top: 100%;
    height: 0;
}

.text p {
    padding-left: 1em;
    padding-right: 1em;
}

.text a {
    color: #FFFFFF;
}
