@import url(https://db.onlinewebfonts.com/c/8c89bf90bc330a25742344bb641c8cbf?family=Academic+M54+V1);
@import url(https://db.onlinewebfonts.com/c/7a9ddc1b445c1713f7ad1cf3de47edd7?family=Agency+FB);

:root {
    --white: #FFF;
    --black: #000;
    --yellow: #FFFF00;
	--gray : #333333;
	--light-gray: #BFBFBF;
	--color-bg: #000;
	/* --glitch-width: 100vw;
	--glitch-height: 100vh; */
	--gap-horizontal: 10px;
	--gap-vertical: 5px;
	--time-anim: 4s;
	--delay-anim: 2s;
	--blend-mode-1: none;
	--blend-mode-2: none;
	--blend-mode-3: none;
	--blend-mode-4: none;
	--blend-mode-5: overlay;
	--blend-color-1: transparent;
	--blend-color-2: transparent;
	--blend-color-3: transparent;
	--blend-color-4: transparent;
	--blend-color-5: #949494;
}

/* ANIMACIONES */

@keyframes text-glitch {
	0%{
		opacity: 1;
	}
	/* 2.5%{
		opacity: 0;
	}
	5%{
		opacity: 1;
	}
	7.5%{
		opacity: 0;
	} */
	/* 10%{
		opacity: 0;
	}
	12.5%{
		opacity: 1;
	} */
	15%{
		opacity: 0;
	}
	17.5%{
		opacity: 1;
	}
	28%{
		opacity: 0;
	}
	29%{
		opacity: 1;
	}
	30%{
		opacity: 0;
	}
	31%{
		opacity: 1;
	}
	32%{
		opacity: 0;
	}
	33%{
		opacity: 1;
	}
}

@keyframes glitch-anim-1 {
	0% { 
		opacity: 1;
		transform: translate3d(var(--gap-horizontal),0,0);
		-webkit-clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
		clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
	}
	2% {
		-webkit-clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
		clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
	}
	4% {
		-webkit-clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
		clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
	}
	6% {
		-webkit-clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
		clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
	}
	8% {
		-webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
		clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
	}
	10% {
		-webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
		clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
	}
	12% {
		-webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
		clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
	}
	14% {
		-webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
		clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
	}
	16% {
		-webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
		clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
	}
	18% {
		-webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
		clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
	}
	20% {
		-webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
		clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
	}
	21.9% {
		opacity: 1;
		transform: translate3d(var(--gap-horizontal),0,0);
	}
	22%, 100% {
		opacity: 0;
		transform: translate3d(0,0,0);
		-webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
		clip-path: polygon(0 0, 0 0, 0 0, 0 0);
	}
}

@keyframes glitch-anim-2 {
	0% { 
		opacity: 1;
		transform: translate3d(calc(-1 * var(--gap-horizontal)),0,0);
		-webkit-clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
		clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
	}
	3% {
		-webkit-clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
		clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
	}
	5% {
		-webkit-clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
		clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
	}
	7% {
		-webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
		clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
	}
	9% {
		-webkit-clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
		clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
	}
	11% {
		-webkit-clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
		clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
	}
	13% {
		-webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
		clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
	}
	15% {
		-webkit-clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
		clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
	}
	17% {
		-webkit-clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
		clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
	}
	19% {
		-webkit-clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
		clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
	}
	20% {
		-webkit-clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
		clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
	}
	21.9% {
		opacity: 1;
		transform: translate3d(calc(-1 * var(--gap-horizontal)),0,0);
	}
	22%, 100% {
		opacity: 0;
		transform: translate3d(0,0,0);
		-webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
		clip-path: polygon(0 0, 0 0, 0 0, 0 0);
	}
}

@keyframes glitch-anim-3 {
	0% { 
		opacity: 1;
		transform: translate3d(0, calc(-1 * var(--gap-vertical)), 0) scale3d(-1,-1,1);
		-webkit-clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
		clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
	}
	1.5% {
		-webkit-clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
		clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
	}
	2% {
		-webkit-clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
		clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
	}
	2.5% {
		-webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
		clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
	}
	3% {
		-webkit-clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
		clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
	}
	5% {
		-webkit-clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
		clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
	}
	5.5% {
		-webkit-clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
		clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
	}
	7% {
		-webkit-clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
		clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
	}
	8% {
		-webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
		clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
	}
	9% {
		-webkit-clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
		clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
	}
	10.5% {
		-webkit-clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
		clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
	}
	11% {
		-webkit-clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
		clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
	}
	13% {
		-webkit-clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
		clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
	}
	14% {
		-webkit-clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
		clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
	}
	14.5% {
		-webkit-clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
		clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
	}
	15% {
		-webkit-clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
		clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
	}
	16% {
		-webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
		clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
	}
	18% {
		-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
		clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
	}
	20% {
		-webkit-clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
		clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
	}
	21.9% {
		opacity: 1;
		transform: translate3d(0, calc(-1 * var(--gap-vertical)), 0) scale3d(-1,-1,1);
	}
	22%, 100% {
		opacity: 0;
		transform: translate3d(0,0,0);
		-webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
		clip-path: polygon(0 0, 0 0, 0 0, 0 0);
	}
}

@keyframes glitch-anim-text {
	0% { 
		transform: translate3d(calc(-1 * var(--gap-horizontal)),0,0) scale3d(-1,-1,1);
		-webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
		clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
	}
	2% {
		-webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
		clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
	}
	4% {
		-webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
		clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
	}
	5% {
		-webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
		clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
	}
	6% {
		-webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
		clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
	}
	7% {
		-webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
		clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
	}
	8% {
		-webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
		clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
	}
	9% {
		-webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
		clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
	}
	9.9% {
		transform: translate3d(calc(-1 * var(--gap-horizontal)),0,0) scale3d(-1,-1,1);
	}
	10%, 100% {
		transform: translate3d(0,0,0) scale3d(1,1,1);
		-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	}
}

/* Flash */
@keyframes glitch-anim-flash {
	0%, 5% { 
		opacity: 0.2; 
		transform: translate3d(var(--gap-horizontal), var(--gap-vertical), 0);
	}
	5.5%, 100% {
		opacity: 0;
		transform: translate3d(0, 0, 0);
	}
}

/* GENERALES */

*{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	color: var(--white);
	font-weight: 400;
	font-family: 'Academic M54 V1', sans-serif;
}

html,
body{
	height: 100%;
	position: relative;
	font-size: 18px;
	scroll-behavior: smooth;
}

a,
a:hover{
	text-decoration: none;
}

h1,h2,h3,h4,h5,h6{
	font-weight: 300;
}

.vh100{
	height: 100dvh;
}

.white-txt{
	color: var(--white);
}

.black-txt{
	color: var(--black);
}

.yellow-txt{
	color: var(--yellow);
}

.big-txt{
	font-size: 1.3rem;
}

.bigger-txt{
	font-size: 2.8rem;
}

.agency{
	font-family: 'Agency FB', sans-serif;
}

span{
	font-size: inherit;
}

.bold{
	font-weight: 500;
}

.bolder{
	font-weight: 600;
}

.boldest{
	font-weight: 700;
}

.italic{
	font-style: italic;
}

.uppercase{
	text-transform: uppercase;
}

.bg-cover{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.not-button{
	background: transparent;
	border: none;
}

button:focus-visible{
	outline: none;
}

.btn{
	background-color: var(--yellow);
	color: var(--black);
	border-radius: .5rem;
	width: fit-content;
	line-height: 1;
	border: solid 2px var(--yellow);
}

.btn:hover,.btn:focus-visible,.btn:focus{
	background-color: var(--yellow)!important;
	color: var(--black)!important;
	border: solid 2px var(--yellow)!important;
	/* border: solid 2px var(--yellow); */
}

.btn .icon{
	width: 30px;
	height: 30px;
}

.tilde{
	position: relative;
}

.tilde::after{
	content: '';
	width: .25rem;
	height: .125rem;
	background-color: var(--black);
	position: absolute;
	top: -1px;
	left: 50%;
	transform: translateX(-50%);
	clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.btn:hover .tilde::after{
	background-color: var(--yellow);
}

input{
	font-family: 'Agency FB', sans-serif;
	background-color: transparent;
	border: solid 1px var(--white);
	border-radius: .5rem;
	padding: .25rem .5rem;
	background: rgba(0,0,0,.5);
	color: var(--yellow);
}

input::placeholder{
	font-family: 'Agency FB', sans-serif;
	color: var(--white);
	text-transform: uppercase;
}

input:focus{
	outline: none;
}

.wpcf7-not-valid-tip{
	font-family: 'Agency FB', sans-serif;
}

.wpcf7-response-output{
	display: none;
	font-family: 'Agency FB', sans-serif;
}

/* MIGHTY */

main{
	height: calc(100% - 2rem) ;
}

/* Glitch styles */
.glitch {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.glitch__img {
	position: absolute;
	top: calc(-1 * var(--gap-vertical));
	left: calc(-1 * var(--gap-horizontal));
	width: calc(100% + var(--gap-horizontal) * 2);
	height: calc(100% + var(--gap-vertical) * 2);
	background-color: var(--blend-color-1);
	background-size: cover;
	background-position: center;
	transform: translate3d(0,0,0);
	background-blend-mode: var(--blend-mode-1);
}

.glitch__img:nth-child(n+2) {
	opacity: 0;
}

#mighty .glitch__img:nth-child(n+2) {
	animation-duration: var(--time-anim);
	animation-delay: var(--delay-anim);
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

#mighty .glitch__img:nth-child(2) {
	background-color: var(--blend-color-2);
	background-blend-mode: var(--blend-mode-2);
	animation-name: glitch-anim-1;
}

#mighty .glitch__img:nth-child(3) {
	background-color: var(--blend-color-3);
	background-blend-mode: var(--blend-mode-3);
	animation-name: glitch-anim-2;
}

#mighty .glitch__img:nth-child(4) {
	background-color: var(--blend-color-4);
	background-blend-mode: var(--blend-mode-4);
	animation-name: glitch-anim-3;
}

#mighty .glitch__img:nth-child(5) {
	background-color: var(--blend-color-5);
	background-blend-mode: var(--blend-mode-5);
	animation-name: glitch-anim-flash;
}

#mighty .row{
	z-index: 2;
	position: relative;
}

#mighty .left-side .content-wrapper{
	background-color: var(--black);
	height: 80%;
	padding: 0 2rem;
}

#mighty .main-text .bigger-txt{
	line-height: 1.1;
	animation-name: text-glitch;
	animation-duration: 2s;
	animation-delay: 2s;
	animation-timing-function: linear;
	animation-iteration-count: 1;
}

#mighty #landing_contacto{
	display: flex;
}

#mighty .form-wrapper{
	opacity: 1;
	transition: all .5s linear .1s;
}

#mighty .form-wrapper.hide{
	opacity: 0;
}

#mighty .form-wrapper p{
	width: fit-content;
}

#mighty .thanx-wrapper{
	opacity: 0;
	transition: all .5s linear .1s;
}

#mighty .thanx-wrapper.show{
	opacity: 1;
}

#mighty .form-container {
	margin-left: -.25rem;
	margin-right: -.25rem;
}

#mighty .form-container #landing_contacto input{
	margin: 0 .25rem;
	width: calc(28% - .5rem);
}

#mighty .form-container #landing_contacto .btn-enviar{
	width: calc(16% - .5rem);
	color: var(--white);
	background-color: var(--black);
	border: solid 1px var(--white);
}

#mighty .form-container #landing_contacto .btn-enviar:hover{
	color: var(--black);
	background-color: var(--yellow);
	border: solid 1px var(--yellow);
}

.wpcf7-spinner{
	position: absolute;
	display: none!important;
}

footer{
	/* background-color: var(--yellow); */
	position: relative;
	z-index: 2;
	height: 1.5rem;
	margin-bottom: .5rem;
}
footer .container{
	height: 1.5rem;
}

footer .legal{
	font-size: .9rem;
	color: var(--light-gray);
}

@media screen and (max-width: 991px){
	main{
		height: auto!important;
		min-height: 100dvh;
	}

	.wpcf7-not-valid-tip{
		width: 100%;
	}

	#mighty .left-side .content-wrapper{
		height: 100%;
	}

	footer{
		background-color: var(--yellow);
		height: auto;
	}

	footer .container{
		height: auto;
	}

	footer .legal{
		color: var(--black);
	}
}

@media screen and (max-width: 767px){
	#mighty .form-container #landing_contacto{
		flex-wrap: wrap;
	}

	#mighty .form-container #landing_contacto input{
		width:100%;
		margin: .5rem 0;
	}

	#mighty .form-container #landing_contacto .btn-enviar{
		width: auto;
		padding: .25rem 2rem;
		height: 38px;
	}
}

@media screen and (max-width: 399px){
	body{
		font-size: 16px;
	}

	.big-txt {
		font-size: 1.2rem;
	}

	.bigger-txt {
		font-size: 2.5rem;
	}
}