@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Londrina+Solid');


body {
	background-color: #9CDAD9;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
}

#wrapper {
	width: 800px;
	margin: 30px auto auto;
	background-color: #fff;
	border-radius: 20px;
}

header {
	background-color: #fff;
	padding: 6px 20px 14px;
	overflow: auto;
	border-bottom: 4px solid #2bb6cd;
	border-top-right-radius: 20px;
	border-top-left-radius: 20px;
}

header img {
	float: left;
	width: 100px;
}

#header-content {
	margin-left: auto;
	margin-right: auto;
	width: 400px;
}

h1, h2, h3 {
	font-family: 'Londrina Solid', cursive;
}

h1 {
	font-size: 40px;
	font-weight: bold;
	margin-top: 30px;
	margin-left: 30px;
	float: left;
	color: #86c132;
}

h2 {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 12px;
}

h3 {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 12px;
}

#welcome {
	width: 40%;
	float: right;
	margin-right: 20px;
	text-align: right;
}

main {
    padding: 40px 20px;
}

nav {
	text-align: center;
	background-color: #f3d7ae;
	padding: 10px 0;
}

nav a {
	color: #2bb6cd;
	text-decoration: none;
}
p {
	margin-bottom: 16px;
}

ul {
	display:block;
}

li {
	display: inline-block;
	padding: 6px 20px;
	font-weight: bold;
}

/* ----- TRANSITIONS ----- */

#gallery {
	position: relative;
    width: 100%;
    height: 150px;
    padding: 0;
}

img {
	max-width: 100%;
}
.box {
	width: 200px;
	height: 133px;
	text-align: center;
}

.bahamas {
	position: absolute;
	top: 20px;
	left: 20px;
}

.hawaii {
	position: absolute;
	top: 20px;
	left: 280px;
}

.seychelles {
	position: absolute;
	top: 20px;
	right: 20px;
}
	
.islands .mask {
	position: absolute;
	left: 0;
	top: 0;
	width: 200px;
	height: 133px;
	background-color: rgba(255, 255, 255, 0.7);
	opacity: 0;
	transition: all 2s;
}

#gallery a {
	color: #000;
}

.islands h2,
.islands h2:hover {
	margin-top: 50px;
}

.islands h2:hover {
	transition-delay: 3s;
}

.islands:hover .mask {
	opacity: 1;
}