@charset "UTF-8";

@font-face { font-family: Source; src: url(../woff/source.woff); font-weight: normal; }
@font-face { font-family: Source; src: url(../woff/source-bold.woff); font-weight: bold;}
@font-face { font-family: Mariana; src: url(../woff/mariana.woff); }
@font-face { font-family: Raleway; src: url(../woff/raleway.woff); }
@font-face { font-family: Raleway; src: url(../woff/raleway-bold.woff); font-weight: bold; }


/* CSS Document */


html, body {
	margin: 0;
	padding: 0;
	
	scroll-behavior: smooth;
}

body {
	padding: 140px 0 0 0;

	font-family: Source;
	font-weight: normal;
	font-size: 20px;
	line-height: 22px;
}


/* comportamientos y herramientas */

.clear { clear: both;  }


/* imágenes */


img { border: 0; }


/* links */


a { color: inherit; text-decoration: none; }
a:hover { color: #333; text-decoration:none; }
a:active, a:focus { outline: 0; }

a, a:hover, img, header, .boton { transition: .5s; }

hr {
	margin: 30px 0 0 0;
	padding: 30px 0 0 0;
	
	border-top: 1px solid #edccd1;
	border-right: none;
	border-bottom: none;
	border-left: none;
}


/* títulos */


h1 {
	margin: 0;
	padding: 200px 0 160px 0;
	
	background: url(../img/layout/h1.jpg) 50% 50% no-repeat;
	background-size: cover;
	text-shadow: 0 0 8px #000, 0 0 4px #000;
	
	font-family: Raleway;
	font-weight: bold;
	font-size: 50px;
	line-height: 50px;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}


h2 {
	margin: 0 0 10px 0;
	padding: 0;
	
	font-family: Raleway;
	font-weight: bold;
	font-size: 36px;
	line-height: 38px;
	text-transform: uppercase;
	text-align: center;
	color: #666;
}

h3 {
	margin: 0 0 30px 0;
	padding: 0;
	
	font-family: Raleway;
	font-weight: bold;
	font-size: 30px;
	line-height: 32px;
	text-transform: uppercase;
	text-align: center;
}

h4 {
	margin: 0;
	padding: 0;
	
	font-family: Raleway;
	font-weight: bold;
	font-size: 50px;
	line-height: 50px;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}

h5 {
	margin: 0;
	padding: 0;
	
	font-family: Raleway;
	font-weight: bold;
	font-size: 46px;
	line-height: 48px;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 0 6px #000;
	color: #fff;
}

@media all and (orientation: portrait) {
	h5 {
		font-size: 26px;
		line-height: 28px;
	}
}

h6 {
	display: inline-block;
	
	margin: 0;
	padding: 20px;
	
	background-color: rgba(0,0,0,0.6);
	border-radius: 10px;
	
	font-family: Raleway;
	font-weight: normal;
	font-size: 18px;
	line-height: 20px;
	text-align: center;
	color: #fff;
}


/* layout */


main > section {
	margin: auto;
	padding: 100px 0;

	width: 90%; max-width: 1500px;
}


/* banner */


.banner-principal {
	width: 100%;
	height: 100%;
	
	background: url(../img/principal/fondos/productos.jpg) 50% 50% no-repeat;
}

.banner-principal > div {
	position: relative;

	width: 100%;
	height: 100%;
	
	background: url(../img/principal/mesa.jpg) 50% 100% no-repeat;
}

.banner-principal > div > span {
	position: absolute; top: 100px; right: 0; left: 0;
	
	display: block;
	
	margin: auto;
	padding: 0 10px;
	
	font-family: Raleway;
	font-weight: bold;
	font-size: 46px;
	line-height: 48px;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 0 6px #000;
	color: #fff;
}

.banner-principal > div > img {
	position: absolute; right: 0; bottom: 50px; left: 0;
	
	display: block;
	
	margin: auto;
	
	width: 80%; max-width: 1300px;
	height: auto;
}

@media all and (orientation: portrait) {
	.banner-principal > div > img {
		position: absolute; right: 0; bottom: 150px; left: 0;

		display: block;

		margin: auto;

		width: 99%;
		height: auto;
	}
}


.banner {
	margin: auto;

	width: 100%;
	height: 600px;
}

.banner > div {
	margin: auto;
	
	width: 80%; max-width: 1000px;
	height: 100%;
}

.banner > div > div {
	display: table;

	height: 100%;

	float: left;
}

.banner > div > div:nth-of-type(1) {
	width: 60%;
	
	text-align: center;
}

.banner > div > div:nth-of-type(2) {
	width: 40%;
	
	text-align: left;
}

.banner > div > div > div {
	display: table-cell;
	vertical-align: middle;	
}

.banner > div > div > div > img {
	display: block;
	
	margin: auto;
	
	width: 80%; max-width: 450px;
	height: auto;
}

@media all and (orientation: portrait) {
	.banner > div > div:nth-of-type(1), .banner > div > div:nth-of-type(2) {
		width: 100%;
		height: 50%;

		text-align: center;
	}
	
	.banner > div > div:nth-of-type(2) > div > img {
		display: block;

		margin: auto;
		padding: 0 0 50px 0;

		width: auto;
		height: 250px;
	}
}

.fondo-borrego {
	background: url(../img/principal/fondos/abono-borrego.jpg) 50% 50%;
	background-size: auto 100%;
}

.fondo-flores, .fondo-triple17, .fondo-composta  {
	background: url(../img/principal/fondos/flores-triple-composta.jpg) 50% 50%;
	background-size: auto 100%;
}

.fondo-frutales {
	background: url(../img/principal/fondos/frutales.jpg) 50% 50%;
	background-size: auto 100%;
}

.fondo-pasto, .fondo-sulfato {
	background: url(../img/principal/fondos/sulfato-pasto.jpg) 50% 50%;
	background-size: auto 100%;
}

.fondo-rosas, .fondo-interior {
	background: url(../img/principal/fondos/rosas-interior.jpg) 50% 50%;
	background-size: auto 100%;
}

.fondo-humus {
	background: url(../img/principal/fondos/humus.jpg) 50% 50%;
	background-size: auto 100%;
}

.fondo-tabaco {
	background: url(../img/principal/fondos/tabaco.jpg) 50% 50%;
	background-size: auto 100%;
}

.fondo-ultraplus {
	background: url(../img/principal/fondos/ultraplus.jpg) 50% 50%;
	background-size: auto 100%;
}



/* quienes somos */


.quienes-somos {
	float: left;
	
	width: 100%;
	
	padding: 50px 0 0 0;
	
	background: url(../img/principal/fondo.jpg) 50% 50%;
	background-size: cover;
	
	text-align: left;
}

.quienes-somos > div {
	display: table;

	position: relative;
	height: 100%;
}

@media all and (orientation: portrait) {
	.quienes-somos { height: 1000px }
	.quienes-somos > div:first-of-type { float: left; width: 100%; height: 50%; }
	.quienes-somos > div:last-of-type { float: right; width: 100%; height: 50%; }
}

@media all and (orientation: landscape) {
	.quienes-somos { height: 550px }
	.quienes-somos > div:first-of-type { float: right; width: 50%; }
	.quienes-somos > div:last-of-type { float: left; width: 50%; }
}

.quienes-somos > div > div {
	display: table-cell;
	vertical-align: middle;
	
	text-align: justify;
	color: #fff;
}

@media all and (orientation: portrait) {
	.quienes-somos > div > div { padding: 0 10vw; }
}

@media all and (orientation: landscape) {
	.quienes-somos > div > div { padding: 0 15vw 0 0; }
}

.quienes-somos img {
	position: absolute;
	
	display: block;
	vertical-align: bottom;
	
	margin: auto;
	
	width: 90%; max-width: 500px;
	height: auto;
}

@media all and (orientation: portrait) {
	.quienes-somos img { right: 0; bottom: 0; left: 0; }
}

@media all and (orientation: landscape) {
	.quienes-somos img { right: 5vw; bottom: 0; }
}


/* productos */


.productos {
	width: 100%; max-width: none;
	
	background: url(../img/productos/fondo.jpg) 50% 50% fixed no-repeat;
	background-size: cover;
}

.productos > div {
	margin: auto;
	
	width: 90%; max-width: 1500px;
}

.productos span {
	display: block;
	
	padding: 30px 0 50px 0;
	
	text-align: center;
	color: #fff;
}

.productos a {	
	display: block;
	float: left;
	
	margin: 0 0 5vw 0;
}

.productos img {
	display: block;
	
	margin: auto;
	
	width: 80%;
	
	background: #fff;
	box-shadow: 0 10px 20px 0 #000;
	border-radius: 20px;
}

.productos a:hover img {
	box-shadow: 0 10px 20px 0 #52914c;
	filter: brightness(130%);
}

@media all and (orientation: portrait) {
	.productos a { width: 33.3333333%; }
}

@media all and (orientation: landscape) {
	.productos a { width: 25%; }
}


.descripcion {
	float: left;
	
	margin: 0;
	padding: 0;
	
	width: 100%;
	
	text-align: justify;
}

.descripcion li {
	list-style: none;
	
	padding: 40px 0 0 0;
}

.descripcion > li:first-of-type { float: left; width: 60%; }
.descripcion > li:last-of-type { float: right; width: 30%; }

@media all and (orientation: portrait) {
	.descripcion > li { width: 100% !important; }
}

.ficha {
	display: block;
	
	margin: 20px 0 0 0;
	padding: 20px;
	
	background: #52914c;
		
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
}

a.ficha:hover { color: #f8ed41; }

.descripcion img {
	display: block;

	margin: auto;
	
	width: 100%; max-width: 450px;
	
	border-radius: 20px;
}


/* tips jardinería */

menu {
	display: block;
	float: left;

	margin: 0 0 50px 0;
	padding: 0;
	
	width: 100%;
	
	font-size: 16px;
	line-height: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: left;
}

menuitem {
	display: block;
	float: left;
}

menuitem a {
	display: table;
	
	width: 90%;
}

menuitem a:hover { color: #FF0000; }

menuitem span {
	display: table-cell;
	vertical-align: middle;

	height: 100%;
	
	border-bottom: 1px dotted #999;
}

@media all and (orientation: portrait) {
	menuitem { width: 100%; }
	menuitem a { height: 45px; }
}

@media all and (orientation: landscape) {
	menuitem { width: 50%; }
	menuitem a { height: 45px; }
	
	menu > menuitem:nth-of-type(even) > a { padding: 0 0 0 5%; }
}

section h2 {
	margin: 0 0 40px 0;

	column-span: all;

	text-align: left;
}

article {
	display: block;
	clear: both;
	
	margin: 0 0 50px 0;
	padding: 0 0 50px 0;

	column-gap: 50px;
	column-rule: 1px dotted #999;
	
	border-bottom: 1px solid #999;
	
	text-align: justify;
}

section > article:last-of-type { margin: 0; border: none; }

@media all and (orientation: portrait) {
	article { column-count: 1; }
}

@media all and (orientation: landscape) {
	article { column-count: 3; }
}

article img {
	display: block;
	
	margin: 0 0 30px 0;
	
	width: 100%;
	height: auto;
	
	column-span: all;
}


/* contacto */

.contacto {
	font-size: 150%;
	line-height: 100%;
	text-align: center;
}

.contacto span, .contacto a {
	display: block;

	color: #52914c;
}

