/*//////////////////////////////////
//////// Marilou van Lierop ////////
//////// custom build v1.22 ////////
////////   rogez.design™    ////////
//////////////////////////////////*/

/* gold: rgba(180,160,112,.8) */
@font-face{	font-family: Voltairs; src: url('assets/fonts/Voltairs-LightCn.woff'); font-weight:normal; font-style:normal; }
@font-face{	font-family: Voltairs; src: url('assets/fonts/Voltairs-LightCnObl.woff'); font-weight:normal; font-style:italic; }
@font-face{	font-family: Voltairs; src: url('assets/fonts/Voltairs-Cn.woff'); font-weight:bold; font-style:normal; }
@font-face{	font-family: Voltairs; src: url('assets/fonts/Voltairs-Obl.woff'); font-weight:bold; font-style:italic; }
@import url('https://fonts.googleapis.com/css?family=Raleway:400,400i,700');

/* ANIMATIONS */
@keyframes blur{ from {filter:blur(20px);} to {filter:blur(0px);} }
@keyframes fadein{ from {opacity:0;} to {opacity:1;} }
@keyframes blushing{ 0% {opacity:0.8;} 10% {opacity:0.7;} 25% {opacity:0.65;} 30% {opacity:0.7;} 40% {opacity:0.75;} 55% {opacity:0.6;} 60% {opacity:0.75;} 75% {opacity:0.8;} 80% {opacity:0.85;} 100% {opacity:0.8;} }

/* MAIN FRAME */
*{ margin:0; padding:0; box-sizing:border-box; letter-spacing: 1.5px;}
body{ display:flex; font-family: "Helvetica","Arial",sans-serif; height: 100vh; width:100vw; padding: 5vh; padding-bottom: calc(5vh - 2rem) }
section#nav{ display:flex; flex-flow:column nowrap; width:30%; text-align:right; justify-content: space-between; }
main{ display:flex; flex-flow:column nowrap; justify-content:space-between; width: 65%; margin-left:5%; }

/* HEADINGS */
h1{ font-size:2.0rem; font-weight: 400;}
h2{ font-size:1.8rem; text-transform: uppercase; margin-bottom:1.2rem; }
h3{ font-size:1.3rem; margin-bottom:0.2rem;}
h4{ font-size:1.1rem; }
h5{ font-size:1rem; }
h6{ font-size:0.8rem; font-style: italic;}
p{ line-height: 1.5rem;}

/* LEFT PANE */
nav#work{ font-size:1.2rem; }
nav#work header{ height: 10vh; }
nav#info{ font-size:1.2rem; }
nav#info footer{  height:2rem; }
nav a{ display:block; text-transform: uppercase; line-height: 150%; }
nav a.title{ text-transform: lowercase; }
nav a{ display:flex; flex-flow:column nowrap; justify-content:flex-end; }
nav#sub{ padding: 0.5rem 0 1rem 0; }
nav#sub a{ text-transform: capitalize; font-size: 1rem; }
a{ color:black; text-decoration: none; }
a:hover{ color: rgb(92,134,120); }
a.active{ font-weight: bold; }

/* MOBILE MENU */
main header{ display:flex; justify-content:space-between; visibility: hidden; }
main header h1#mmenu a:hover{ cursor: pointer; }

/* RIGHT PANE */
article{ background-color: rgba(200,200,200,0.0); margin-bottom: 2.3rem; animation: blur 400ms ease-out; overflow-y:auto;}
article hr{ border-bottom:1px; margin-top:0.5rem; max-width: 200px;}
article section{ padding-top: 3rem;}
article section div.text{ padding: 0.5rem 2rem 0.5rem 0; }
article section div.text p{ padding:0.5rem 0; }
figure{ height:calc(100% - 2rem); width:100%; padding-bottom: 0.5rem; animation: blur 800ms ease-out; animation-play-state: paused;}
figure:hover{ cursor: pointer; }
figure img{  height: 100%; max-width: 100%; object-position: bottom left; object-fit: contain; }
video { max-width: 100%; height: 100%; padding-bottom: 0.6rem; object-position: bottom left; object-fit: contain; }
figcaption{ font-size:1rem; padding-top:0.3rem; padding-bottom: 0.6rem; }
figcaption footer span:nth-child(1){ font-weight: bold;}

/* DEBUG */
aside{ display: none; position: fixed; top:0; left:0; width:18vw; height: 95vh; background-color: rgba(200,200,200,0.5); margin:1vh; padding:0 1vh }

/* MEDIA QUERIES */
@media only screen and (min-height: 100px)  { html { font-size: 6px; } }
@media only screen and (min-height: 600px)  { html { font-size: 8px; } }
@media only screen and (min-height: 700px) { html { font-size: 10px; } }
@media only screen and (min-height: 800px) { html { font-size: 12px; } }
@media only screen and (min-height: 1200px) { html { font-size: 14px; } }

@media only screen and (orientation: landscape) {	
	main header{ display: none; }
	nav#mobile { display: none !important; }
	article h2{ visibility: hidden; }
	article section.text{ column-count: 2; column-gap: 0.5rem; }
}

@media only screen and (orientation: portrait) {
	body{ padding:3vh; }
	section#nav{ display:none; }	
	main{ width: 100%; margin-left:0;}
	main header{ visibility:visible; }
	nav#mobile { display:none; margin-top:2rem; margin-bottom: 2rem; }
	figure{ height:calc(100% - 3vh); }
}