/*
	Stylesheet for polopuesto.com
	By Erin Kodama and Kyle Keating
	erinkodama.com
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    CSS RESET
\*------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

@font-face {
    font-family: 'GoBoldHollow';
    src: url("/css/fonts/GoboldHollowBold.otf") format("opentype");
}

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:400 22px/1.4 'Molengo', Arial, sans-serif;
	color:#111;
	background-color: #CCC;
	overflow-x: hidden;
}


p, div, ul, ol, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { 
	margin-top: 0; 
	margin-bottom: 12px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-weight: 600;
	line-height: 1.15em;
}
h1, .h1 {
	font-size: 46px;
}
h2, .h2 2 {
	font-size: 38px;
	margin-bottom: 4px;
}
h3, .h3 {
	font-size: 22px;	
	margin-bottom: 2px;
}
h4, .h4 {
	font-size: 20px;	
	margin-bottom: 2px;

}
h5, .h5 {}
h6, .h6 {}


.highlight {
	color: #96224f;
}

.larger {
	font-size: 1.2em;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
	height: auto;
}
a {
	color:#111;
	text-decoration:none;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}
a:hover {
	color:#96224f;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #4fd036;
}

.button, button, input[type="submit"]{
	padding: 10px 30px;
	background: #4fd036;
	color: #FFF;	
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
	transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
	display: inline-block;
    border-radius: 5px;
}

.button.alt {
	background: #222;
}

.button.alt:hover {
	background: #333;
}

.cta {
	text-align: center;
	margin: 24px auto;
	text-transform: uppercase;
	font-weight: bold;
}

.button:hover, button:hover, input[type="submit"]:hover{
	background: #45b42f;
	color: #FFF;	
	box-shadow: none;
}

strong, b {
	font-weight: 600;
}

em {
	font-style: italic;
}

.dark-text {
	color: #000 !important;
}

.text-shadow {
	text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

.accessible {
	position: absolute;
	text-indent: -9999px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
	margin-bottom: 15px;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*------------------------------------*\
    ANIMATIONS
\*------------------------------------*/

.animation-element {
	position: relative;
	transition: .6s all ease;
}

.slow {
	transition: 1.2s all ease;
}

.delay-short {
	-webkit-transition-delay: .3s; 
    transition-delay: .3s;
}

.delay {
	-webkit-transition-delay: 1s; 
    transition-delay: 1s;
}

.fade-in {
	opacity: 0;
}

.fade-in.in-view {
	opacity: 1;
}


.slide-left {
	opacity: 0;
	-webkit-transform: translateX(120px);
	-ms-transform: translateX(120px);
	transform: translateX(120px);
}

.slide-right {
	opacity: 0;
	-webkit-transform: translateX(-120px);
	-ms-transform: translateX(-120px);
	transform: translateX(-120px);
}

.slide-up {
	opacity: 0;
	-webkit-transform: translateY(120px);
	-ms-transform: translateY(120px);
	transform: translateY(120px);
}

.grow {
	opacity: 0;
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-o-transform: scale(0.5);
	transform: scale(0.5);
}

.grow.in-view {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.slide-left.in-view,
.slide-right.in-view,
.slide-up.in-view{
	opacity: 1;
	-webkit-transform: translate3d(0, 0 , 0);
	-ms-transform: translate3d(0, 0 , 0);
	transform: translate3d(0, 0 , 0);
}


.text-highlight {
	color: inherit;
}

.text-highlight.in-view {
	color: #34a31f;
}

.rotate {
	opacity: 0;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);   
	transform: rotateY(180deg);
	display: inline-block;
}

/*
.scaling-svg-container {
	position: relative; 
	height: 0; 
	width: 100%; 
	padding: 0;
	padding-bottom: 50%; 
}

.scaling-svg {
	position: absolute; 
	height: 100%; 
	width: 100%; 
	left: 0; 
	top: 0;
}
*/



/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.wrapper {
	max-width:1170px;
	width:95%;
	margin:0 auto;
	position:relative;
}

/* Flexbox */

.flex-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.justify-content-center {
	-ms-flex-pack: center;
	justify-content: center;
}

.justify-space-between,
.justify-space-between-md {
	-ms-flex-pack: space-between;
	justify-content: space-between;  
}

/* Vertical Alignment */

.align-items-top {
	-ms-flex-align: top;
	align-items: top;
} 

.align-items-center {
	-ms-flex-align: center;
	align-items: center;
}

.align-items-bottom {
	-ms-flex-align: baseline;
	align-items: baseline;
}


/* columns */

.row {
	clear: both; 
	display: block; 
	margin: 0 -1.25%;
}

.row.three-cols { 
	margin: 0 -.75%;
}

.col {
	position: relative;
	float: left;
	padding: 0 1.25%;	
}


.col.three-cols {
	padding: 0 .75%;
}

.one-half { width: 50%;}
.one-third { width: 33.33%; }
.two-third { width: 66.66%; }
.one-fourth { width: 25%; }
.three-fourth { width: 75%; }
.one-fifth { width: 20%; }
.two-fifth { width: 40%; }
.three-fifth { width: 60%; }
.four-fifth { width: 80%}



/* HEADER */


/* CONTENT SECTIONS */

.content-section {
	position: relative;
	height: 100vh;
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-color: #222;
	margin: 0;
	padding: 0;
}

.content-section .wrapper {
	height: 100%;
}

.content-section .callout-text {
	font-family: 'GoBoldHollow', Arial, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 110px;
	line-height: 1.3em;
	color: #FFF;
	text-align: center;
}

.content-section .callout-text.smaller {
	font-size: 95px;
}


/* Wall */

.content-section.wall {
	background-image: url('../images/wall_bottle.jpg');
	background-position: right bottom;
}

#wall-header .logo {
	width: 66%;
	max-width: 600px;
	padding: 6rem 0 0;
}

#wall-footer {
	position: absolute;
	bottom: 0;
	width: 100%;
}

#wall-footer .footer-row {
	margin-bottom: 9rem;
	position: relative;
}


#wall-footer .footer-text img {
	width: 100%;
	max-width: 500px;
}


#wall-footer .contact-email {
	position: absolute;
	right: 0;
	bottom: 0;
	text-align: right;
}

.arrow-down {
	position: absolute;
	bottom: 0;
	left: 50%;
	height: 50px;
	width: 100px;
	background: url('/images/arrow-down.png') no-repeat;
	background-position: center 22px;
	background-size: 35px;
	transform: translateX(-50%);
	opacity: .5;
	cursor: pointer;
	background-color: rgba(0,0,0,.8);
	border-radius: 100px 100px 0 0;
	transition: 0.4s all ease;
	-webkit-transition: 0.4s all ease;
	margin: 0;
}

.arrow-down:hover {
	opacity: .8;
}


/* Hands */

.content-section.hands {
	background-image: url('../images/hands-holding-wine-glass-min.jpg');
}

.content-section.hands .wrapper {
	padding-top: 21%;
}

/* Harvest */

.content-section.harvest {
	background-image: url('../images/harvest-estancia-los-arboles-min.jpg');
}

.content-section.harvest .wrapper,
.content-section.truck .wrapper,
.content-section.vine .wrapper,
.content-section.soils .wrapper,
.content-section.red-rock .wrapper,
.content-section.barrels .wrapper,
.content-section.property .wrapper {
	padding-top: 6.5%;
}

.content-section.harvest .wrapper {
	max-width: 800px;
}

/* Truck */

.content-section.truck {
	background-image: url('../images/red-truck-min.jpg');
	background-position: center;
}


/* Orujo */

.content-section.orujo {
	background-image: url('../images/orujo-in-top-of-press-min.jpg');
}

.content-section.orujo .callout-text {
	position: absolute;
	width: 100%;
	bottom: 8%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

/* Soils */

.content-section.soils {
	background-image: url('../images/soil-sand-rocks-min.jpg');
}

.content-section.soils .callout-text {
	text-align: left;
}

/* Red Rock */

.content-section.red-rock {
	background-image: url('../images/red-rock-soil-min.jpg');
}

/* Vine */

.content-section.vine {
	background-image: url('../images/criolla-vine-min.jpg');
}

/* Bunch */

.content-section.bunch {
	background-image: url('../images/criolla-bunch-min.jpg');
	background-position: center;
}

.content-section.bunch .wrapper {
	padding-top: 26%;
}

/* Harvest Box */

.content-section.harvest-box {
	background-image: url('../images/harvest-box-min.jpg');
}

.content-section.harvest-box .wrapper,
.content-section.pressed .wrapper,
.content-section.squeezed .wrapper {
	padding-top: 11%;
}

/* Feet */

.content-section.feet {
	background-image: url('../images/feet-in-egg-min.jpg');
}

.content-section.feet .wrapper {
	padding-top: 29%;
}

/* Pressed */

.content-section.pressed {
	background-image: url('../images/solo-press-min.jpg');
	background-position: center;
}


/* Squeezed */

.content-section.squeezed {
	background-image: url('../images/press-squeezed-min.jpg');
}

/* Barrels */

.content-section.barrels {
	background-image: url('../images/barrels-dark-cellar-min.jpg');
}

.content-section.barrels .callout-text {
	text-align: left;
}

/* Glass in Sun */

.content-section.glass-sun {
	background-image: url('../images/glass-sun-min.jpg');
	background-position: center;
}

.content-section.glass-sun .wrapper {
	max-width: 960px;
	padding-top: 16%;
	margin-left: 10%;
}

/* Property */

.content-section.property {
	background-image: url('../images/finca-76-adentro-min.jpg');
}


.content-section.property .footer-logo {
	max-width: 600px;
	text-align: center;
	margin: 0 auto;
}

.photo-credits {
	font-weight: bold;
	color: #fff;
	position: absolute;
	width: 100%;
	bottom: 6%;
	text-align: right;
}

.photo-credits p {
	margin-bottom: 5px;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1024px) {

	.content-section .callout-text {
		font-size: 90px;
	}
	
	.content-section .callout-text.smaller {
		font-size: 75px;
	}
	
	.content-section.harvest .wrapper {
	    max-width: 600px;
	}
	
	.content-section.feet .wrapper {
	    padding-top: 36%;
	}
	
	.content-section.glass-sun .wrapper {
		margin-left: 6%;
		width: 77%;
	}
	
	.content-section.property .footer-logo {
    	max-width: 450px;
	}
}

@media only screen and (max-width:960px) {

	.content-section .callout-text {
		font-size: 75px;
	}
	
	.content-section .callout-text.smaller {
		font-size: 60px;
	}
	
	.content-section.harvest .wrapper, 
	.content-section.truck .wrapper, 
	.content-section.vine .wrapper, 
	.content-section.soils .wrapper, 
	.content-section.red-rock .wrapper, 
	.content-section.barrels .wrapper, 
	.content-section.property .wrapper {
	    padding-top: 10%;
	}

	.content-section.glass-sun .wrapper {
    	max-width: 650px;
    	padding-top: 19%;
	}
}

@media only screen and (max-width:768px) {

	.text-shadow {
		text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
	}

	.content-section .callout-text {
		font-size: 60px;
	}
	
	.content-section .callout-text.smaller {
		font-size: 45px;
	}
	
	.content-section.hands .wrapper {
	    padding-top: 27%;
	}
	
	.content-section.harvest .wrapper {
	    max-width: 400px;
	}
	
	.content-section.orujo .callout-text {
		bottom: 11%;
	}
	
	.content-section.feet .wrapper {
	    padding-top: 41%;
	}
	
	.content-section.glass-sun .wrapper {
	    max-width: 550px;
	    padding-top: 29%;
	}
	
	.content-section.property .footer-logo {
	    max-width: 350px;
	}
	
	.photo-credits {
		font-size: 16px;
	}

}

@media only screen and (max-width:560px) {

	.content-section .callout-text {
		font-size: 50px;
	}
	
	.content-section .callout-text.smaller {
		font-size: 35px;
	}
	
	.content-section.hands .wrapper {
	    padding-top: 37%;
	}
	
	.content-section.harvest .wrapper, 
	.content-section.truck .wrapper, 
	.content-section.vine .wrapper, 
	.content-section.soils .wrapper, 
	.content-section.red-rock .wrapper, 
	.content-section.barrels .wrapper, 
	.content-section.property .wrapper {
	    padding-top: 15%;
	}
	
	.content-section.harvest-box .wrapper, 
	.content-section.pressed .wrapper, 
	.content-section.squeezed .wrapper {
	    padding-top: 25%;
	}
	
	.content-section.feet .wrapper {
	    padding-top: 57%;
	}
	
	.content-section.glass-sun .wrapper {
	    padding-top: 40%;
	}

}

@media only screen and (max-width:480px) {

	/* Structure */
	
	/* html element 62.5% font-size for REM use */
	html {
		font-size: 37.5%;
	}
	
	
	/* Columns */
	.row { margin: 0;}
	.col { 
		float: none; 
		margin: 0 0 20px; 
		padding: 0; 
		border-left: 0 none;
		border-right: 0 none;   
	}
	.col.one-half,
	.col.one-third,
	.col.two-third,
	.col.one-fourth,
	.col.three-fourth,
	.col.one-fifth,
	.col.two-fifth,
	.col.three-fifth,
	.col.four-fifth { width: 100%; }

	
	/* CONTENT SECTIONS */
	
	.content-section.wall {
		background-image: url('../images/wall_bottle_mobile_v2.jpg');
	}
	
	#wall-header .logo {
		width: 85%;
		padding-top: 6rem;
	}

	#wall-footer .footer-text {
		text-align: center;
	}
	
	#wall-footer .footer-text img {
		max-width: 80%;
	}
	
	#wall-footer .contact-email {
	    position: relative;
	    right: auto;
	    bottom: auto;
	    text-align: center;
	}
	
	.arrow-down {
	    height: 40px;
	    width: 80px;
	    background-position: center 18px;
	    background-size: 28px;
	    border-radius: 80px 80px 0 0;
	}
	
	.content-section.hands .wrapper {
	    padding-top: 47%;
	}

	.content-section .callout-text {
		font-size: 45px;
	}
	
	.content-section.harvest .wrapper, 
	.content-section.truck .wrapper, 
	.content-section.vine .wrapper, 
	.content-section.soils .wrapper, 
	.content-section.red-rock .wrapper, 
	.content-section.feet .wrapper
	.content-section.barrels .wrapper, 
	.content-section.property .wrapper {
	    padding-top: 24%;
	}
	
	.content-section.harvest .wrapper {
	    max-width: 300px;
	}
	
	.content-section.bunch .wrapper {
	    padding-top: 34%;
	}
	
	.content-section.harvest-box .wrapper, 
	.content-section.pressed .wrapper, 
	.content-section.squeezed .wrapper {
	    padding-top: 40%;
	}
	
	.content-section.feet .wrapper {
	    padding-top: 72%;
	}
	
	.content-section.property .footer-logo {
	    max-width: 280px;
	}

}

@media only screen and (max-width:420px) {

	.content-section .callout-text {
		font-size: 40px;
	}

	.content-section.hands .wrapper {
	    padding-top: 60%;
	}
	
	.content-section.harvest .wrapper, 
	.content-section.truck .wrapper, 
	.content-section.vine .wrapper, 
	.content-section.soils .wrapper, 
	.content-section.red-rock .wrapper, 
	.content-section.feet .wrapper,
	.content-section.barrels .wrapper, 
	.content-section.property .wrapper {
	    padding-top: 28%;
	}
	
	.content-section.glass-sun .wrapper {
	    padding-top: 52%;
		width: 88%;
	}
	
	.content-section.property .footer-logo {
	    max-width: 230px;
	}
	
	.photo-credits {
		text-align: center;
	}
	
}

@media only screen and (max-width:380px) {

	.content-section .callout-text {
		font-size: 38px;
	}

	.content-section.harvest .wrapper, 
	.content-section.truck .wrapper, 
	.content-section.vine .wrapper, 
	.content-section.soils .wrapper, 
	.content-section.red-rock .wrapper, 
	.content-section.feet .wrapper, 
	.content-section.barrels .wrapper, 
	.content-section.property .wrapper {
	    padding-top: 36%;
	}
	
	.content-section.glass-sun .wrapper {
    	padding-top: 60%;
	}
	
}
@media only screen and (max-width:320px) {

	.content-section .callout-text {
		font-size: 36px;
	}
	.wrapper {
		width: 96%;
	}
	
	.content-section.harvest .wrapper, 
	.content-section.truck .wrapper, 
	.content-section.vine .wrapper, 
	.content-section.bunch .wrapper,
	.content-section.soils .wrapper, 
	.content-section.red-rock .wrapper, 
	.content-section.feet .wrapper, 
	.content-section.barrels .wrapper, 
	.content-section.property .wrapper {
	    padding-top: 40%;
	}
	
	.content-section.harvest .wrapper {
	    max-width: 280px;
	}
}
