/*
Theme Name: Chimp Workshop
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress a la medida para Chimp Workshop
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
*/

body{
	font-family: Poppins, Roboto, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: max(1vw,12px);
}
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;
}
h1,h2,h3,header{
	font-family: Oxanium,'Hyperspace Race Capsule',Bankgothic,sans-serif;
	font-weight: 600;
}

/* GENERALES */

header{
	position: fixed;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 1em 2.5%;
	font-weight: 600;
	background: linear-gradient(0deg,rgba(0,0,0,0),rgba(0,0,0,1));
	transition: all 0.25s ease;
	color:white;
	min-height: 3em;
}
header.scrolled{
	background:white;
	color:black;
	padding: 0.25em 2.5%;
	box-shadow: rgba(0,0,0,0.3) 0 0 0.5em;
}
header :is(menu,ul,li){
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: end;
	align-content: end;
	align-items: center;
}
header menu{
	min-width: 60%;
}
header ul{
	gap:2em;
	min-width: 100%;
}
header menu>div{
	width: 100% !important;
}
#logo img{
	height: 2em;
}
header.scrolled #logo{
	filter:invert(1);
}

header menu a:hover,header menu a.active{
	color:#F63;
}

footer{
	background: #111;
	color:#999;
	padding: 0.5em;
	text-align: center;
}
footer h3{
	margin: 0;
}
footer span{
	font-size: 0.8em;
	letter-spacing: 0.25em;
}
footer a{
	color: white;
}
#single_header{
	padding: 10% 5%;
	background: black url(images/header.jpg) center center;
	background-size: cover;
	color: white;
}
#single_header h1{
	margin: 0;
	font-size: 4em;
}

/* 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;
}

#servicios_home{
	box-shadow: black 0 10em 5em -5em inset;
}
form :is(legend,label){
	color: white !important;
}
.wpforms-field-sublabel.after{
	display: none !important;
}

#servicios_home .elementor-widget-image-box{
	border-radius: 1em;
	overflow: hidden;
}
#single_content img{
	border-radius: 1em;
}



#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;
}

/* 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;
		background: white;
		box-shadow: rgba(0,0,0,0.15) 0 0 0.25em;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: black;
		width: 36px;
		position: relative;
		opacity: 1;
		rotate: 0deg;
		left:0;
		top:0;
		transition: all 0.25s ease;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}

	#menu_opener.opened>div:nth-child(1){ top:9px; rotate:45deg; }
	#menu_opener.opened>div:nth-child(4){ top:-9px; rotate:-45deg; }
	#menu_opener.opened>div:nth-child(2){ left:50px; opacity: 0; }
	#menu_opener.opened>div:nth-child(3){ left:-50px; opacity: 0; }

	#logo{
		opacity: 1 !important;
		filter: invert(1) !important;
	}
	#logo img{
		height: 20px;
	}

	header>menu{
		position: fixed;
		top:60px;
		background: rgba(0,60,90,0.95);
		backdrop-filter: blur(3px);
		color:white;
		left:0;
		right:0;
		line-height: 2em;
		font-size: 1.25em;
		text-transform: uppercase;
		padding: 2em !important;
		display: none;
	}
	menu ul{
		flex-direction: column;
	}
	#single_header h1{
		font-size: 2em;
	}
}