/* CSS Document */

/*  
The CSS, XHTML and design is released under GPL: 
http://www.opensource.org/licenses/gpl-license.php
*/

/* abel-regular - latin */
@font-face {
  font-family: 'Abel';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/abel-v12-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/abel-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/abel-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/abel-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/abel-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/abel-v12-latin-regular.svg#Abel') format('svg'); /* Legacy iOS */
}


body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: Abel;
}

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	display: block;
}

h1 {
	padding: 1rem;
	background: rgba(0,0,0,.8);
	display: inline-block;
	color: white;
	font-weight: normal;
	font-size: 2.5rem;
white-space: nowrap;
	margin: 0 0 2rem;

}

figure {
	padding-top: 1px;
	width: 60vw;
	height: 60vw;
	border-radius: 30vw;
	margin: -5vw auto 5vw 15vw;
	position: relative;
	background: url("images/Ritesh-Nigam.jpg");
	background-size: 100% auto;
}

figcaption {
	margin-left: -10vw;
	width: 26vw;
	margin-top: 15vw;
		border-left: 1px solid black;
}

figcaption a, footer a {
	text-decoration: underline;
}

figcaption a:hover {
	background: black ;
	color: white;
}

nav {
	position: absolute;
	left: 65vw;
	background: black;
	top: 9rem;
	color: white;
	z-index: 1000;
}

nav ul {
	white-space: nowrap;
	margin: 0;
	padding: 1rem 2rem 1rem 1rem;
	list-style: none;
	font-size: 1.25rem;
}

nav ul li {
	
}

nav ul li a {
	color: inherit;
}

p {
	margin: 0 0 1.25rem;
}

figure img {
	width: 100%;
	height: auto;
}


/* The element to apply the animation to */
figure {
	filter: hue-rotate(360deg);
	  animation-name: colorGradate;
  animation-duration: 25s;
	animation-fill-mode: forwards;
}

@keyframes colorGradate {
  from {filter: hue-rotate(0deg);}
  to {filter: hue-rotate(360deg);}
}
.highlighted {
	background: white;

}

.subnav {
margin: 0;
	position: absolute;
	top: 25vw;
	left: 65vw;
}

.subnav.tags ul {
	display: flex;
	flex-flow: row wrap;
}

.subnav.tags ul li {
	margin-right: .75rem;
}

form.searchform {
	background: black;
	color: white;
	padding: .5rem;
}

hr.vert {
	display: block;
	height: 100%;
	width: 1px;
	background: black;
	color: black;
	position: fixed;
	top: 0;
	left: 65vw;
	border: none;
	margin: 0;
	z-index: 201;
}


.subnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.subnav ul li {
margin: 0 0 .5rem;
}

.subnav ul li a {
	background: white;
	color: black;
	border: 2px solid black;
	padding: .5rem .75rem;
	display: inline-block;
}

.subnav ul li a:hover {
	filter: invert();
}

footer {
	border-top: 3px solid black;
	justify-content: space-between;
	width: auto;
	position: relative;
	display: flex;
}

.credits {
	padding: 5vw;
	width: 65vw;
	flex-shrink: 0;
}

controls {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #e2e2e2;

	width: 35vw;
}

.pointer {
	display: none;
}

body.dark {
	background: black;
	color: white;
}

body.dark .highlighted {
	/*filter: invert();*/
	color: black;
}

.toggle-bg {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
}

body.dark controls {
	background: #4d4d4d;
}

body.dark hr {
	color: white !important;
	background: white !important;
}

body.dark footer {
	border-top: 3px solid white;
}

main {position: relative;}

article {
	width: 65vw;
	padding: 0 5vw 5vw;
	font-family: "Abel", Georgia;
	font-weight: 400;
	line-height: 1.45;
	flex-shrink: 0;
	/*font-variant-caps: small-caps;*/
  font-feature-settings: "salt", "dlig", "liga";
}

article h1 {
	font-size: 2.25rem;
	font-family: Abel;
	line-height: 1.2;
	white-space: normal;
	background: transparent;
	color: black;
	padding: 0;
	margin: 0 0 1.5rem;
	word-spacing: -25%;;
}

.pull-quote {
	position: absolute;
	left: 65vw;
	width: 35vw;
	font-size: 2rem;
	font-family: "Abel";
	padding:  1rem;
	background: black;
	color: white;
	line-height: 1.2;
}

@keyframes backgroundBlacktoPurple {
  from {background: #000000;}
  to {background: #d203cde;}
}

.pull-quote {
	  animation-name: backgroundBlacktoPurple;
  animation-duration: 6s;
	animation-fill-mode: forwards;
}



q:before {
  content: "";
}

q:after {
  content: "";
}

.arrow-down {
	width: 3rem;
	display: block;
	position: relative;
	left: -1px;
}

.arrow-down img {
	width: 100%;
	height: auto;
}
