*,
*::after,
*::before {
	box-sizing: border-box;
}

html {
	background: #28282b;
}

/* Color schemes */
.demo-magneto {
	--color-text: #282828;
	--color-background: #fff037;
	--color-link: #000;
	--color-link-hover: #282828;
}


body {
	font-family: 'Nunito', monospace;
	color: var(--color-text);
	background-color: var(--color-background);
	min-height: 100vh;
}

.js body {
	opacity: 0;
	transition: opacity 0.3s;
}

.js body.demo-kidnap {
	transition: background-color 0.3s, opacity 0.3s;
} 

.js body.render {
	opacity: 1;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-background);
}

.js .loading::after {
	content: '';
	box-shadow: 20px 0 0, -20px 0 0;
	position: fixed;
	z-index: 10000;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	pointer-events: none;
	border-radius: 50%;
	background: var(--color-text);
	animation: loaderAnim 1s ease-in-out infinite alternate forwards;
}

@keyframes loaderAnim {
	0% {
		box-shadow: 20px 0 0 var(--color-text), -20px 0 0 transparent;
		background: transparent;
	}
	50% {
		box-shadow: 20px 0 0 transparent, -20px 0 0 transparent;
		background: var(--color-text);
	}
	100% {
		box-shadow: 20px 0 0 transparent, -20px 0 0 var(--color-text);
		background: transparent;
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
}

.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;
}

main {
	position: relative;
    width: 100%;
}

.content {
	position: relative;
	display: grid;
	justify-content: center;
	align-content: center;
	height: 100vh;
	overflow: hidden;
	min-height: 650px;
	margin: 0 auto;
}

.content--fixed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: none;
	z-index: 100;
	align-content: space-between;
	pointer-events: none;
	padding: 1.5em;
	grid-template-columns: 50% 50%;
	grid-template-rows: auto auto 4em;
	grid-template-areas: 	"header tagline"
							"deco tagline"
							"deco demos";
}

.content--layout {
	grid-template-columns: 100%;
	padding: 3em 0;
}

.content--fixed a {
	pointer-events: auto;
}


.info {
	color: var(--color-link-hover);
	margin: 0 0 0 1.25em;
}



.deco {
	grid-area: deco;
	align-self: end;
	justify-self: start;
	padding: 0;
	transform: rotate(180deg);
}

.demos {
	grid-area: demos;
	text-align: center;
	display: block;
	position: relative;
}

.demo {
	margin: 0 0.15em;
}

.demo span {
	text-transform: lowercase;
	font-weight: bold;
	pointer-events: none;
	white-space: nowrap;
}

.demo span::before {
	content: '#';
}

a.demo--current {
	text-decoration: underline;
	pointer-events: none;
}

/* Common styles for the words */
.word {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
	cursor: default;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

@media screen and (min-width: 50em) {
	.demos {
		align-self: end;
		justify-self: end;
		display: flex;
	}
	.demo {
		display: block;
		border: 2px solid;
		width: 12px;
		height: 12px;
		border-radius: 2px;
		margin: 0 10px 0 0;
	}
	a.demo--current {
		background: currentColor;
	}
	.demo span {
		position: absolute;
		display: none;
		right: 100%;
		top: -0.35em;
		margin: 0 1em 0 0;
	}
	.demo--current span {
		display: block;
	}
}

@media screen and (max-width: 50em) {
	html, body {
		overflow-x: hidden;
		width: 100vw;
		height: 100%;
	}
	.content {
		height: auto;
		min-height: 0;
	}
	.content--layout {
		overflow: visible;
	}
	.demo-magneto .content--layout {
		padding: 1em 0 0 0;
	}
	.content--fixed {
		display: block;
		z-index: 1000;
		position: relative;
		padding: 0.85em;
	}
	
	.codrops-links {
		margin: 0;
	}
	.deco {
		display: none;
	}
	.word.word--magneto {
		font-size: 3em;
	}
	.word.word--kidnap {
		font-size: 3.5em;
	}
	.word.word--redraw {
		font-size: 5em;
	}
	.word.word--swing {
		font-size: 4.5em;
	}
}


.word--magneto {
	font-size: 10vw;
	font-family: 'Playfair Display', serif;
	font-weight: 900;
	text-transform: uppercase;
	color: #0e0e19;
	line-height: 0.8;
	margin: 0 0 1em 0;
}

.word--magneto > span {
	display: block;
	padding: 1em 0 0;
	cursor: default;
	position: relative;
}

.word--magneto span span {
	display: block;
	pointer-events: none;
}

.word--magneto svg {
	position: absolute;
	left: 50%;
	margin-left: -1.5vw;
	width: 3vw;
	bottom: calc(100% - 1em);
}

.word--magneto svg circle {
	fill: currentColor;
	opacity: 0;
	transform-origin: 50% 50%;
}

.boxContact{
	width: 100%;
	max-width: 960px;
	margin:0 auto;
	display: block;
	text-align: center;
}

/* Common button styles */
.button2 {
	/*float: left;*/
	min-width: 150px;
	max-width: 250px;
	display: block;
	margin: 0 auto;
	padding: 1em 2em;
	border: none;
	background: none;
	color: inherit;
	vertical-align: middle;
	position: relative;
	z-index: 1;
}

.button2:focus {
	outline: none;
}

.button2 > span {
	vertical-align: middle;
}

/* Itzel */
.button--itzel {
	border: none;
	padding: 0px;
	overflow: hidden;
	width: 255px;
}

.button--itzel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 2px solid;
	border-radius: inherit;
	-webkit-clip-path: polygon(0% 0%, 0% 100%, 35% 100%, 35% 60%, 65% 60%, 65% 100%, 100% 100%, 100% 0%);
	clip-path: url(../index.html#clipBox);
	transform: translate3d(0, 100%, 0) translate3d(0, -2px, 0);
	transform-origin: 50% 100%;
}

.button--itzel.button--border-thin::before {
	border: 1px solid;
	transform: translate3d(0, 100%, 0) translate3d(0, -1px, 0);
}

.button--itzel.button--border-thick::before {
	border: 3px solid;
	transform: translate3d(0, 100%, 0) translate3d(0, -3px, 0);
}

.button--itzel::before, 
.button--itzel .button__icon {
	transition: transform 0.3s;
	transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.button--itzel .button__icon {
	position: absolute;
	top: 100%;
	left: 45%;
	padding: 20px;
	font-size: 20px;
	transform: translate3d(-50%, 0, 0);
}

.button--itzel > span {
	display: block;
	padding: 20px;
	transition: transform 0.3s, opacity 0.3s;
	transition-delay: 0.3s;
}

.button--itzel:hover::before {
	transform: translate3d(0, 0, 0);
}

.button--itzel:hover .button__icon {
	transition-delay: 0.1s;
	transform: translate3d(-50%, -150%, 0);
}

.button--itzel:hover > span {
	opacity: 0;
	transform: translate3d(0, -50%, 0);
	transition-delay: 0s;
}

.column{
	width: 100%;
	display: block;
	padding: 30px;
	text-align: center;
	margin: 0 auto;
}

	.logo{
		width: 100%;
		max-width: 300px;
		text-align: center;
		display: block;
		margin: 0 auto;
	}


.column_left{ 
	display: inline-block;
	vertical-align: top;
	width: 50%;
	max-width: 600px;
}

.column_left img{
	width: 100%;
}

.column_right{ 
	display: inline-block;
	vertical-align: top;
	width: 50%;
	max-width: 600px;
}


/*//// FORM ////*/

input[type="email"] { 
            box-shadow: none;
        } 

#formulario{
	display: block;
	margin: 0 auto;
	padding: 10px;
	vertical-align: top;
	width: 100%;
	max-width: 400px;
}

.textbox{
  height:40px;
  width:100%;
  border-radius:2px;
  border:rgba(0,0,0,1) 0px solid;
  box-sizing:border-box;
  padding:10px;
  margin-bottom:20px;
}

textarea{
	height:100px;
	width:100%;
	border-radius:2px;
	border:rgba(0,0,0,.3) 0px solid;
	box-sizing:border-box;
	padding:10px;
	margin-bottom:20px;
	resize: none;
}

.button{
  height:50px;
  width:100%;
  max-width: 400px;
  border-radius:2px;
  border:rgba(0,0,0,1) 2px solid;
  box-sizing:border-box;
  padding:10px;
  margin-bottom:20px;
  background:#000000;
  color:#FFF;
  font-weight:400;
  font-size: 12pt;
  transition:background .4s;
  cursor:pointer;
  letter-spacing: 3px;
}

	.button:hover{
	  border:rgba(0,0,0,1) 2px solid;
	  background:#FFF037;
	  color:#000000;
	  transition:background .4s;
	  font-weight: bold;
	}

.invalid{
	border-color: red;
}

#respuesta{
	text-align: center;
	display:none;
}