﻿/*

	-------------------	
	DON JULIO
	-------------------

	CSS STRUCTURE
	-----------------
	01. Import Font Family
	02. CSS Reset
	03. General Settings
	04. Header Settings
	05. About Settings
	06. Portfolio Settings
	07. Contact Settings
	08. Footer Settings
	09. Responsive Settings
	
	-------------------	
	TEMPLATE BY BRUK.HU
	-------------------
	
*/

/* 01 IMPORT FONT FAMILIES
--------------------------------------------------------------- */
@import url('../css2');

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

/* 03 GENERAL SETTINGS
--------------------------------------------------------------- */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.clear{
	clear: both;
}

body {
	background: #fff;
	font: 300 14px 'Open Sans', sans-serif;
	text-align: center;
	color: #999;
}

.body_hidden { overflow: hidden; }

p {
	line-height: 2;
}

a {
	color: #a67d4a;
	text-decoration: none;
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	-ms-transition: all 300ms linear;
	transition: all 300ms linear
}

a:hover { color: #999; }

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
}

/* Section Titles */
.section_title {
	margin: 0 0 15px 0;
	color: #a67d4a;
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: 6px;
}

.section_subtitle {
	margin: 0 0 50px 0;
	font: italic 18px 'Open Sans', sans-serif;
	text-transform: none;
}

/* Containers */
.container_small, .container_big {
	width: 100%;
	margin: 0 auto;
}

.container_small {max-width: 900px;}
.container_big {max-width: 1050px;}

/* Fade-in Animation */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
 
.fade-in {
    opacity:0;
    -webkit-animation:fadeIn ease-in 1;
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;
 
    -webkit-animation-fill-mode:forwards;
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;
 
    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    animation-duration:1s;
}
 
.fade-in.cmon {
	-webkit-animation-delay: 0.3s;
	-moz-animation-delay: 0.3s;
	animation-delay: 0.3s;
}

/* 04 HEADER SETTINGS
--------------------------------------------------------------- */

#welcome {
	background: url('img/photo.jpg') no-repeat center;
	background-size: cover;
	width: 100%;
	height: 100vh;
	position: relative;
}

.fade {
	background: rgba(17,17,17, 0.4);
	width: 100%;
	height: 100%;
}

/* Header Titles */
.header_title {
	color: #fff;
	font-size: 30px;
	letter-spacing: 6px;
	margin: 0 0 20px 0;
}

.header_subtitle {
	color: #a67d4a;
	font-size: 14px;
	letter-spacing: 6px;
}

.scroll_down {
	width: 100%;
	position: absolute;
	bottom: 25px;
	text-align: center;
	color: #fff;
}

/* Vertical centering */
.parent {display: table;}

.child {
    display: table-cell;
    vertical-align: middle;
}

/* Menu */
.burger {
	position: fixed;
	top: 50px;
	left: 50px;
	height: 40px;
	width: 40px;
	cursor: pointer;
	z-index: 100;
	-webkit-transition: opacity .25s ease;
	-moz-transition: opacity .25s ease;
	-o-transition: opacity .25s ease;
	-ms-transition: opacity .25s ease;
	transition: opacity .25s ease;	
}

.burger.active .top {
	-webkit-transform: translateY(10px) translateX(0) rotate(45deg);
	-ms-transform: translateY(10px) translateX(0) rotate(45deg);
	transform: translateY(10px) translateX(0) rotate(45deg);
}
.burger.active .middle {
  opacity: 0;
}
.burger.active .bottom {
	-webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
	-ms-transform: translateY(-10px) translateX(0) rotate(-45deg);
	transform: translateY(-10px) translateX(0) rotate(-45deg);
}
.burger span {
	background: #a67d4a;
	border: none;
	height: 2px;
	width: 100%;
	position: absolute;
	top: 10px;
	left: 0;
	-webkit-transition: all .35s ease;
	-moz-transition: all .35s ease;
	-o-transition: all .35s ease;
	-ms-transition: all .35s ease;
	transition: all .35s ease;	
	cursor: pointer;
}

.burger span:nth-of-type(2) { top: 20px; }
.burger span:nth-of-type(3) { top: 30px; }

.navigation {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	opacity: 1;
	visibility: hidden;
	-webkit-transition: opacity .35s, visibility .35s, width .35s;
	-moz-transition: opacity .35s, visibility .35s, width .35s;
	-o-transition: opacity .35s, visibility .35s, width .35s;
	-ms-transition: opacity .35s, visibility .35s, width .35s;
	transition: opacity .35s, visibility .35s, width .35s;		  
	z-index: 50;
}
.navigation:before {
	content: '';
	background: #111;
	left: -105%;
	top: 0;
	width: 100%;
	height: 100vh;
	position: absolute;
	-webkit-transition: left .35s ease;
	-moz-transition: left .35s ease;
	-o-transition: left .35s ease;
	-ms-transition: left .35s ease;
	transition: left .35s ease;	
}

.navigation.open, .navigation.close {
	opacity: 1;
	visibility: visible;
	height: 100%;
}
.navigation.open:before, .navigation.close:before { left: 0; }

.navigation.open li {
	-webkit-animation: fadeInRight .5s ease forwards;
	-moz-animation: fadeInRight .5s ease forwards;
	animation: fadeInRight .5s ease forwards;
	-webkit-animation-delay: .35s;
	-moz-animation-delay: .35s;
	animation-delay: .35s;
}
.navigation.open li:nth-of-type(2) {
	-webkit-animation-delay: .45s;
	-moz-animation-delay: .45s;
	animation-delay: .45s;
}
.navigation.open li:nth-of-type(3) {
	-webkit-animation-delay: .55s;
	-moz-animation-delay: .55s;
	animation-delay: .55s;
}

.navigation nav { position: relative; }

.navigation ul {
	list-style: none;
	display: inline-block;
	position: relative;
	margin: 10vh 0 0 0;
	padding: 0;
	height: 80vh;
}

.navigation ul li {
	display: block;
	position: relative;
	opacity: 0;
	height: 15vh;
	line-height: 15vh;
}

.navigation ul li  a {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-size: 24px;
	letter-spacing: 6px;
}

.navigation ul li  a:hover { color: #fff; }

.simple_line {
	background: #252525;
	position: absolute;
	bottom: 0;
	left: calc(50% - 25px);
	width: 50px;
	height: 1px;
}


@-webkit-keyframes fadeInRight {
  0% {
	opacity: 0;
	left: 20%;
  }
  100% {
	opacity: 1;
	left: 0;
  }
}

@-moz-keyframes fadeInRight {
  0% {
	opacity: 0;
	left: 20%;
  }
  100% {
	opacity: 1;
	left: 0;
  }
}

@-ms-keyframes fadeInRight {
  0% {
	opacity: 0;
	left: 20%;
  }
  100% {
	opacity: 1;
	left: 0;
  }
}

/* menú a carnicería */

.menu .carniceria-icon {
	height: 18px;
	width: 18px;
	opacity: 0.6;
	margin-left: 0.3em;
}

.carniceria-button {
	font-size: 1.5em;
	position: absolute;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	top: 60px;
	right: 50px;
}

.carniceria-button a {
    color: white!important;
}

.carniceria-button a:hover {
	color: white;
}

/* 05 ABOUT SETTINGS
--------------------------------------------------------------- */

#about {
	background: #f5f5f5;
	padding: 100px 50px;
}

.button {
	margin: 40px 0 0;
	padding: 0 20px;
	height: 50px;
	line-height: 50px;
	border: 2px solid #a67d4a;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	-ms-transition: all 300ms linear;
	transition: all 300ms linear
}

.button:hover {
	background: #a67d4a;
	color: #fff;
}


/* 07 CONTACT SETTINGS
--------------------------------------------------------------- */

#contact {
	background: #fff;
	padding: 100px 50px;
}

.info {
	display: flex;
	display: -webkit-flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: space-between;
	-webkit-flex-flow: row wrap;
	-webkit-justify-content: space-between;
	-webkit-align-content: space-between;
	margin: 0 0 50px 0;
}

.info div {
	flex: 0 0 31.5%;
	-webkit-flex: 0 0 31.5%;
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;	
}

.info div:first-child,
.info div:last-child {
	border: 0;
}

.info .fa {
	font-size: 36px;
	margin: 0 0 10px 0;
}

.info h3 {
	color: #a67d4a;
	margin: 0 0 15px 0;
}

/* Social icons */
.social {
	max-width: 100px;
	display: flex;
	display: -webkit-flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: space-between;
	-webkit-flex-flow: row wrap;
	-webkit-justify-content: space-between;
	-webkit-align-content: space-between;
	margin: 0 auto;
}

.social a {
	flex: 0 0 30px;
	-webkit-flex: 0 0 30px;
	border: 2px solid #a67d4a;
	height: 30px;
	line-height: 26px;
	font-size: 16px;
	color: #a67d4a;
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	-ms-transition: all 300ms linear;
	transition: all 300ms linear
}

.social a:hover {
	background: #a67d4a;
	color: #fff;
}

/* 08 FOOTER SETTINGS
--------------------------------------------------------------- */

footer {
	background: #f5f5f5;
}

.container_footer {
	width: 100%;
	max-width: 1150px;
	margin: 0 auto;
	padding: 50px;
	overflow: hidden;
}

footer p {
	line-height: 1;
}

.left, .right {	width: 50%;}

.left {
	float: left;
	text-align: left;
}

.left span {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
}

.right {
	float: right;
	text-align: right;
	text-transform: uppercase;
}

.right a { color: #999 }

.right a:hover { color: #a67d4a }

/* 09 RESPONSIVE SETTINGS
--------------------------------------------------------------- */

/* Width */
@media (max-width: 768px) {
	.burger {
		top: 25px;
		left: 25px;
		height: 35px;
		width: 35px;
	}

	.carniceria-button {
		top: 32px;
		right: 25px;
	}

	.section_subtitle { margin: 0 0 30px 0; }
	#about, #contact { padding: 80px 25px; }
	
	#portfolio { padding: 80px 25px 65px; }
	
	.works article {
		flex: 0 0 48%;
		-webkit-flex: 0 0 48%;
		margin: 0 0 15px;
	}
	
	.featherlight .featherlight-close-icon { top: -20px !important; }
	.featherlight-iframe .featherlight-content { width: 65% !important; }
	
	.container_footer { padding: 60px 25px; }
}

@media (max-width: 480px) {
	.works article {
		flex: 0 0 100%;
		-webkit-flex: 0 0 100%;
	}
	
	.info div {
		flex: 0 0 100%;
		-webkit-flex: 0 0 100%;
		padding: 20px 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 1px solid #e1e1e1;
		border-top: 1px solid #e1e1e1;
	}
	
	.info div:first-child { padding-top: 0;}

	.info div:last-child { padding-bottom: 0;}

	.info { margin: 0 0 35px 0; }
		
	.social { max-width: 200px; }
}

@media (max-width: 360px) {
	.container_footer { padding: 30px 25px; }
	.left, .right {
		width: 100%;
		text-align: center;
	}
	.left { padding: 0 0 15px 0;}
}