html,
html * {
	padding: 0;
	margin: 0; 
	box-sizing: border-box;
}
html, body{
	margin-top: 0;
	padding: 0;
	height: 100vh;
}
html{
	font-size: 100%;
}
body{
	font-family: 'Roboto', sans-serif;
}
h1, p.imgrefer{
	font-family: 'Bebas Neue', cursive;	
}
/******************************************/
.principal{
	height: 100vh;
}
/******************************************/
header{
	width: 100%;
	background: #b0ba75;
	background-size: contain;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 999;
}
.logo{
	width: 15%;
    height: 100%;
    position: relative;
}
.logo img{
	width: 100%;
	max-width:100%;
    max-height:100%;
    vertical-align: middle;
    object-fit: contain;
}
/*-------------------------*/
#btn-menu{
	display: none;
}
.botonmenu{
	display: block;
	width: 7%;
	height: 7%;
	position: relative;
	top: 5%;
}
.botonmenu img{
	max-width:100%;
    max-height:100%;
    vertical-align: middle;	
    object-fit: contain;
}	
.botonmenu:hover {
	cursor: pointer;
}
/*-------------------------*/
.menu{
	background: #b0ba75;
	position: absolute;
	width: 100%;
	top: 105%;
	margin-left: -100%;
	transition: 0.5s;
}	
.menu > ul{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	line-height: 3rem;
	text-align: center;
	margin: 0;
}
ul{
	list-style: none;
}
a{
	text-decoration: none;
}
.menu ul li a{
	text-decoration: none;
	color: white;  
	display: block;
	padding-right: .5rem;
	font-size: 1.5rem;
}
.menu ul li ul{
	width: 100%;
	display: none;
	position: absolute;
	text-align: center;
	background: #b0ba75;
}
.menu ul li a:hover{
	background: tomato;
}
.menu ul li:hover ul{
	display: block;
}
#btn-menu:checked ~ .menu{
	margin: 0;
}
/*********************************************/
.contactos{
	width: 10%;
    height: 100%;
}
.contactos img{
	max-width:100%;
    max-height:100%;
    vertical-align: middle;
    object-fit: contain;
}
#btn-mailphone{
	display: none;
}
.botonmailphone:hover {
	cursor: pointer;
}
.contactos-texto{
	display: none;
}
#btn-mailphone:checked ~ .contactos-texto{
	background: #b0ba75;
	color: white;
	line-height: 3rem;
	font-size: 1.5rem;
	text-align: center;
	display: block;
	position: absolute;
	width: 100%;
	top: 105%;
	margin-left: -93%;
}
/******************************************/
h1, p.imgrefer{
	font-size: 3rem;
	text-align: center;
	color: #b0ba75;
}
p.imgrefer{
		font-size: 1.5rem;
}
.galeria{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	width: 80%;
	margin: auto;
	padding: 0;
	grid-gap: 2px;
	overflow: hidden;
}
.galeria .btnproductos{
	margin-: 0px;
	padding: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	text-align: center;
	background-color: transparent;
	border: 1px solid white;
	font-family: arial;
	font-size: .9rem;
	color: white;
}	
.galeria .precio{
	color: white;
	font-size: 1rem;
}
.galeria figure{
	background: #8d8882;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 0 3px rgba(0, 0, 0, .5);
	border-width: 5px;
	border: #a8b62c 3px solid;
}
/*.galeria figure:hover{
	filter: brightness(1); 
	transform: scale(1.3);
}*/
.galeria a  {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration-line: none;
}
.galeria img, video{
	width: 90%;
	vertical-align: top;
	height: 250px;
	object-fit: contain;
	margin: 0;
	padding: 0;
}
.galeria a:hover img{
	filter: brightness(1); 
	transform: scale(1.15);
}
/*.galeria a:hover video{
	filter: brightness(1); 
	transform: scale(1.15);
}*/
.galeria figure p{
	color: white;
	font-family: 'Roboto', sans-serif;
}	
.galeria figcaption{
	background: #e79c2a;
	color: white;
	font-family: 'Roboto', sans-serif;
	margin: 0;
	padding: 0;
	border-radius: 0px 0px 7px 7px;
}
/***************paste-bici***************************/
.galeria-principal{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.galeria-columnas{
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	padding: 10px 20px;
	margin-left: auto;
	margin-right: auto;
}	
.columna{
	flex: 90%;
	max-width: 100%;
	padding: 0 8px;
}
.columna figure{
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;

}
.columna img{
	border-radius: 35px;
	margin-top: 8px;
	vertical-align: middle;
	width: 100%;
	/*filter: grayscale(100%);*/
	transition: all .3s ease; 
}
.columna img:hover{
	cursor: zoom-in;
	/*filter: grayscale(0%);*/
	box-shadow: 0 0 10px rgba(0, 0, 0 .5);
	transition: scale(1.1);
}
.columna figcaption{
	position: absolute;
	left:10px;
	font-size: 2rem;
	border-radius: 10px;
	color: white;
	bottom: 10px;
	background-color: rgba(0, 0, 0, 0.5);
}
.overlay{
	display: none;
}
.overlay:target {
	position: fixed;
 	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 10000;
	display: flex;
 	justify-content: center;
	align-items: center;
	transition: all .7s ease; 
}
.btn-cerrar{
	position: absolute;
	top: 13%;
	right: 6%;
	font-size: 3rem;
	background-color: rgba(176, 186, 117, 1);
	color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px;
	transition: all .2s ease;	
}
.btn-cerrar:hover{
	cursor: pointer;
	transform: scale(1.2);
}
/******************************************/
@media all and (min-width: 550px){
	.columna{
		flex: 50%;
		max-width: 50%;
	}
}
/******************************************/
@media all and (min-width: 768px){
	.header {
  		height: 15vh;
	}
	.botonmenu{
		width: 10%;
		height: 40%;
	}
	/*--------------------------------------*/

	.navbar-link{
		display: block;
	}
	.botonmenu{
		display: none;
	}
	.menu{
		display: flex;
		flex-direction: row;
		justify-content: center;	
		align-items: center;
		width: 50%;
		top: 35%;
		left: 25%;
		margin-left: 0;
	}
	.menu > ul{
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		list-style: none;
		line-height: 3rem;
		text-align: center;
		margin: 0;
	}
	.menu ul li ul{
		width: 60%;
		display: none;
		position: absolute;
		text-align: center;
		background: #b0ba75;
	}
	/*--------------------------------------*/
	.columna{
		flex: 33.33%;
		max-width: 33.33%;
	}
	.columna-bici{
		flex: 50%;
		max-width: 50%;
	}
}
/******************************************/
@media all and (min-width: 1024px){	
	.columna{
		flex: 20%;
		max-width: 20%;
	}
	.columna-bici{
		flex: 33.33%;
		max-width: 33.33%;
	}
	.columna figcaption{
		font-size: 1.2rem;
	}	
	.btn-cerrar{
		right: 26%;
	}	
}	
/******************************************/