/*
Theme Name: Rebecca Schleier
Author: Sebastian Schleier
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Kameron:400,700');
        
* { margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; font-family: Kameron, sans-serif; color: rgba(28, 27, 27, 1); }
html { font-size: 16px; }
@media(max-width: 2000px) { html { font-size: 16px; } } @media(max-height: 1000px) { html { font-size: 16px; } }
@media(max-width: 1800px) { html { font-size: 15px; } } @media(max-height: 900px) { html { font-size: 15px; } }
@media(max-width: 1600px) { html { font-size: 14px; } } @media(max-height: 800px) { html { font-size: 14px; } }
@media(max-width: 1400px) { html { font-size: 13px; } } @media(max-height: 700px) { html { font-size: 13px; } }
@media(max-width: 1200px) { html { font-size: 12px; } } @media(max-height: 600px) { html { font-size: 12px; } }
@media(max-width: 1000px) { html { font-size: 11px; } } @media(max-height: 500px) { html { font-size: 11px; } }
@media(max-width: 800px) { html { font-size: 10px; } } @media(max-height: 400px) { html { font-size: 10px; } }
@media(max-width: 600px) { html { font-size: 9px; } } @media(max-height: 300px) { html { font-size: 9px; } }
@media(max-width: 400px) { html { font-size: 8px; } } @media(max-height: 200px) { html { font-size: 8px; } }
@media(max-width: 200px) { html { font-size: 7px; } } @media(max-height: 100px) { html { font-size: 7px; } }

#container { position: relative; top: 0; left: 0; transition: top 0.5s, left 0.5s; height: 100%; overflow: visible; }
[active=play] #container { top: 50%; left: 50%; }
[active=ped] #container { top: 50%; left: -50%; }
[active=me] #container { top: -50%; left: 50%; }
[active=con] #container { top: -50%; left: -50%; }

a { color: inherit; text-decoration: none; }
h1, h2 { cursor: pointer; }

h1 { position: relative; top: 50%; right: 0; transform: translate(0, -50%); height: 16em; overflow: hidden; z-index: 1; background-color: rgba(0, 0, 0, 1); font-size: 2em;
    background-repeat: no-repeat; background-position: 50% 50%; background-size: auto 100%; padding: 1px 0;
    transition: right 0.5s, top 0.5s, height 0.5s, background-position 0.5s, background-size 0.5s cubic-bezier(0,0,0.01,1), transform 0.5s; }
h1 span { color: rgba(255, 255, 255, 1); position: absolute; right: 2em; top: 75%; transform: translate(0, -50%);
    font-size: 2em; text-transform: uppercase; text-align: center; line-height: 0.85em; transition: top 0.5s; }
[active=play] h1, [active=ped] h1, [active=me] h1, [active=con] h1 { height: 3em; background-position: 50% 42.5%; background-size: auto 300%;
    transition: right 0.5s, top 0.5s, height 0.5s, background-position 0.5s, background-size 0.5s ease-in-out, transform 0.5s; }
[active=play] h1 span, [active=ped] h1 span, [active=me] h1 span, [active=con] h1 span { top: 52.5%; }

[active=play] h1, [active=ped] h1, [active=me] h1, [active=con] h1 { top: 50%; }
[active=play] h1 { right: 50%; top: 50%; transform: translate(0, -130%); }
[active=ped] h1 { right: -50%; top: 50%; transform: translate(0, -130%); }
[active=me] h1 { right: 50%; top: 50%; transform: translate(0, 30%); }
[active=con] h1 { right: -50%; top: 50%; transform: translate(0, 30%); }

section { width: 100%; height: calc(100% - 8em); position: absolute; transition: top 0.5s, left 0.5s;
    box-sizing: border-box; z-index: 2; }

[name=play] { left: -50%; top: calc(-50% - 8em); background-color: rgba(13, 163, 55, 0.2); }
[name=ped] { left: 50%; top: calc(-50% - 8em); background-color: rgba(237, 143, 35, 0.2); }
[active=play] [name=play], [active=ped] [name=ped] { top: -50%; }

[name=me] { left: -50%; top: calc(50% + 16em); background-color: rgba(112, 2, 60, 0.2); }
[name=con] { left: 50%; top: calc(50% + 16em); background-color: rgba(214, 39, 0, 0.2); }
[active=me] [name=me], [active=con] [name=con] { top: 50%; transform: translate(0%, 8em); }

[active="play"] section:not([name="play"]), [active="ped"] section:not([name="ped"]), [active="me"] section:not([name="me"]),
    [active="con"] section:not([name="con"]) { z-index: 3; }

h2 { font-size: 4em; width: 6.75em; height: 1.5em; color: rgba(255, 255, 255, 1); text-shadow: rgba(28, 27, 27, 0.5) 4px 4px;
    display: inline-block; position: absolute; bottom: 0;
    transition: transform 0.5s, right 0.5s, bottom 0.5s; transform-origin: bottom right; text-align: center; z-index: 1;}

h2 span { position: absolute; top: 50%; transform: translate(-50%, -50%); left: 50%; }

[name=play] h2 { right: 25%; transform: translate(50%, 0); background-color: rgba(13, 163, 55, 1); }
[active=play] [name=play] h2 { right: calc(100% - 6.5em); transform: translate(50%, 100%); }
[active=play] section[name=ped] h2 { transform: translate(0, -600%) rotate(-90deg) scale(0.5); right: 100%; bottom: 0em; }
[active=play] section[name=me] h2 { transform: translate(0, -350%) rotate(-90deg) scale(0.5); right: 0%; bottom: calc(100% + 8em); }
[active=play] section[name=con] h2 { transform: translate(0, -100%) rotate(-90deg) scale(0.5); right: 100%; bottom: calc(100% + 8em); }

[name=ped] h2 { right: 75%; transform: translate(50%, 0); background-color: rgba(237, 143, 35, 1); }
[active=ped] [name=ped] h2 { bottom: 0%; right: calc(100% - 6.5em); transform: translate(50%, 100%); }
[active=ped] section[name=play] h2 { transform: translate(0, -600%) rotate(-90deg) scale(0.5); right: -100%; bottom: 0em; }
[active=ped] section[name=me] h2 { transform: translate(0, -350%) rotate(-90deg) scale(0.5); right: -100%; bottom: calc(100% + 8em); }
[active=ped] section[name=con] h2 { transform: translate(0, -100%) rotate(-90deg) scale(0.5); right: 0%; bottom: calc(100% + 8em); }

[name=me] h2 { right: 25%; transform: translate(50%, 100%); bottom: 100%; background-color: rgba(112, 2, 60, 1); }
[active=me] [name=me] h2 { right: calc(100% - 6.5em); transform: translate(50%, 0%); }
[active=me] section[name=play] h2 { transform: translate(0, 50%) rotate(-90deg) scale(0.5); right: 0%; bottom: -6em; }
[active=me] section[name=ped] h2 { transform: translate(0, 300%) rotate(-90deg) scale(0.5); right: 100%; bottom: -6em; }
[active=me] section[name=con] h2 { transform: translate(0, 550%) rotate(-90deg) scale(0.5); right: 100%; bottom: calc(100% + 2em); }

[name=con] h2 { right: 77.5%; transform: translate(50%, 100%); bottom: 100%; background-color: rgba(214, 39, 0, 1); }
[active=con] [name=con] h2 { bottom: 100%; right: calc(100% - 6.5em); transform: translate(50%, 0%); }
[active=con] section[name=play] h2 { transform: translate(0, 50%) rotate(-90deg) scale(0.5); right: -100%; bottom: -6em; }
[active=con] section[name=ped] h2 { transform: translate(0, 300%) rotate(-90deg) scale(0.5); right: 0%; bottom: -6em; }
[active=con] section[name=me] h2 { transform: translate(0, 550%) rotate(-90deg) scale(0.5); right: -100%; bottom: calc(100% + 2em); }

.container { height: 100%; opacity: 0; transition: opacity 0.25s; padding-right: 2em; width: 100%; overflow: hidden; }
[active=play] [name=play] .container, [active=ped] [name=ped] .container, [active=me] [name=me] .container, [active=con] [name=con] .container { opacity: 1; }

.slider { width: 1000%; height: 100%; position: relative; left: 0; transition: left 0.5s; }

.container article { width: 10%; position: absolute; top: 0; left: 0; height: 100%; overflow-y: auto; padding: 1em 3em 1em 1em;
    box-sizing: border-box; }
.container article:nth-child(2) { left: 10%; }
.container article:nth-child(3) { left: 20%; }
.container article:nth-child(4) { left: 30%; }
.container article:nth-child(5) { left: 40%; }
.container article:nth-child(6) { left: 50%; }
.container article:nth-child(7) { left: 60%; }
.container article:nth-child(8) { left: 70%; }
.container article:nth-child(9) { left: 80%; }
.container article:nth-child(10) { left: 90%; }
.container article:nth-child(11) { left: 100%; }

[active=article-0] .slider { left: -100%; }
[active=article-1] .slider { left: -200%; }
[active=article-2] .slider { left: -300%; }
[active=article-3] .slider { left: -400%; }
[active=article-4] .slider { left: -500%; }
[active=article-5] .slider { left: -600%; }
[active=article-6] .slider { left: -700%; }
[active=article-7] .slider { left: -800%; }

.half { float: left; padding: 1em 2em; box-sizing: border-box; width: 60%; min-height: 100%; }
.half + .half { width: 40%; height: 100%; text-align: right; }
h3, h4 { font-size: 4em; text-transform: uppercase; line-height: 1em; margin-bottom: 0.3em; }
h3 ~ h3 { margin-top: .5em; }
[name=play] h3, [name=play] h4 { color: rgba(13, 163, 55, 1); }
[name=ped] h3, [name=ped] h4 { color: rgba(237, 143, 35, 1); }
[name=me] h3, [name=me] h4 { color: rgba(112, 2, 60, 1); }
[name=con] h3, [name=con] h4 { color: rgba(214, 39, 0, 1); }
p, ul { padding: 0 0 1em 0; font-size: 16px; }
/*img { width: 100%; height: auto; }*/
img { max-width: 100%; max-height: 100%; }
.image-list { height: 15em; margin-top: 1em; }
.image-list span, span.feature { position: relative; }
.image-list span:not(:last-child) { margin-right: 1em; }
small { position: absolute; left: 0; bottom: -1em; }

nav { position: fixed; bottom: -2em; left: 1em; font-size: 4em; text-align: center; transition: bottom 0.5s; }
[name=me] nav { bottom: calc(100% + 3em); }
nav [href] { display: inline-block; border-radius: 50%; color: hsl(0, 0%, 100%); text-shadow: rgba(28, 27, 27, 0.5) 4px 4px; position: relative;
    width: 1.5em; height: 1.5em; line-height: 1.5em; transition: transform 0.5s; transform: rotate(360deg); }
nav [href]:last-child { margin-left: 9.5em; }
nav [href] + [href] { margin-left: 8em; }
[name=play] nav [href] { background-color: rgba(13, 163, 55, 1); }
[name=ped] nav [href] { background-color: rgba(237, 143, 35, 1); }
[name=me] nav [href] { background-color: rgba(112, 2, 60, 1); }
[name=con] nav [href] { background-color: rgba(214, 39, 0, 1); }
[active=article-0] article:nth-child(2) nav, [active=article-1] article:nth-child(3) nav, 
[active=article-2] article:nth-child(4) nav, [active=article-3] article:nth-child(5) nav, 
[active=article-4] article:nth-child(6) nav, [active=article-5] article:nth-child(7) nav, 
[active=article-6] article:nth-child(8) nav, [active=article-7] article:nth-child(9) nav
    { transition: bottom 0.5s 0.2s; bottom: 0.5em; }
[name=me][active=article-0] article:nth-child(2) nav, [name=me][active=article-1] article:nth-child(3) nav, 
[name=me][active=article-2] article:nth-child(4) nav, [name=me][active=article-3] article:nth-child(5) nav, 
[name=me][active=article-4] article:nth-child(6) nav, [name=me][active=article-5] article:nth-child(7) nav, 
[name=me][active=article-6] article:nth-child(8) nav, [name=me][active=article-7] article:nth-child(9) nav
    { bottom: 100%; }
[active=article-0] article:nth-child(2) nav [href], [active=article-1] article:nth-child(3) nav [href], 
[active=article-2] article:nth-child(4) nav [href], [active=article-3] article:nth-child(5) nav [href], 
[active=article-4] article:nth-child(6) nav [href], [active=article-5] article:nth-child(7) nav [href], 
[active=article-6] article:nth-child(8) nav [href], [active=article-7] article:nth-child(9) nav [href]
    { transition: transform 0.5s 0.2s; transform: rotate(0deg); }

footer { position: fixed; bottom: 0; text-align: center; width: 100%; z-index: 3; }
footer a { display: inline-block; margin: 0.2em 1em; }
[active=me] footer, [active=con] footer { top: 0; bottom: unset; }

figure, h3 ~ a { width: 20%; float: left; height: 50%; padding: 0 1em 0 0; box-sizing: border-box; cursor: pointer; }
[name=ped] figure, [name=me] figure { width: 25%; }
[name=play] figure, [name=ped] figure, [name=play] h3 ~ a, [name=ped] h3 ~ a { height: 100%; }
figure span, h3 ~ a span { display: block; width: 100%; height: calc(100% - 5em); background-repeat: no-repeat; background-size: cover;
    background-position: 50% 50%; margin-bottom: 0.5em; }
figure h3, h3 ~ a h3, h4 { font-size: 2em; }

.noAnimations *, .noAnimations *::after { transition: none !important; }

form { max-width: 600px; }
form label { width: 15em; display: inline-block; }
form label[for=field_message] { position: relative; top: -8em; }
@media(max-width: 1100px) { form label[for=field_message] { position: static; } }
form small { position: static; }
form input, form textarea { margin: 0.5em 0; width: 20em; display: inline-block; }
form button { float: right; padding: 0.2em 0.7em; background-color: rgba(214, 39, 0, 1); color: #fff; border: none; }
form textarea { position: relative; left: 0.25em; resize: vertical; height: 10em; }
