/* basic settings and resets */
* {
	box-sizing: border-box;
}
html, body {
	height: 100%;
}
header, section {
	min-height: 500px;
}
*, body, p, table, li, h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', Arial, Helvetica, sans-serif;
}
header, section, footer {
	display: block;
	position: relative;
	height: 100vh;
}
nav {
	display: none;
}

/* custom utility classes for foundation */

.centered-text {
	text-align:center;
}

.headspace-20 {
  margin-top: 20px;
}

.valign-middle {
    display: table;
}

.valign-middle .columns {
    display: table-cell;
    vertical-align: middle;
}

.valign-middle .columns,
.valign-middle [class*="column"] + [class*="column"]:last-child {
    float: none;
}
.header {
	background: #549ad5 url('/images/initial-background.jpg') no-repeat;
	background-size: cover;
	background-position: 50% 0;
	position: relative;
	min-height: 100vh;
	transition: all 0.5s ease;
	overflow: hidden;
}
img.encircle {
	width: 100%;
	height: auto;
	border-radius: 50%;
	box-shadow: rgba(150,150,150,0.5) 0 0 0.7em 0.2em;
}
a.next-section {
	display: block;
	position: absolute;
	bottom: 0;
	font-size: 1.4rem;
	text-align: center;
	color: #fff;
	cursor: pointer;
}
a.next-section i {
	margin-left: 1rem;
}
a.next-section span {
	display: inline-block;
	width: 0;
	overflow: hidden;
	max-height: 1rem;
	transition: 0.2s;
}
a.next-section:hover span {
	width: 6em;
}
a.next-section:hover {
	background-color: rgba(0,0,0,.1);
}
.lighten, .lighten h1, .lighten h2, .lighten h3, .lighten h4, .lighten h5, .lighten h6, .lighten p {
	color: #fff;
	text-shadow: rgba(0,0,0,0.5) 1px 1px 5px;
}
header .fa {
	margin-left: 0.3em;
}
header p, section p {
	font-size: 1.4rem;
	line-height: 1.5;
}
section .photos img {
	border: 10px solid #fff;
	border-radius: 50%;
	cursor: pointer;
}
section p a {
	text-decoration: none;
	color: navy;
	background-color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 1rem;
	text-shadow: none;
	box-shadow: rgba(0,0,0,0.15) 0px 0px 5px 0;
}
section p.outlink {
	margin: 0 2em 0 0;
}
section li {
	font-size: 1.4rem;
}
.countries li {
	padding-bottom: .45rem;
}
#travel {
	background: url('/images/bg-travel-guatemala-guatemala-city.jpg');
	background-size: cover;
}
#digital-marketing {
	background: url('/images/bg-travel-huacachina-dunes-peru.jpg');
	background-size: cover;
}
#coffee {
	background: url('/images/bg-travel-coffee-salento-colombia.jpg');
	background-size: cover;
}
#section-x {
	background: url('/images/bg-travel-el-yaque-venezuela.jpg');
	background-size: cover;
}
footer {
	background-color: #085a78;
}
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.6);
	z-index: 5;
	width: 100%;
	height: 100%;
	display: none;
}
#overlay img {
	display: block;
	margin: 3% auto 0;
	position: relative;
	z-index: 10;
	width:auto;
	height: 85%;
}
#overlay p {
	color: #fff;
	text-align: center;
}
#overlay img:target, #overlay img:target + #overlay {
	display: block;
	opacity: 2;
}

/* small */
	header {
		padding: 20px 20px 0 20px;
		text-align: center;
	}
	header h1 {
		margin-top: 0;
	}
	img.encircle {
		border: 1rem solid #fff;
	}
/* medium */
@media only screen and (min-width: 40.0625em) {
	header {
		padding: 130px 20px 0 20px;
		text-align: center;
	}
	img.encircle {
		border: 0.85rem solid #fff;
	}
}

/* large */
@media only screen and (min-width: 64.0625em) {
	header {
		padding: 100px 20px;
	}
	header h1 {
		margin-top: 7rem;
	}
	img.encircle {
		border: 1.25rem solid #fff;
	}
}
