html {
background: #111111;
}
.app > div.home {
display: block;
user-select: none;
/*
transition: opacity 0.4s;
*/
opacity: 1.0;
cursor: pointer;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
}
.app > div.home.hidden {
opacity: 0.0;
cursor: pointer;
/*pointer-events: none;*/
}
/* intro animation */
.app > div.home.intro {
background-color: #111111;
background-image: url(/thelastmuseum/static/media/last-museum/homepage.jpg);
background-size: cover;
background-position: center bottom;
}
.app > div.home.orange-bg {
background-color: #FF790D;
}
.app > div.home.white-bg {
background-color: #ffffff;
}
.app > div.home.black-bg {
background-color: #111111;
}
.home.white-text div {
color: #ffffff;
text-shadow: 0px 0px 10px #ffffff;
}
.home.white-text div.home-artists,
.home.white-text div.home-message {
text-shadow: 0px 0px 5px #ffffff;
}
.home.orange-text div {
color: #FF790D;
text-shadow: 0px 0px 10px #FF790D;
}
.home.orange-text div.home-artists,
.home.orange-text div.home-message {
text-shadow: 0px 0px 5px #FF790D;
}
/* home styling */
.home-byline {
font-family: "Druk Wide";
opacity: 1;
white-space: nowrap;
transition: opacity 0.2s;
font-size: 2.2vh;
width: 100vw;
text-align: center;
position: absolute;
}
.home-title {
font-family: "Druk";
font-weight: 900;
font-style: italic;
white-space: nowrap;
font-size: 49vh;
position: absolute;
left: 0;
width: 100vw;
text-align: center;
line-height: 0.9;
transition: top 0.2s cubic-bezier(0,0,0,1);
}
.home-artists {
font-family: "Druk Wide";
opacity: 1;
white-space: nowrap;
transition: opacity 0.2s;
width: 50vw;
font-size: 3vh;
position: absolute;
text-align: center;
bottom: 6vh;
}
.home-message {
font-family: "Druk Wide";
opacity: 0.0;
transition: opacity 0.2s;
width: 140vh;
font-size: 3.5vh;
line-height: 1.1;
position: absolute;
top: 40vh;
text-align: center;
left: 50%;
transform: translate3D(-50%, 0, 0);
}
.home.open .home-message {
opacity: 1.0;
}
.home-title.title-1 {
top: 2vh;
}
.home-title.title-1 span {
margin-left: -2vh;
}
.home-title.title-2 {
top: 40vh;
}
.home.open .home-title.title-1 {
top: -1vh;
}
.home.open .home-title.title-2 {
top: 58vh;
}
.home.open .home-artists {
opacity: 0;
transition: opacity 0.2s;
}
.artists-left {
left: 0;
}
.artists-right {
left: 50vw;
}
.byline-top {
top: 1vh; left: 0;
}
.byline-bottom {
bottom: 2vh; left: 0;
}
.home.open .home-byline {
opacity: 0;
}
.curtain {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: #111111;
transition: opacity 0.2s;
opacity: 1.0;
}
.curtain.hidden {
opacity: 0;
pointer-events: none;
}