:root {
	--color1:#8ed402;
}

/* ==== Utilidades ==== */
.btn.btn-hero {
	background-color: var(--color1);
}
.sub-titledos { text-align:justify; }
.padding0 { padding-top:0; }

.ai-center {
	align-items: center;
}
.d-grid {
	display: grid;
	grid-gap: 20px;
}
@media (min-width: 768px) {
	.d-grid.colum-2.auto {
		width: 100%;
		grid-template-columns: auto auto;
	}
}
.boton {
	text-transform: uppercase;
	font-weight: 600;
	background-color: var(--color1);
	color: white;
	padding: 10px;
	border: none;
}
/* ==== //Utilidades ==== */

/* ==== PopUp ==== */
#popup {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
}
#popup .contenido {
	width: 90%;
	max-width: 90%;
	background-color: #fff;
	height: min-content;
	max-height: 80%;
	position: relative;
}
@media (min-width: 768px) {
	#popup .contenido {
		width: auto;
	}
}
#popup #cerrar {
	position: absolute;
	right: -15px;
	top: -15px;
	width: 30px;
	height: 30px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: black;
	color: white;
	border-radius: 50%;
	font-size: 24px;
	transition: .5s;
	cursor: pointer;
}
#popup #cerrar:hover {
	background-color: var(--color1);
	color: #363636;
}
@media (max-width: 640px) {
	#popup .contenido img {
		display: none;
	}
}
#popup .contenido form.formulario-popup {
	width: 100%;
}
form.formulario-popup fieldset {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 20px;
	padding: 30px 15px;
}	
@media (min-width: 768px) {
	form.formulario-popup fieldset {
		grid-template-columns: 1fr 1fr;
	}
}
form.formulario-popup fieldset input:not([type="submit"]) {
	padding: 5px;
}
form.formulario-popup fieldset textarea {
	height: 200px;
}
@media (min-width: 768px) {
	form.formulario-popup fieldset textarea {
		grid-column: 1/3;
	}
}
form.formulario-popup legend {
	font-size: 24px;
	color: var(--color1);
	font-weight: 900;
}
/* ==== //PopUp ==== */

/* ==== Internas ==== */
.portada {
	text-align: center;
	padding: 40px 0;
	margin: 20px 0 80px;
	background-color: #efefef;
}
/* ==== Galeria ==== */
.galeria {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 300px;
	gap: 1px;
	margin: 80px 0;
}
@media (min-width: 768px) {
	.galeria.colum-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}
.galeria .imagen {
	overflow: hidden;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* ==== // Galeria ==== */
/* ==== Internas ==== */
