/*	*	*	*	*	*	*	*	*	*	*	*	*	*	*	*	*	*	*	*/
/* Typography	*/
@import url("fonts/plain.css");

/* When it loads*/
@keyframes transitionIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes title {
	from {
		opacity: 0;
		transform: translateX(-100px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Base */
body {
	font-family: "PlainWebfont", Helvetica, Arial, sans-serif;
	flex-direction: column;
	margin: auto;
	opacity: 0;
	transition: opacity .5s;
	color: #000f9f;
}

* {
	font-weight: 400;
	box-sizing: border-box;
}

.content {
	max-width: 80rem;
	padding: 1rem 4rem 4rem 6.5rem;
	margin: auto;
}

.positive {
	color: #000f9f!important;
}

.negative {
	color: white!important;
}

h1 {
	font-weight: 300;
	color: #000f9f;
	animation: title 1.8s;
	font-size: 3em;
	margin:0;
}

h3 {
	font-size: 1.2rem;
}

.intro2 a {
	color: #000f9f!important;
	text-decoration: underline #00ff00;
}

a:hover {
	text-decoration-color: #00ff00;
	color:#00ff00!important;
}

a:active {
	color:#00ff00!important;
}

p {
	font-size: 1em;
}
/* Scroll */
	/* Width */
	::-webkit-scrollbar {
	  width: 10px;
	}

	/* Track */
	::-webkit-scrollbar-track {
	  background: white;
		border: solid #000f9f 1px;
	}

	/* Handle */
	::-webkit-scrollbar-thumb {
	  background: #000f9f;
		border: solid #000f9f 1px;
	}

	/* Handle on hover */
	::-webkit-scrollbar-thumb:hover {
	  background: #00ff00;
	}

/*.inscriptions {
	position: fixed;
	margin: auto;
	top: 50%;
	z-index: 5;
	margin-left: 1.5rem;
}

.inscriptions p {
	text-decoration: underline;
	margin:0;
}

.inscriptions h3 {
	font-size: 1em;
	font-weight: 600;
	margin: 0;
}*/

.intro1 {
	display: flex;
	flex-wrap: wrap;
	width: 20rem;
	float: left;
}

.intro1 p {
	transform: skewX(-30deg) rotate(-30deg);
	padding-top: 4rem;
}

.intro2 {
	display: flex;
	flex-wrap: wrap;
	padding: 0 12rem 0 10rem;
}

.right {
	text-align: right;
}

.left {
	text-align: left;
}

/* Logo */
.logo {
	width: 4rem;
	position: fixed;
	margin: 1.5rem;
	padding-top: 2.8rem;
  transition: all 0.5s ease-in-out;
	animation: transitionIn 0.75s;
}

svg#LogoPorte{
	z-index: 6;
}

svg#LogoPorte .color{
	fill: #00ff00;
}

/* Stairs text */
.perspective-text {
	z-index: 2;
  color: #00ff00;
	font-family: "PlainWebfont", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -1.3px;
  text-transform: uppercase;
	position: fixed;
	padding-left: 5rem;
	padding-top: 2rem;
	transition: all 0.5s ease-in-out;
	animation: transitionIn 0.75s;
}

.perspective-line {
  height: 1rem;
  overflow: hidden;
  position: relative;
}

.perspective-text p {
  margin: 0;
  height: 1rem;
  line-height: 1rem;
  transition: all 0.5s ease-in-out;
}

.perspective-line:nth-child(odd) {
  transform: skew(60deg, -30deg) scaleY(0.667);
}

.perspective-line:nth-child(even) {
  transform: skew(0deg, -30deg) scaleY(1.333);
}

.perspective-text:hover p {
  transform: translate(0, -1rem);
}

.perspective-line:nth-child(1) {
  left: 0.3rem;
}

.perspective-line:nth-child(2) {
  left: 0.8rem;
}

.perspective-line:nth-child(3) {
  left: 1.3rem;
}

.perspective-line:nth-child(4) {
  left: 1.8rem;
}

.perspective-line:nth-child(5) {
  left: 2.3rem;
}/*

/* Boxes gallery*/
.cards {
	display: flex;
	flex-wrap: wrap;
}

div.card {
  border: 1px solid #000f9f;
	background-color: white;
	width:100%;
	padding: 2rem;
	margin: 1rem;
	transition: 0.2s;
}

div.card:hover {
  border: 1px solid #00ff00;
	background-color: #000f9f;
}

.card p {
	color:#000f9f;
	text-align: center;
}

div.card:hover p{
	color: white;
}

.responsive {
  padding: 0 1rem;
  float: left;
  width: 24.99999%;
}

/* Lessons cards*/
.perspective {
	perspective: 1000px;
	display: flex;
	flex-wrap: wrap;
}
.diaporama {
	margin: auto;
}

div.lesson {
  border: 1px solid #000f9f;
	background-color: white;
	width:5rem;
	padding: 2rem;
	margin-right: -1rem;
	transform: rotateY(40deg);
	float: left;
	opacity: 50%;
	transition: 0.2s;
}
div.lesson p{
	text-align: left;
}

div.lesson:hover {
	transform: rotateY(0deg);
	opacity: 100%;
	z-index: 100;
}

/* Doors*/
.doors{
  width: 500px;
  height: 500px;
  perspective:1000px;
	float: left;
	cursor: url('img/key_cursor.png'), auto;
	display: flex;
	flex-wrap: wrap;
}

.frame{
  width: 200px;
  height: 400px;
  transform: translate(0px, 0px) rotateY(45deg);
  transform-style: preserve-3d;
  transition: transorm 0.5s ease-in-out;
	background-image: url("img/door.png");
}

.door{
  height: 100%;
  background: #000f9f;
  transform: rotateY(0deg);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
}

.doors:hover .door{
  transform: rotateY(60deg);
}
.doors:hover{
  transform: transform(150px, 50px) rotate(0);
}

/* Fade scroll*/
/*.fade {
  opacity: 1;
} TESTING AOS INSTEAD*/

.fadeTitle {
	opacity: 1;
	transform: transform(150px, 50px) rotate(0);
}
/* Footer*/
/*footer {
	background-color: #000f9f;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4rem;
	color: white;
}*/
.footer {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	flex-shrink: 0;
	background-color: #000f9f;
	width: 100%;
	margin: auto!important;
	padding-bottom: 2rem;
	padding-right: 6rem;
	color: white;
	font-weight: 400;
}

.footer a {
	color: white;
}

.footer ul {
	list-style: none;
	width: 28rem;
}

.footer li{
	line-height: 0.6em;
}

.footer li::first-line {
	line-height: 2em;
}
/* HORIZONTAL FOOTER*/
.footerINFO ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: red;
}

.footerINFO li {
  float: left;
}

.footerINFO li {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

.credit {
	position: absolute;
	top: -3.6rem;
	right: 0;
	padding-bottom: 2rem;
	font-weight: lighter;
	flex-shrink: 2;
	background-color: #000f9f;
	fill: white;
	display: block;
}

.top {
	background-color:#000f9f;
	color: white;
}

.top h1, .top p {
	color: white;
}

/* Other sizes*/
@media only screen and (max-width: 1280px) {
	#section-feature {
		flex-wrap: wrap;
	}
	#section-feature ul {
		width:50%;
	}
	.responsive {
		width: 49.99999%;
		margin: 6px 0;
	}
	.perspective-text {
		opacity: 0;
	}

}

@media only screen and (max-width: 700px) {
	#section-feature {
		flex-wrap: wrap;
	}
	#section-feature ul {
		width:100%;
	}
	.responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
	.intro2 {
		display: flex;
		flex-wrap: wrap;
		padding: 0 0 0 0;
	}

	h1 {
		line-height: 1.2;
	}
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }

	.logo  {
		width: 3rem;
	}

	svg#LogoPorte{
		width: 2rem;
	}

	.perspective-text {
	  display: none;
	}

	.content {
		padding: 1rem 3rem 4rem 4rem;
	}

}


/* PHONE 360X640
@media screen and (max-width: 640px) {
  body {
    background-color: #000f9f;
  }
	#grid {
	  display: grid;
	  grid-template-columns: 10% 20% 20% 20% 20% 10%;
	}
}*/
video:focus {
    outline: -webkit-focus-ring-color auto 0;
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
    outline-width: 0px;
}

#section-feature {
		color:#000f9f;
}

#section-feature ul {
    padding: 1rem;
    list-style: none;
    position: relative;
}

#section-feature li {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    height: 240px;
    padding: 2%;
    margin-bottom: 40px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#section-feature .sf-wrap {
    background-repeat: no-repeat;
    position: absolute;
    max-width: 280px;
    width: 100%;
    height: 100%;
    left: 50%;
    margin-left: -140px;
    top: 0;
    -moz-perspective: 600px;
    -webkit-perspective: 600px;
    -ms-perspective: 600px;
    -o-perspective: 600px;
    perspective: 600px;
    cursor: pointer;
}

.sf-mdl-left,
.sf-mdl-right,
.sf-mdl-left-full,
.sf-mdl-right-full {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    overflow: hidden;
}

.sf-mdl-right,
.sf-mdl-right-full {
    left: auto;
    right: 0;
}

.sf-mdl-right-full a {
	color: white;
}


.sf-mdl-left-full,
.sf-mdl-right-full {
    background-color: #000f9f;
    z-index: 9;
    color: #fff;
}

.sf-wrap a {
		font-size: 1em;
		position: absolute;
		bottom: 0;
		padding: 0 0rem 0.6rem 2rem;
}

.sf-mdl-left,
.sf-mdl-right {
    background-color: #fff;
    z-index: 10;
}

.sf-wrap > .sf-mdl-right-full,
.sf-wrap > .sf-mdl-right {
    background-position: right -30px;
}

.sf-wrap > .sf-mdl-right,
.sf-wrap > .sf-mdl-left-full {
    -moz-backface-visibility: hidden;
    -moz-transform-style: preserve-3d;
    -moz-transform-origin: 0 0;
    -moz-transform: rotateY(0deg);

    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -webkit-transform-origin: 0 0;
    -webkit-transform: rotateY(0deg);

    -o-backface-visibility: hidden;
    -o-transform-style: preserve-3d;
    -o-transform-origin: 0 0;
    -o-transform: rotateY(0deg);

    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform-origin: 0 0;
    transform: rotateY(0deg);
}

.sf-wrap.hover > .sf-mdl-right {
    -webkit-transform: rotateY(-45deg);
    -moz-transform: rotateY(-45deg);
    -ms-transform: rotateY(-45deg);
    -o-transform: rotateY(-45deg);
    transform: rotateY(-45deg);
    background-color: #ececec;
}

.sf-wrap > .sf-mdl-left-full {
    -moz-transform-origin: 100% 0;
    -webkit-transform-origin: 100% 0;
    -o-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -moz-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.sf-wrap.active > .sf-mdl-right,
.sf-wrap.hover.active > .sf-mdl-right {
    -moz-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.sf-wrap.active > .sf-mdl-left-full {
    -moz-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.active .sf-mdl-left-full,
.active .sf-mdl-right-full {
    z-index: 11;
}

.sf-wrap div h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.4em;
}

.sf-wrap div h3,
.sf-wrap div p {
    width: 200%;
    position: absolute;
    text-align: center;
    left: 0;
    top: 4rem;
		line-height: 1.2em;
}

.sf-wrap div p {
		padding: 0px 22%;
		line-height: 20px;
		font-size: 1.2em;
		top: 0;
		text-align: left;
}

.sf-wrap div.sf-mdl-right h3,
.sf-wrap div.sf-mdl-right-full h3,
.sf-wrap div.sf-mdl-right p,
.sf-wrap div.sf-mdl-right-full p,
.sf-mdl-right .sf-icon,
.sf-mdl-right-full .sf-icon
{
    left: auto;
    right: 0;
}

.sf-wrap div.sf-mdl-left-full h3,
.sf-wrap div.sf-mdl-right-full h3 {
    top: 115px;
}

.zoom_logo {
	width:5rem;
}
