/*
Theme Name: Black Link
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress para el sitio Mileto.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: DonPigTemplate
*/
document,html{
	overflow-x: hidden;
	max-width: 100%;
}
body{
	font-family: 'DM Sans',Montserrat,Helvetica, sans-serif;
	text-align: left;
	margin:0 0 0 0;
	cursor:default;
	font-size: max(1vw,12px);
	color: white;
	overflow-x: hidden;
	max-width: 100%;
}
input[type="button"],button{
	border:none;
	background:none;
	font-size:1em;
	cursor:pointer;
}
img{
	border:none;
}
a{
	color: inherit;
	text-decoration: none;
}
*[onclick],*[href]{
	cursor: pointer;
}
textarea{
	resize:none;
}
.clr{
	clear:both;
}
.columnas2{
	-webkit-column-count:2;
	-moz-column-count:2;
	column-count:2;
}
.columnas3{
	-webkit-column-count:3;
	-moz-column-count:3;
	column-count:3;
}
.columnas4{
	-webkit-column-count:4;
	-moz-column-count:4;
	column-count:4;
}
.columnas5{
	-webkit-column-count:5;
	-moz-column-count:5;
	column-count:5;
}
.grid2{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 0;
}
.grid3{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0;
}
.grid4{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 0;
}
.grid5{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 0;
}
.flex{
	display: flex;
	flex-flow: row wrap;
	align-content: space-between;
	justify-content: space-between;
}
.flex>*{
	flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    text-align: center;
}

.site_error>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #C44;
	border:#C44 solid 1px;
	background: #EDD;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_error{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

.site_success>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #494;
	border:#494 solid 1px;
	background: #DED;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_success{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

@keyframes siteError{
	0%{opacity:1;top:5em;}
	90%{opacity:1}
	99%{opacity:0;top:5em;}
	100%{opacity:0;top:-20em;}
}

.hide_me{
	height: 0;
	width: 0;
	overflow: hidden;
	opacity: 0;
	font-size: 1px;
}

a,input,button,*[onclick],*[href]{
	transition: all .25s ease-in-out;
	cursor: pointer;
}

/* GENERALES */

header{
	position: fixed;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	/*background: linear-gradient(85deg,black 30%,white 70%);*/
	background: url(images/menu.jpg) center center;
	background-size: cover;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	color: black;
	padding: 1em 2.5%;
}
#logo{
	display: flex;
	align-items: center;
	gap:0.5em;
}
#logo span{
	color: #999;
	font-size: 0.7em;
	font-weight: 300;
}
#logo span b{
	color:white;
}
#logo img{
	height: 2em;
}
menu,menu ul,menu li{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	list-style: none;
	gap:2em;
}
menu li a:hover{
	font-weight: 600;
}
#languages{
	font-weight: 600;
	font-size: 0.8em;
	margin-left: 2em;
}

#home{
	overflow: hidden;
	background: white;
}
#video_container{
	height: 0;
	overflow: visible;
}
#video_container video{
	display: block;
	width: 100%;
	filter: brightness(0.7);
}
#video_container iframe{
	height: 100vh;
	width:100%;
	border: none;
	display: block;
}

#home_content img{
	width: 70%;
	display: block;
	margin: 0 auto;
}
#home_content{
	/*background: linear-gradient(65deg,rgba(0,0,0,0) 0%,rgba(0,0,0,1)) left top;
	background-size: 200% 120%;
	animation:breathe 40s infinite;*/
	position: relative;
	z-index: 1;
}
@keyframes breathe{
	0%{
		background: linear-gradient(65deg,rgba(0,0,0,0) 0%,rgba(0,0,0,1)) left top;
		background-size: 200% 120%;
	}
	50%{
		background: linear-gradient(65deg,rgba(0,0,0,0) 0%,rgba(0,0,0,1)) -100vw top;
		background-size: 200% 120%;
	}
	10%{
		background: linear-gradient(65deg,rgba(0,0,0,0) 0%,rgba(0,0,0,1)) left top;
		background-size: 200% 120%;
	}
}
#home_content span[onclick]{
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 1.25em;
	margin-top: 2em;
	display: block;
}
i.fa{
	transition:all 0.25s ease;
}
#home_content span:hover i.fa{
	translate: 0 3px;
}

p,li{
	font-weight: 300;
	line-height: 1.6em;
}
h1,h2{
	font-size: 2em;
	margin-top: 0;
}
#about{
	overflow: hidden;
}
#about button{
	border: white solid 2px;
	font: inherit;
	color: white;
	text-transform: uppercase;
	padding: 0.5em;
	font-weight: 600;
	letter-spacing: 0.15em;
	margin-bottom: 1em;
}
#about div{
	gap:1em;
}
.turbotext{
	text-transform: uppercase;
	font-size: 10em;
	margin: 0;
	line-height: 0.7em;
	text-wrap: balance;
}
#about .turbotext{
	translate: 0.15em 0.25em;
}
#slogan{
	font-family: 'Economica','Roboto Condensed',Helvetica,sans-serif;
	font-weight: normal;
	font-style: italic;
	color:#555;
	font-size: 4em;
	text-align: center;
	margin: 0 auto 2em 0;
	text-transform: uppercase !important;
	font-weight: 100;
}

#solutions{
	background: url(images/bg.jpg) 0 center;
	background-size: 120% auto !important;
	animation:sBreathe 60s infinite;
	animation-timing-function: linear;
}
@keyframes sBreathe{
	0%{ background-position: 0 center; }
	50%{ background-position: -20vw center; }
	100%{ background-position: 0 center; }
}
#soluciones_container{
	padding: 0 5%;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap:2em;
}
#soluciones_container>a{
	display: block;
	aspect-ratio: 1 / 1;
	background: rgba(180,180,180,0.25);
	color: white;
	border-radius: 0.5em;
	padding: 1em;
	min-width: 16%;
	max-width: 16%;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.2em;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: column;
}
#soluciones_container img{
	height: 4em;
	display: block;
	margin: 0 auto 1em auto;
}
#soluciones_container p{
	min-width: 20%;
	max-width: 20%;
	color: black;
}
#soluciones_container>a:nth-child(4),#soluciones_container>a:nth-child(8){ background: rgba(160,160,160,0.35); }
#soluciones_container>a:nth-child(5){ background: rgba(140,140,140,0.35); }

#solutions h2{
	text-transform: uppercase;
	font-size: 10em;
	margin: 0.5em 0 0 0;
	line-height: 0.8em;
	translate: -0.1em 0;
	background: url(images/monogram_black.svg) 97.5% bottom no-repeat;
	background-size: 0.5em auto;
}
#soluciones_container>a:nth-child(1):hover{ background: linear-gradient(blue,#F06); }
#soluciones_container>a:nth-child(2):hover{ background: linear-gradient(#0CC,orange); }
#soluciones_container>a:nth-child(3):hover{ background: linear-gradient(gold,purple); }
#soluciones_container>a:nth-child(4):hover{ background: linear-gradient(blue,#0F0); }
#soluciones_container>a:nth-child(5):hover{ background: linear-gradient(blue,hotpink); }
#soluciones_container>a:nth-child(6):hover{ background: linear-gradient(red,purple); }
#soluciones_container>a:nth-child(7):hover{ background: linear-gradient(orange,hotpink); }
#soluciones_container>a:nth-child(8):hover{ background: linear-gradient(#0CC,blue); }

#services ul.super{
	font-size: 2.5em;
	margin-left: 2em;
	font-weight: 800;
	line-height: 2em;
	font-family: 'Economica','Roboto Condensed',Helvetica,sans-serif;
	font-weight: bold;
	font-style: italic;
	color:#EEE;
}
#services .turbotext{
	margin-top: 0em;
	translate:0.6em 0.05em;
}

#contact{
	color:black;
	text-align: center;
}
#contact h2{
	font-size: 5em;
	text-transform: uppercase;
	margin: 0;
	font-weight: 900;
	letter-spacing: 0.1em;
}
form *:is(input,select,textarea){
	box-sizing: border-box;
	padding: 0.5em;
	background: black;
	color: white;
	font: inherit;
	display: block;
	width:100%;
	border:none;
	margin-bottom: 0.25em;
	font-size: 1.25em;
}
form>input:first-child{ border-top-right-radius: 1em; border-top-left-radius: 1em; }
form textarea{ border-bottom-left-radius: 1em; }
form{
	width: max(40%,300px);
	display: block;
	text-align: left;
	margin: 1em auto;
}
form button{
	font:inherit;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 1.25em;
}
form div{
	text-align: right;
	padding-top: 0.5em;
	grid-gap:0.25em !important;
}
form p{
	text-align: left;
	margin: 0 0 0 1em;
	font-size: 0.7em;
	font-weight: 500;
}
#contact>div>p:last-child{
	margin-top: 2em;
	line-height: 3em;
	background: url(images/monogram_black.svg) left bottom no-repeat;
	background-size:contain;
	display: inline-block;
	padding-left: 5em;
	opacity: 1 !important;
	top: 0 !important;
}
#contact p strong{
	font-weight: 900;
}
#contact p a{
	font-weight: 900;
	opacity: 1 !important;
	top: 0 !important;
}
label{
	text-align: left;
	display: flex;
	gap:0.5em;
	justify-content: start;
	align-content: start;
	align-items: center;
	margin-bottom: 0.5em;
	text-transform: uppercase;
	font-weight: 600;
}
label input{
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}
form label div{
	display: inline-block;
	width: 2.2em;
	height: 1.1em;
	padding: 0.15em;
	background: #999;
	border:white solid 1px;
	box-shadow: rgba(0,0,0,0.5) 0 1px 3px;
	border-radius:2em;
	text-align: left;
	transition: all 0.25s ease;
}
form label div>div{
	width: 1em;
	height: 1em;
	background: white;
	border-radius: 1em;
	padding: 0;
	display: block;
}
label span{
	font-size: 0.8em;
}
label:has(input:checked)>div{
	background: black;
}
label:has(input:checked)>div>div{
	margin-left: 1em;
}

form p{
	opacity: 1 !important;
	top:0 !important;
}


/* MODAL */

#modal{
	background:rgba(0,0,0,0.8);
	position:fixed;
	display:none;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:10;
	text-align:center;
}

#section_header{
	color: black;
	text-align: center;
	padding: max(10%,100px) 10%;
	background: url(images/contact.jpg) center center;
	background-size: cover;
	box-shadow: black 0 1px 0.5em;
}
#section_header h1{
	margin:0;
	text-transform: uppercase;
	font-size: min(4em,8vw);
	letter-spacing: 0.15em;
	font-weight: 900;
}

.service_content{
	color: black;
}
.service_content img{
	max-height: 14em;
	margin: 0 auto;
	display: block;
}

#section_content{
	background: url(images/monogram_black.svg) 2.5% 95% no-repeat;
	background-size: 5% auto;
}


#content h1,#content h2,#content h3,#content h4,#content h5,#content p,#content img,#content a,#content li{
	position: relative;
	top: 2em;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}

#legales{
	color:black;
}
#legales strong{
	font-weight: 700;
	text-transform: uppercase;
}


#whatsapp_link{
	float: right;
	position: fixed;
	bottom: 1em;
	right: 1em;
	color: white;
	z-index: 5;
}
#whatsapp_link>i.fa{
	font-size: 3em;
	background: #111;
	width: 1.4em;
	height: 1.4em;
	line-height: 1.4em;
	border-radius: 2em;
	text-align: center;
	transition: all .25s ease-in-out;
}
#whatsapp_link>i.fa:hover{
	box-shadow: lime 0 0.5em 1em -0.5em inset,blue 0 -1em 1em -0.5em inset;
}



/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

@media all and (max-width:960px){
	.mobile_only{
		display:block !important;
	}
	.desktop_only{
		display:none !important;
	}
	.columnas2,.columnas3{
		-webkit-column-count:1;
		-moz-column-count:1;
		column-count:1;
	}
	.columnas4{
		-webkit-column-count:2;
		-moz-column-count:2;
		column-count:2;
	}
	.columnas5{
		-webkit-column-count:3;
		-moz-column-count:3;
		column-count:3;
	}
	.grid2,.grid3,.grid4,.grid5,.flex{
		display: block;
	}
	.grid2mobile{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.grid3mobile{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
	
	header{
		height:60px;
		padding: 0 1em;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: black;
		width: 36px;
		border-radius: 3px;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}
	#logo img{
		height: 20px;
	}
	menu,menu ul,menu li{
		display: block;
		line-height: 3em;
	}
	menu{
		position: fixed;
		top:60px;
		font-size: 1.5em;
		background: rgba(0,0,0,0.95);
		padding: 2em;
		text-align: center;
		left: 0;
		right: 0;
		display: none;
		color: white;
	}
	#languages{
		margin-left: 0;
		margin-top: 2em;
	}
	#languages a{
		display: inline-block;
		background: white;
		padding: 0 1em;
		color: black;
		border-radius: 0.2em;
		line-height: 2em;
	}
	#logo span{
		width: 1em;
		color: black;
		line-height: 1em;
	}
	#about .kt-block-spacer{
		display: none;
	}
	#about button{
		width: 95%;
	}
	#about>div{
		background-position: center bottom;
		background-size: 80% auto;
		background-attachment: fixed;
	}
	.turbotext{
		font-size: 16vw;
	}
	#about .turbotext{
		padding-bottom: 1em;
	}
	#soluciones_container{
		padding: 1em;
		gap:2.5%;
	}
	#soluciones_container>a{
		max-width: 40%;
		min-width: 40%;
		margin-bottom: 1em;
		color:black;
	}
	#soluciones_container>a img{
		filter: invert(1);
	}
	#soluciones_container p{
		min-width: none;
		max-width: 100%;
		color: white;
	}
	#solutions{
		background-position: center center;
		background-size: cover !important;
		animation: none;
	}
	#solutions h2{
		font-size: 15vw;
		color: black;
		background: none;
		text-align: center;
		translate: 0 0;
	}
	#services>div{
		background-size: cover;
	}
	#services ul{
		margin: 0 !important;
		line-height: 1em;
	}
	#services li{
		margin-bottom: 1em;
	}
	#services .turbotext{
		translate:0.25em 2px;
	}
	#contact>div{
		padding: 2em 5%;
	}
	#contact h2{
		font-size: 3em;
	}
}