article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
*,
*::after,
*::before {
	box-sizing: border-box;
}

.debug {
	transform: scale(0.5);
}

.debug * {
	outline: 1px solid red;
	opacity: 0.9;
}

html, body {
	height: 100%;
}

:root {
	font-size: 15px;
}

body:before{
	content:'';

}

body {
	--color-text: #5d5d5d;
	--color-link: #838288;
	--color-link-hover: #000;
	--color-number: #000;
	--color-title: #000;
	--color-caption: #000;
	--color-content: #000;
	--color-white: #FFF;
	--color-content-bg: var(--color-bg);
	--color-reveal-bg: var(--color-bg);
	color: var(--color-text);
	font-family: transat-text, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	background-color: #CDEEFB;



}


/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-image: url(../img/bg_celeste.jpg);
	background-color:#cdeefb;
}

.js .loading::after {
	content: '';
	width:150px;
	height:150px;
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	right:0;
	margin:auto;
	background:url(../img/loader.gif);
	background-size:100% auto;
	z-index:9999999;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}

main {
	position: relative;
	min-height: 100vh;
}

.frame {
	padding: 3rem 5vw 0;
	text-align: center;
	position: relative;
	z-index: 100;
}

.frame__title {
	font-size: 1rem;
	margin: 0 0 1rem;
}

.frame__links a {
	margin: 0 0.5rem;
}

.frame__mode {
	margin: 1rem auto;
	display: flex;
	justify-content: center;
}

.frame__mode-item {
	position: relative;
	width: 20px;
	height: 20px;
	margin: 0 0.25rem;
	pointer-events: auto;
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	border: 1px solid var(--color-text);
}

.frame__mode-item--dark {
	background: #000;
}

.frame__mode-label,
.frame__mode-input {
	font-size: 0;
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.content {
	position: relative;
}

.content__item {
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	color: var(--color-content);
	background: var(--color-content-bg);
}

.js .content__item {
	opacity: 0;
	pointer-events: none;
	height:0;
	overflow:hidden;
}

.js .content__item--current {
	opacity: 1;
	pointer-events: auto;
	height:auto;
	overflow:visible;
}

.content__item-header {
	position: relative;
}
.content__item-header .number {
	font-family: 'Abril Fatface', cursive;
	font-weight:400;
	color: var(--color-white);
	-webkit-text-stroke: 4px var(--color-white);
	letter-spacing:15px;

}
.content__item-header-title {
	font-family: 'Abril Fatface', cursive;
	font-weight: 400;
	font-size: 3rem;
	margin: 0;
	color: transparent;
	-webkit-text-stroke:4px var(--color-white);
	letter-spacing:15px;
}

.content__item-header-meta {
	text-indent: 0.25rem;
	display: block;
	color: var(--color-content-meta);
}

.dark-mode .content__item-header-meta {
	mix-blend-mode: difference;
}

.content__item-header-meta::before {
	content: '---------';
	margin: 0 0.5rem 0 0;
	letter-spacing: -0.15rem;
}

.content__item-copy {
	padding: 1rem;
}
.content__item-copy-more {
	display: inline-block;

}

.content__item-copy-more ul li { display:inline;margin: 0 5px;}
.content__item-copy-more ul {margin: 0;padding: 0}
.content__item-copy-more ul li img { width: 45px;}

.revealer {
	position: fixed;
	top: 0;
	left: 0;
	transform: rotate(0deg);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.revealer__inner {
	background-size: cover;
	background-image: url(../img/bg_celeste.jpg);
	width: 200%;
	height: 200%;
	position: relative;
	flex: none;
}

.grid {
	position: absolute;
	display: grid;
	height: 400px;
	width: 100%;
	left: 0;
	top: 0;
	grid-template-columns: 30% 30% 30%;
	grid-column-gap: 5%;
	grid-template-areas: 'griditem-left griditem-center griditem-right';
}

.grid--slideshow,
.grid--interaction {
	left: -5%;
	width: 110%;
	pointer-events: none;
}

.grid--slideshow {
	top: 17rem;
	transform: rotate(-8deg);
}

.grid--titles {
	align-items: center;
	text-align: center;
	cursor: default;
}

.titles-wrap {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1000;
	pointer-events: none;

}

.grid__item {
	display: flex;
	justify-content: center;
	position: relative;
	pointer-events: none;
	opacity: 0;
	grid-area: griditem-center;
}

.grid__item--slide {
	flex-direction: column;
	width: 100%;
}

.grid__item--title {
	font-size: 4.5rem;
	-webkit-text-stroke: 3px #fff;
	text-stroke: 3px #fff;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
	color: transparent;
	line-height: 1;
	margin: 0 0 0.5rem 0;
	font-weight: 400;
	font-family: 'Abril Fatface', cursive;
	text-transform: uppercase;
	letter-spacing: 15px;
}

.grid__item--title span {
	display: inline-block;
}

.grid__item--center,
.grid__item--left,
.grid__item--right {
	opacity: 1;
	cursor: pointer;
}

.grid__item--left {
	grid-area: griditem-left;
}

.grid__item--center {
	grid-area: griditem-center;
}

.grid__item--right {
	grid-area: griditem-right;
}

.grid__item--cursor {
	pointer-events: auto;
}

.content-open .grid__item--cursor {
	display: none;
}

.number {
	font-size: 5rem;
	-webkit-text-stroke: 3px var(--color-number);
    text-stroke:3px var(--color-number);
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
    font-family: 'Abril Fatface', cursive;
    letter-spacing:15px;
}


.image-side {
	position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    border-style: solid;
    border-width: 2.2px;
    border-color: #000;
    background-color:#adbaec;
    -webkit-transform: translate(.9vw,.9vw);
    -ms-transform: translate(.9vw,.9vw);
    transform: translate(.9vw,.9vw);
		border-radius: 10px;
}

.image-side.side {
    z-index: 1;
    -webkit-transform: translate(1.6vw,1.6vw);
    -ms-transform: translate(1.6vw,1.6vw);
    transform: translate(1.6vw,1.6vw);
}

.img-face {
	position: absolute;
		left: 0;
		top:0;
		right: 0;
		bottom: 0;
		z-index: 3;
		border-style: solid;
		border-width: 2.2px;
		border-color: #000;
		background-color:#fff;
		border-radius: 10px;
		overflow: hidden;

}
.img-face img {}

.img-wrap {
	width: 100%;
	position: relative;
	height: 100%;
	padding: 10px;

}

/*.img-wrap--content {
	height: 200px;
}*/

.img {
	height: 100%;
	width: 100%;
	top: 0;
	background-size: cover;
	background-position: 50% 50%;
	position: absolute;
	z-index: 3;
	pointer-events: none;
	border:10px solid #fff;
	border-radius: 20px;
	overflow:hidden;
}

.img--content {
	background-position: 50% 38%;
	background-size:100% auto;
	background-repeat:no-repeat;
}

.caption {
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	font-size: 0.9rem;
	margin: 0.75rem 0 0 0;
	color: var(--color-caption);
	position: relative;
	font-family: 'Open Sans', sans-serif;
	font-weight:900;
}

h4,
h3{
	font-family: 'Open Sans', sans-serif;
	font-weight:900;
	font-size:0.9rem;
	text-transform:uppercase;
}

.grid__item--slide .caption{top:30px;}

.content__item-copy .caption{top:10px;}

.content__item-copy-text{
	font-family: 'Merriweather', serif;
	font-weight:400;
	font-size:0.8em;
	line-height:16px;
	width: 100%;
}

.img-wrap,
.img--content,
.caption,
.number,
.grid__item--title,
.grid__item--title span,
.revealer__inner,
.content__item-header-title {
	will-change: transform;
}

.grid__item--cursor.grid__item--left::after,
.grid__item--cursor.grid__item--right::after,
.img-wrap--content::after {
	position: absolute;
	left: calc(50% - 30px);
	cursor: pointer;
}

.grid__item--cursor.grid__item--left::after {
	top: 70%;
}

.grid__item--cursor.grid__item--right::after {
	top: 20%;
}



.img-wrap--content::after {
	top: 0.5rem;
	right: 0.5rem;
	left: auto;
	transform: scale(0.5);
	content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='52px' height='52px' viewBox='0 0 52 52' style='enable-background:new 0 0 52 52;' xml:space='preserve'%3E %3Cpath  d='M20.921 26.67L5.791 41.75C5.485 41.743.23 36.488.224 36.18L15.32 21.073.098 5.86 5.74.22l15.19 15.24L36.161.22l5.64 5.64-15.27 15.22 15.097 15.15c-.006.307-5.262 5.562-5.569 5.568L20.921 26.67z'/%3E %3C/svg%3E");
}

.copyright {position: absolute; bottom: 20px;right: 30px;}
.copyright h2 {
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	font-size: 0.9rem;
	font-weight: 700;
	color:#000;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
}
.copyright h2 a {color: #000;font-weight: 900; position:relative; text-decoration:none;}
.copyright h2 a::before{width:100%; height:2px; background:#000000; position:absolute; bottom:0; left:0; right:0; margin:auto; content:''; transition:all 0.35s ease-in-out; -webkit-transition:all 0.35s ease-in-out;}
.copyright h2 a:hover::before{width:0;}


.copyright h3 {font-size:12px; margin:0;color: #fff; margin:10px 0 0; text-align:right;}

.copyright h3 a{color:#FFFFFF; text-decoration:none; position:relative;}
.copyright h3 a::before{width:100%; height:2px; background:#FFFFFF; position:absolute; bottom:0; left:0; right:0; margin:auto; content:''; transition:all 0.35s ease-in-out; -webkit-transition:all 0.35s ease-in-out;}
.copyright h3 a:hover::before{width:0;}

/*Isma Styles*/
.center_content{width:900px; height:560px;}

.grid__item--cursor.grid__item--left span,
.grid__item--cursor.grid__item--right span{display:none;}

/*Modal*/
.modal{width:100%; height:100%; position:fixed; top:0; left:0; background:#FFFFFF; pointer-events:none; z-index:9999; transform:translateY(-101%) rotate(0deg); -webkit-transform:translateY(-101%) rotate(0deg); transition:all 0.5s ease-in-out; -webkit-transition:all 0.5s ease-in-out; will-change:transform; display:flex; justify-content:center; text-align:center; flex-direction:column;}
.modal.show{transform:translateY(0) rotate(0deg); -webkit-transform:translateY(0) rotate(0deg); pointer-events:all;}

	/*Overflow*/
	html.show,
	body.show{overflow:hidden;}

	/*Btn close*/
	.modal .btn_close{width:50px; height:50px; position:absolute; top:30px; right:30px; font-size:0; background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='52px' height='52px' viewBox='0 0 52 52' style='enable-background:new 0 0 52 52;' xml:space='preserve'%3E %3Cpath  d='M20.921 26.67L5.791 41.75C5.485 41.743.23 36.488.224 36.18L15.32 21.073.098 5.86 5.74.22l15.19 15.24L36.161.22l5.64 5.64-15.27 15.22 15.097 15.15c-.006.307-5.262 5.562-5.569 5.568L20.921 26.67z'/%3E %3C/svg%3E"); background-size:100% auto;}

	/*Information*/
	.modal .content_information{width:800px; margin:0 auto;}

		.modal .content_information h3{width:100%; display:block; font-family: 'Abril Fatface', cursive; font-size:3em;letter-spacing: 20px;-webkit-text-stroke:2px #000; text-stroke:2px #000;color: transparent}

		.modal .content_information p{width:100%; display:block; font-family: 'Merriweather', serif; font-size:0.8em; color:#333333; margin:0 0 10px; line-height:1.5; letter-spacing:1px;}

@media (max-width: 1100px) {
	.grid__item--title{font-size:3rem; -webkit-text-stroke:2px #fff; text-stroke:2px #fff;}

	.grid__item--cursor.grid__item--left span{display:block; width:60px; height:37px; position:absolute; top:0; bottom:0; right:0; margin:auto 0; background-image:url(../img/arrow_left.svg); background-size:100% auto; content:'';}

	.grid__item--cursor.grid__item--right span{display:block; width:60px; height:37px; position:absolute; top:0; bottom:0; left:0; margin:auto 0; background-image:url(../img/arrow_right.svg); background-size:100% auto; content:'';}
}

@media (max-width: 1000px) {
	.content{
		width:100%;
	}
	.center_content{
		width:100%;
		padding:20px;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
	}
	main{overflow-x:hidden; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;}

	.content__item-header-title{-webkit-text-stroke: 2px var(--color-white);  text-stroke: 2px var(--color-white); text-transform:uppercase;}

	.revealer__inner{background-image:url(../img/bg_celeste_mobile.jpg); background-size:cover; background-repeat:no-repeat; background-position:top left;}

	.grid__item--title{display:none;}

	.grid--slideshow, .grid--interaction{width:130%; left:-15%;}

	.grid{height:300px;}

	.grid--slideshow{top:15rem;}

	.number{font-size:2rem; -webkit-text-stroke: 2px var(--color-number); text-stroke: 2px var(--color-number);}

	.content__item-header .number{font-size:2rem; -webkit-text-stroke: 2px var(--color-white);}

	.copyright{display:none;}

	.img-wrap--content::after{pointer-events:none; top:20px; right:20px;}

	.js .content__item--current,
	.js .content__item{scroll-behavior: smooth; -webkit-overflow-scrolling: touch;}

	.modal .content_information{width:100%; padding:0 20px;}

}

@media screen and (min-width: 53em) {
	body {
		overflow: hidden;
	}

	.frame {
		position: fixed;
		bottom: 0;
		right: 0;
		padding: 1rem;
		transition: 0.3s opacity;
	}
	.content-open + .frame {
		opacity: 0;
		pointer-events: none;
	}
	.frame__title-wrap {
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
	.frame__title {
		margin: 0;
	}
	.frame__links {
		margin: 0 1.5rem;
	}
	.frame__mode {
		margin: 0;
	}
	.frame a {
		pointer-events: auto;
	}
	.grid {
		height: 100vh;
		grid-template-columns: repeat(3, calc((100% - 36vw) / 3));
		grid-column-gap: 18vw;
	}
	.grid--slideshow {
		top: 0;
	}
	.grid--interaction {
		grid-template-columns: repeat(3, calc(100% / 3));
		grid-column-gap: 0;
	}
	.number {
		/*font-size: 4.25vw;*/
	}
	.img-wrap {
		height: 35vw;
	}
	.content .img-wrap{
		height:100%;
	}
	.img-wrap--content {
		width: 330px;
		float: left;
		margin-right: 80px;
	}
	.content {
		top: 0;
		position: absolute;
		height: 100vh;
		width: 100%;
	}
	.content__item {
		display: grid;
		align-items: center;
		grid-template-columns: 30% 40% 30%;
		grid-column-gap: 0;
	}
	.js .content__item {
		height: 100%;
	}
	.js .content__item--current {
		top: 0;
    	left: 0;
    	display: flex;
    	flex-direction: column;
    	justify-content: center;
    	overflow-y:auto;
	}
	.img-wrap.img-wrap--content {
		cursor: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='52px' height='52px' viewBox='0 0 52 52' style='enable-background:new 0 0 52 52;' xml:space='preserve'%3E %3Cpath  d='M20.921 26.67L5.791 41.75C5.485 41.743.23 36.488.224 36.18L15.32 21.073.098 5.86 5.74.22l15.19 15.24L36.161.22l5.64 5.64-15.27 15.22 15.097 15.15c-.006.307-5.262 5.562-5.569 5.568L20.921 26.67z'/%3E %3C/svg%3E") 21 21, pointer;
	}
	.content__item-header {
		justify-self: center;
		grid-area: 2 / 2 / 2 / 3;
		pointer-events: none;
	}
	.content__item-header-title {
		font-size: 5vw;
		margin: 0;
		-webkit-text-fill-color:transparent;
		text-transform: uppercase;
		line-height:70px;
	}

	.content__item-header-position {
		text-transform: uppercase;
	}
	.content__item-copy {
		text-align: left;

	}
	.grid__item--cursor.grid__item--left::after,
	.grid__item--cursor.grid__item--right::after,
	.img-wrap--content::after {
		display: none;
	}
	.grid__item--cursor.grid__item--left {
		cursor: url(../img/arrow_left.svg), url(../img/left.cur), pointer;
	}
	.grid__item--cursor.grid__item--center {
		cursor: url(../img/open.svg), url(../img/open.cur), pointer;

	}
	.grid__item--cursor.grid__item--right {
		cursor: url(../img/arrow_right.svg), url(../img/right.cur), pointer;
	}


.content {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;

    height: 100vh;

    background: none;
    color: #fff;
    text-align: center;
}
.content:before {
        content: "";

        z-index: 100;
        position: absolute;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        background: url('https://i.stack.imgur.com/8Jeyb.png');
				opacity: 0.7;

        animation:1s infinite noise;

        pointer-events: none;
    }


@keyframes noise {
    0%, 100% {
        background-position: 0 0;
    }

    10% {
        background-position: -5% -10%;
    }

    20% {
        background-position: -15% 5%;
    }

    30% {
        background-position: 7% -25%;
    }

    40% {
        background-position: 20% 25%;
    }

    50% {
        background-position: -25% 10%;
    }

    60% {
        background-position: 15% 5%;
    }

    70% {
        background-position: 0% 15%;
    }

    80% {
        background-position: 25% 35%;
    }

    90% {
        background-position: -10% 10%;
    }
}
