*,
*::after,
*::before {
	box-sizing: border-box;
}
unicode{unicode-bidi: bidi-override; unicode-bidi: embed; unicode-bidi: -webkit-isolate;
    unicode-bidi: -moz-isolate; unicode-bidi: -ms-isolate; unicode-bidi:
    isolate; direction: ltr;}

body {
	font-family: 'Cairo', 'Lucida Sans Unicode', 'Lucida Sans', 'DejaVu Sans', Verdana, 'sans-serif';
	color: #3f3f45;
	 z-index: 999;
	background-color:#d7dfe8;
	transition: background-color 0.8s;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;	
    top:0;
    left:0;
    width:100%;
 
}

a {
	color: #ffffff;
	font-size: 20!important;
	outline: none;
	display: inline-block;
	position: relative;
	text-decoration:underline;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
    text-decoration:none;

}
.link{font-size: 17px!important;}
.button {
	font-weight: 700;
	font-size: 20px;
	margin-top:2em;
	margin-left: 50px;
	width: 20%;
	height: 100px;
color: white;
  text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255,255, 0.2);
	

}

.button:hover {
  
	background-color: rgba(255, 255, 255, 0.0);
	
	box-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);
	
}



.button span {

  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {

  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

a.link::after {
	content: '';
	position: absolute;
	top: 105%;
	width: 100%;
	border-bottom: 2px solid;
	left: 0;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
	transition: opacity 0.2s, -webkit-transform 0.2s;
}

a.link:hover::after {
	opacity: 0;
	-webkit-transform: translate3d(0,3px,0);
	transform: translate3d(0,3px,0);
}

a:hover,
a:focus {
	text-decoration: none;
	color: #3a8dde;
}

main {
	position:absolute;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	overflow:hidden;
	width: 100%;
	height: 100%;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}


/* Icons */

.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}


/* Header */

.codrops-header {
	position: relative;
	z-index: 1000;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-flex: none;
	-ms-flex: none;
	flex: none;
	width: 100%;
	padding: 0.5em 1.25em 0.5em 0.75em;
	background-image: url(../img/header.svg);
	background: #fff;
}

.codrops-header__main {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.codrops-header__title {
	font-size: 1.5em;
	font-weight: 700;
	margin: 0;
	line-height: 0.8;
	padding: 0 0 0.1em 0;
}

.codrops-header__tagline {
	font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
	padding: 0 0.5em 0 5vw;
	margin: 0 auto 0 0;
}

/* Top Navigation Style */

.codrops-links {
	position: relative;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

.codrops-links::after {
	content: '';
	position: absolute;
	top: 15%;
	left: 50%;
	width: 2px;
	height: 70%;
	opacity: 0.7;
	background: rgba(0, 0, 0, 0.25);
	-webkit-transform: rotate3d(0, 0, 1, 22.5deg);
	transform: rotate3d(0, 0, 1, 22.5deg);
}

.codrops-icon {
	display: inline-block;
	margin: 0.5em;
	padding: 0.5em;
}

/* Demo links */

.codrops-demos {
	margin: 0.25em 0;
	padding: 0 1em;
	font-weight: bold;
}

.codrops-demos a {
	display: inline-block;
	margin: 0 0.5em 0 0;
}

.codrops-demos a.current-demo {
	color: #333;
}

.codrops-demos a.current-demo::after {
	display: none;
}


/* Calendar */

.calendar-wrap {
	position:relative;
	
	
	
}

.disable{
	pointer-events: none;
	cursor:pointer;
	display: inline-block;
	position: static;
	
	

}

.js .calendar-wrap {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.calendar {
	position: relative;
	width: 100%;
	height: 100%;
	
	margin: 0 auto;
	overflow:visible;
	/* we always want 7 boxes in a row */
	padding: 0em calc((100vw - (7 * (7vw + 1vw)))/2);
}

.js .calendar {
	position:relative;
	-webkit-perspective: 1000px;
	perspective: 1000px;
	margin-left: 0px;
	
	
	padding: 0 calc((62vw - (3 * (5vw + 1vw)))/2) 8em;
}

.no-js .calendar {
	
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	
}


/* Cubes container */

.cubes {
	display: -webkit-flex;
	display: -ms-flexbox;
	display:flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}


/* Single cube */

.cube {
	position: relative;
	display: block;
	-webkit-flex: none;
	-ms-flex: none;
	flex: none;
	width: 7vw;
	height: 7vw;
	margin: 0.5vw;
}

.js .cube {
	-webkit-flex: auto;
	-ms-flex: auto;
	flex: auto;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}


/* push to the right weekday (we have to push 3 boxes) */

.js .cube:nth-child(5) {
	margin-left: calc(((7vw + 1vw) * 2) + 0.5vw);
}

.js .cube:not(.cube--inactive) {
	cursor: pointer;
}


/* cube sides and rotations */

.cube__side {
	position: absolute;
	top: 0;
	left: 0;
	width: inherit;
	height: inherit;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.cube__side--front {
	position: relative;
	-webkit-transform: translateZ(3.5vw);
	transform: translateZ(3.5vw);
}

.cube__side--back {
	-webkit-transform: rotateY(180deg) translateZ(3.5vw);
	transform: rotateY(180deg) translateZ(3.5vw);
}

.cube__side--right {
	-webkit-transform: rotateY(90deg) translateZ(3.5vw);
	transform: rotateY(90deg) translateZ(3.5vw);
}

.cube__side--left {
	-webkit-transform: rotateY(-90deg) translateZ(3.5vw);
	transform: rotateY(-90deg) translateZ(3.5vw);
}

.cube__side--top {
	-webkit-transform: rotateX(90deg) translateZ(3.5vw);
	transform: rotateX(90deg) translateZ(3.5vw);
}

.cube__side--bottom {
	-webkit-transform: rotateX(-90deg) translateZ(3.5vw);
	transform: rotateX(-90deg) translateZ(3.5vw);
}


/* Cube counters and numbers */


/* Without JS we want an auto counter */

.no-js .calendar {
	counter-reset: boxes-counter;
}

.no-js .cube {
	counter-increment: boxes-counter;
}

.no-js .cube::after {
	content: counter(boxes-counter);
}

.cube__number,
.no-js .cube::after {
	position: absolute;
	right: 0;
	bottom: 0;
   
    
}


/* title that appears on hover */

.title {
	font-family: "Cairo", "Haettenschweiler", "Franklin Gothic Bold", "Arial Black", "sans-serif";
	font-size: 3.25vw;
	font-weight: 700;
	position:relative;
	right: 3vw;
	bottom: 3vw;
	padding-top:100px;
	color: aliceblue;
    letter-spacing: -1px;
	white-space: wrap;
	pointer-events: none;
	opacity: 0;
}


/* number before title */

.title::before {
	content: attr(data-number);
	display: inline-block;
	margin-left: 0.5em;
	color: white;
}


/* letter span for animations */
/*
[class*='letter'] {
	position: relative;
	display: inline-block;
	white-space: pre;
}

[class*='letter']:blank {
	padding-right: 10em;
}


/* content wrap */

.content {

	
	position:relative;

}


/* canvas for snow */

.background {
	position:relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	transition: background-color 0.8s;
}

.js .content {
	
	position:absolute;
	top: 0;
	left: -10%;
	width: 100%;
	height: 100%;
	overflow-y: hidden;
	pointer-events: none;
	
}


/* individual content block */

.content__block {
	
	padding: 10vh 5vw;
	
}


.js .content__block {
	
	position:absolute;
	z-index: 100;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:flex;
	-webkit-flex-direction: column;
	-ms-flex-direction:column;
	flex-direction: column;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 85%;
	height: 100%;
	padding: 3em 0 6em 6vw;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;

	
   
}

.content__title {
  
	font-family:"Cairo", "Haettenschweiler", "Franklin Gothic Bold", "Arial Black", "sans-serif";
    font-weight: 900;
	font-size: 4vw;
	line-height: 1.2;
	color:black;
	margin-top: 0;
	margin-right: 70px;
    letter-spacing: -3px;
    unicode-bidi:bidi-override;
    
}

.content__description {
	
	position: absolute;
	float: right;
	font-family:"Cairo", "Helvetica Neue", Helvetica, Arial, "sans-serif";
	line-height: 1.25;
	font-size: 1.50vw;
	color:white;
    right: 11%;
	
	
	
}


.content__meta {
	font-family: 'Cairo', 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
	float: right;
	
}

.content__meta::before {
	
}

.content__number {
	
	position: absolute;
	opacity: 0.6;
  filter: alpha(opacity=60);
	color: rgba(76, 175, 80, 0.1);
    left: 40%;
	
	
	

	
}

.btn-back {
	
	background-image:url(../img/back-01.svg) ;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 0.3);
	margin-left: 0em;
	margin-bottom: 1em;
	font-size: 2em;
	line-height:2.1;
	position:absolute;
	z-index: 100;
	right: 0;
	bottom: 8%;
	width: 4em;
	padding: 0;
	pointer-events: auto;
	color: currentColor;
	border: 0;
	border: 0px solid;
	
	
	
}

.btn-back:focus {
	outline: none;
}

.no-js .content__number,
.no-js .btn-back {
	display: none;
}

.js .content__block,
.js .content__description,
.js .content__meta,
.js .content__number,
.js .btn-back {
	opacity: 0;
}

.js .content__block--current {
	pointer-events: auto;
	opacity: 1;
}

@media screen and (max-width: 50.75em) {
	.calendar {
		padding: 3em calc((100vw - (7 * (14vw + 1vw)))/2);
	}
	.js .calendar {
		padding: 0 calc((100vw - (7 * (12vw + 1vw)))/2) 5em;
	}
	.cube {
		width: 12vw;
		height: 12vw;
	}
	/* push to the right weekday if in big view (we have to push 3 boxes) */
	.js .cube:first-child {
		margin-left: calc(((12vw + 1vw) * 3) + 0.5vw);
	}
	.cube__side--front {
		-webkit-transform: translateZ(6vw);
		transform: translateZ(6vw);
	}
	.cube__side--back {
		-webkit-transform: rotateY(180deg) translateZ(6vw);
		transform: rotateY(180deg) translateZ(6vw);
	}
	.cube__side--right {
		-webkit-transform: rotateY(90deg) translateZ(6vw);
		transform: rotateY(90deg) translateZ(6vw);
	}
	.cube__side--left {
		-webkit-transform: rotateY(-90deg) translateZ(6vw);
		transform: rotateY(-90deg) translateZ(6vw);
	}
	.cube__side--top {
		-webkit-transform: rotateX(90deg) translateZ(6vw);
		transform: rotateX(90deg) translateZ(6vw);
	}
	.cube__side--bottom {
		-webkit-transform: rotateX(-90deg) translateZ(6vw);
		transform: rotateX(-90deg) translateZ(6vw);
	}
	.title {
		font-size: 5vw;
	}
	.content__description {
		font-size: 1.15em;
		padding: 0 0 0 0.5em;
	}
	.js .content__block {
		padding: 0em;
		width: 100%;
	}
	.btn-back {
		font-size: 1.25em;
		bottom: auto;
		top: 0;
		margin: 0.5em;
	}
}

@media screen and (max-width: 26em) {
	.codrops-header {
		font-size: 0.75em;
	}
	.codrops-header__tagline {
		display: none;
	}
	.codrops-header__title {
		font-size: 1.5em;
	}
	.codrops-demos {
		width: 100%;
		margin: 0;
		padding: 0.5em 1em;
	}
}
