
/*Happy Times at the IKOB by Lucas Le Bihan (Velvetyne.fr)*/

@font-face {
	font-family: "Happy Times";
	font-style: normal;
	src: url("../fonts/happy-times-at-the-ikob-webfont.woff") format("woff"),
		 url("../fonts/happy-times-at-the-ikob-webfont.woff2") format("woff2");
}

@font-face {
	font-family: "Happy Times";
	font-style: italic;
	src: url("../fonts/happy-times-at-the-ikob_italic-webfont.woff") format("woff"),
		 url("../fonts/happy-times-at-the-ikob_italic-webfont.woff2") format("woff2");
}



@keyframes flicker-txt {
	0% {opacity: 0.4}
	50% {opacity: 1}
	100% {opacity: 0.4}
}

@keyframes flicker-img {
	0% {opacity: 0.6}
	50% {opacity: 1}
	100% {opacity: 0.6}
}

@keyframes back-n-forth {
	0% {right: 0; opacity: 0.6}
	30% {right: 1rem; opacity: 1}
	100% {right: 0; opacity: 0.6}
}


/*STRUCTURE*/

* {
	font-family: serif;
	font-size: 18px;
}

::-webkit-scrollbar {
    width: 0.25rem;
    height: 0.25rem;
    background-color: white;
}
::-webkit-scrollbar-thumb {
    background-color: white;
}

::-moz-selection {
  color: rgba(255,255,255,1);
  background-color: rgba(0,0,0,0.99);
}
::selection {
  color: rgba(255,255,255,1);
  background-color: rgba(0,0,0,0.99);
}

.wrapper.main {
	position: relative;
	display: none;
}

.column {
	position: absolute;
	height: calc(100vh - 4rem);
	top: 100vh;
	padding: 2rem;

	overflow: auto;
}

.column.left {
	left: 0;
	width: calc(50vw - 4rem);
}

.column.right {
	right: 0;
	width: calc(50vw - 4rem);
}

.content {
	display: none;
}

.content.main {
	display: inline;
}

.three-columns {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 2rem;
	grid-row-gap: 0rem;
}





/*CURSOR*/

a,
p.a,
span.a,
span.b,
img.main,
img.extra {
	
	cursor: alias;
}





/*TYPOGRAPHY*/

p,
.header {
	margin: 0rem 0rem 2rem 0rem;
}

.header,
p.a,
p.main.title, 
p.main.date,
.page-title,
li,
span.a,
span.b,
span.date,
.b.works-list {
 	font-size: 2rem;
 	line-height: 2.5rem;
}

p.main,
span.date {
	display: none;
}

p.main.title, 
p.main.date,
ul, 
a, 
span.a,
span.b,
.page-title {
	margin: 0;
}

p.a,
.b.works-list {
	margin-bottom: 0;
}

p.a {
	margin-top: 0rem;
}

p.main.date {
	margin-bottom: 2rem;
}

.works.date,
span.date,
p.main-works,
.afterword {
	font-style: italic;
}

.works.caption {
	margin-top: -0.5rem;
}


a {
	color: black;
}

a.to-vernacular,
a.to-da-ge,
a.to-seminars,
a.to-rave {
	text-decoration: underline;
}



.page-title {
	display: inline;
}



span.da-ge {
	font-size: 1.7rem;
	font-family: serif;
}




ul {
	list-style-type: none;
}




/*HOVER STUFF*/

li:hover span.date, 
span.b:hover span.date,
span.works.date {
	display: inline;
}

a:hover, 
p.a:hover, 
span.a:hover,
span.b:hover {
	font-style: italic;
    
    animation: flicker-txt 600ms linear 0s infinite normal;

    transition-duration: 0.3s
}


.page-title:hover {
	font-style: italic;
}


img.main:hover,
img.extra:hover {
    animation: flicker-img 600ms linear 0s infinite normal;
}



/*IMAGES*/

img {
	width: 100%;
	margin: 0;
}

img.main,
img.extra {
	margin-bottom: 2rem;
}

img.works {
	margin: 1rem 0rem 1rem 0rem;
}


iframe {
	width: 100%;
	height: 25vw;
	margin: 0rem 0rem 1rem 0rem;
}

img.wink {
	width: 1.5rem;
	margin-bottom: -1pt;
}




/*MARGINS AND INDENTS*/

p.a {
	margin-left: -0.25rem;
}

.b.works-list {
	margin-left: 4rem;
}

.poem {
	/*margin-left: 2rem;*/
}

.margin-top {
	margin-top: 0.75rem;
}

.no-top-margin {
	margin: 0rem 0rem 1rem 0rem;
}

#no-bottom-margin {
	margin-bottom: 0rem;
}



/*CLASSES FOR JS*/

.visible {
	display: inline;
}

.flicker-txt {
	font-style: italic;
    animation: flicker-txt 600ms linear 0s infinite normal;
}

.flicker-img {
    animation: flicker-img 600ms linear 0s infinite normal;
}



/* LANDING */


html {
	scroll-behavior: smooth;
}

.wrapper {
	position: absolute;
	width: calc(100vw - 0.25rem);
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;

	overflow: auto;
}

.page {
	position: relative;
	width: calc(100vw - 4.25rem);
	height: calc(100vh - 4rem);

	margin-bottom: 100vh;
	padding: 2rem;
}

#end {
	margin-bottom: 0;
}

.landing.header {
	font-size: 4rem;
	line-height: 4rem;
}

.landing.header.full-site {
	position: absolute;
	bottom: 0;
	right: 2rem;
	text-align: right;
}

.landing.bg-img-wrapper {
	position: absolute;
	width: calc(100vw - 8rem);
	height: calc(100vh - 8rem);
	top: 0;
	left: 0;
	margin: 4rem;

	text-align: center;

	z-index: -100;
}

img.bg-img {
	display: none;
	height: 100%;
	width: auto;
	margin: auto;
}



div.module {
	position: absolute;
	width: calc(100vw - 8rem);
	height: calc(100vh - 8rem);
	top: 0;
	left: 0;
	margin: 4rem;

	overflow: auto;
	white-space: nowrap;

	/*border: 1px solid black;*/
}

.blank {
	width: 100%;
	height: calc(100%);
}

img.module {
	height: calc(100% - 0.3rem);
	width: auto;
	margin-right: 2rem;
}

img.module.gif {
	height: calc(60% - 0.3rem);
}

#no-margin-right {
	margin-right: 0;
}

iframe.ty {
	margin-top: -24rem;
}

.wink.land {
	width: 3rem;
}

.wink.end {
	position: absolute;
	width: 24rem;
	top: calc(47vh - 12rem);
	left: calc(50vw - 12rem);
}



a.next {
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0rem 1rem -1rem 0rem;

	font-size: 4rem;
	text-decoration: none;
}

a.back {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0rem 0rem 1.5rem 2rem;

	font-size: 1rem;
	font-style: italic;
	text-decoration: none;
	/*border-bottom: 2px solid black;*/
}

a.restart {
	display: block;
	position: absolute;
	top: 2rem;
	right: 2rem;
	margin: 0rem 0rem 0rem 0rem;

	font-size: 1rem;
	font-style: italic;
	text-decoration: none;
}

a.end {
	text-decoration: none;
	border-bottom: 3px solid black;
}

a.grave {
	text-decoration: none;
	margin-bottom: 2rem;
	margin-right: 2rem;
	/*margin-left: 2rem;*/
}

a.next:hover {
	font-style: normal;

    animation: back-n-forth 600ms linear 0s infinite normal;
}

.italic {
	font-style: italic;
}

.landing.cat.text {
	position: absolute;
	bottom: 0rem;
	left: 2rem;
}

.landing.cat {
	font-size: 3rem;
	line-height: 3rem;
}

.cat-hovering {
	background-color: black;
	color: white;
}


@media only screen and (max-width: 1000px) {

	.page-title, 
	p.b.works-list, 
	p.a,
	li, 
	span.b, 
	span.date, 
	a.page-title,
	.header {
		font-size: 1.75rem;
		line-height: 2.2rem;
	}

	span.da-ge {
		font-size: 1.4rem;
	}

	.three-columns {
		grid-template-columns: 1fr 1fr;
	}

	.b.works-list {
		margin-left: 3.5rem;
	}
}

@media only screen and (max-width: 660px) {

	.page-title, 
	p.b.works-list, 
	p.a,
	li, 
	span.b, 
	span.date, 
	a.page-title,
	.header {
		font-size: 1.5rem;
		line-height: 1.87rem;
	}

	p,
	.header {
		margin: 0rem 0rem 1.5rem 0rem;
	}

	p.a {
		margin-left: -0.7rem;
	}

	.b.works-list {
		margin-left: 2.5rem;
	}

	span.da-ge {
		font-size: 1.2rem;
	}

	.column {
		padding: 0rem;
	}

	.column.left,
	.column.right {
		width: calc(100vw - 3rem);
	}

	.column.left {
		height: calc(35vh - 2.25rem);
		top: 0;
		margin-bottom: 0.75rem;
		padding: 1.5rem 1.5rem 0rem 1.5rem;
	}

	.column.right {
		height: calc(65vh - 2.25rem);
		top: 35vh;
		margin-top: 0.75rem;
		padding: 0rem 1.5rem 1.5rem 1.5rem;
	}

	img.main {
		margin-bottom: 1.5rem;
	}

	img.works {
		margin: 0.75rem 0rem 0.75rem 0rem;
	}

	.poem {
		/*margin-left: 1.5rem;*/
	}

	img.no-top-margin {
		margin: 0rem 0rem 0.75rem 0rem;
	}

	#no-bottom-margin {
		margin-bottom: 4.5rem;
	}

	iframe {
		margin: 0rem 0rem 0.75rem 0rem;
	}

	img.wink {
		width: 1.2rem;
	}

	.three-columns {
		grid-column-gap: 1.5rem;
	}
}




