/*
Theme Name: Tasteful
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:url('assets/img/bg.png');
    background-repeat: repeat;
    z-index: 9999999;
    height: 100%;
}
#status {
    width: 25px;
    height: 25px;
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    margin: -25px 0 0 -25px;
    z-index: 9999999;
}
#status img {
    width: 50px;
    height: 50px;
}

html,
body {
    width: 100%;
    height: 100%;
}
body {
    font-size: 15px;
    font-family: "futura-pt", sans-serif;
    background-image:url('assets/img/bg.png');
    color: rgb(255, 255, 255);
    overflow-x: hidden;
}
header {
    text-align: center;
    position: fixed;
    width: 100%;
    margin: 20px 0;
    z-index: 9999;
}
header {
    top: 0;
}
header img {
    width: 250px;
}

video { position: fixed; top:0; right:0; bottom:0; left:0; z-index: 0; min-width:100%; min-height:100%; }
/*source { width:100%; height:100%; }*/
h1 {
    font-family: "acta-display";
    font-size: 10em;
    font-weight: 400;
}
.skip { position:fixed; bottom:40px; height:40px; width:100px; margin:0 0 0 -25px; left:50%;  z-index: 9999; }
.skip:hover { cursor:pointer; opacity:0.5; }
/*source { width:100%; height:100%; }*/

@media screen and (max-width: 768px) {
    .skip { display: none; }
    header img { width:175px; }
}
h2 {
    font-family: "acta-display";
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 50px;
}
nav ul li h2 {
    font-family: "acta-display";
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 50px;
    text-align: center;
    padding-top: 50px;
    opacity: 0;
}
h3 {
    font-weight: 100;
    font-size: 1.25em;
}
nav {
    width: 100%;
    height: 100vh;
    display: table;
    vertical-align: middle;
    z-index: 0;
    font-size: 1.5em;
}

nav.inner {transition: all 500ms ease;  display: block; height:50px; position: fixed; text-align: center; width:150px; z-index: 99999; left:50%; margin-left:-60px; top:150px; }
nav.inner.high { top:60px; transition: all 500ms ease; }
nav ul {
    list-style: none;
    height: 100%;
    position: relative;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
nav ul li {
    margin: 0 60px;
    display: inline-block;
    width: 150px;
    height: 200px;
    opacity: 1;
    background: url('assets/img/bubble.png') no-repeat center center / cover;
    
}
nav.inner ul li { width:21px; height:28px; margin:0 10px; text-align: center; opacity:0.5; }
nav.inner ul li:hover { opacity:1; }
nav.inner ul li h2 { transition:none; opacity:0; width:200px; display: block; font-size:0.85em; margin-top:40px; padding:0; position: absolute; top:0;  margin-left:-90px;}
nav ul li.memories {
    background: url('assets/img/memories.png') no-repeat center center / cover;
}
nav ul li.magic {
    background: url('assets/img/magic.png') no-repeat center center / cover;
}
nav ul li.wisdom {
    background: url('assets/img/wisdom.png') no-repeat center center / cover;
}
nav ul li.memories.white,
nav ul li.magic.white,
nav ul li.wisdom.white { 
    background: url('assets/img/bubble.png') no-repeat center center / cover;
}

nav ul li:hover h2 {
    transition: all 500ms ease;
    opacity: 1;
}

nav ul li:hover {
    cursor: pointer;
    background-image: none;
}
nav ul li:hover div {
    opacity: 1;
}
nav ul li:hover img {
    opacity: 0;
}
@media screen and (max-width: 768px) {
    nav ul {
    list-style: none;
    height: 100%;
    position: relative;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
 nav ul li {
    margin: 0 15px;
    width: 60px;
    height: 80px;
}   
    nav.inner { top:100px; }
    nav.inner ul li { width:15px; height:20px; margin:0 10px; text-align: center; opacity:0.5; }
}

section {
    width: 100%;
    height: 100vh;
    display: table;
    position: relative;
}
.boxpic .wrapper,
section .wrapper {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    z-index: 999;
    position: relative;
}



section:nth-child(2) {}
section.content {
    position: relative;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
}
section.content .wrapper {
    width: 100%;
}
section.content .wrapper .description {
    width: 60%;
    margin: 60px auto 0;
}
@media screen and (max-width: 1280px ) {    
/*
    section .wrapper {
        padding-top:175px;
           display: block;
        vertical-align: middle;
    }
*/
}
@media screen and (max-width: 1024px ) {    
    section .wrapper {
        margin:0 auto;
        padding:150px 0;
           display: block;
        vertical-align: middle;
    }
 
}
section.content .wrapper .description h2 {
    margin: 30px 0 25px;
}
section #rotate div {
    width: 100%;
    text-align: center;
}
section #rotate div p {
    width: 100%;
    text-align: center;
}
.red {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
background: -moz-linear-gradient(top, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0.30) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.layers3,
.layers2,
.layers1 {
    background-size: cover;
    background-position: bottom center;
    background-attachment: scroll;
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    z-index: 0;
}

/*.layers2 { background-attachment: fixed; position: fixed; }*/

.layers2 {
    z-index: 5;
}
.layers1 {
    z-index: 9;
}
.layers1 img,
.layers2 img,
.layers3 img {
    width: 100%;
}
section.bg {
    background-size: cover;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: relative;
}
.up,
.down {
    position: fixed;
    width: 40px;
    left: 50%;
    margin-left: -20px;
    bottom: 70px;
    text-align: center;
    transition: all 500ms ease;
    transform: rotate(0deg);
    z-index: 999999;
}
.down:hover,
.up:hover {
    transition: all 500ms ease;
    cursor: pointer;
}
.down img,
.up img {
    width: 30px;
}
.up {
    display: none;
    margin-left: -20px;
    bottom: 75px;
    transform: rotate(180deg);
}
.gallery {
    width: 100vw;
    margin: 40px 0 40px;
    font-size: 0;
}
.gallery ul li {
    width: 25%;
    margin: 0 0px;
    height: calc(20vw / 1.5);
    list-style: none;
    display: inline-block;
    position: relative;
}
.gallery ul li .play {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: all 500ms ease;
}
.gallery ul li .show {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: all 500ms ease;
}
.gallery ul li i {
    font-size: 20px;
    margin-top: 7vw;
    color: #fff;
    transition: all 500ms ease;
}
.gallery ul li:hover {
    cursor: pointer;
}
.gallery ul li:hover .play,
.gallery ul li:hover .show {
    opacity: 1;
    background: rgba(217, 46, 62, 0.9);
    transition: all 500ms ease;
}
.gallery ul li:hover i {
    margin-top: 6vw;
    color: #fff;
}
.gallery img {
    margin: 0 10px;
}
.boxvid,
.boxpic {
    position: fixed;
    width: 100%;
    padding-top: 150px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:url('assets/img/bg.png');
    z-index: 99999999999;
    display: none;
}
.boxpic img {
    height: calc(100% - 150px);
    width: auto;
    margin: 0 auto;
}

.boxvid iframe {
    width: 100%;
    max-width: 60%;
    height: calc(100% - 125px);
}
footer {
    width: 400px;
    margin: 0 0 0 -200px;
    left: 50%;
    position: fixed;
    bottom: 20px;
    text-align: center;
    font-weight: 400;
    font-size: 1em;
    z-index: 99999;
}
footer img {
    width: 150px;
    display: block;
    left: 50%;
    margin-left: -75px;
    bottom: 0px;
    position: absolute;
}
footer span {
    opacity: 0;
    width: 100%;
    left: 0;
    right: 0;
    position: absolute;
    bottom: 10px;
}
footer:hover img {
    opacity: 0;
    cursor: pointer;
}
footer:hover span {
    opacity: 1;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    
/*
    section.first,
    section.content .wrapper .description {
        width: calc(100% + 15px);
        margin: 0 auto;
    }
    section.first {
        width: calc(100% + 30px);
        }
*/
}
.plbt:hover { cursor:pointer; opacity:0.6;}
@media screen and (max-width: 768px) {
    
    h1 { font-size:3.5em; margin-top:20%; }
    nav ul li { margin-top:-50px; }
    .gallery ul {
        margin-bottom:120px;
    }
    .gallery ul li {
    width: 100%;
    margin: 0;
    height: 250px;
    list-style: none;
    display: inline-block;
    position: relative;
}
    .gallery ul li:hover .play,
.gallery ul li:hover .show {
    opacity: 0;
    background: rgba(217, 46, 62, 0.9);
    transition: all 500ms ease;
}
   section.content {
    position: relative;
    width: 100%;
    height: 100%;
       margin:0 auto;
} 
    section.content .wrapper .description {
    width: 90%;
    margin: 0px auto 0;
    }
    
    
    video { display:none; }
    footer span { font-size:9px; }
    footer span a:link { font-size:14px; text-decoration: none; color:#fff; }
    
    nav.inner ul li h2 { display:none; }

    
}
