/* reset browser styles */

html, body, div, span, 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%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2;
}
ol { 
	padding-left: 1.4em;
	list-style: decimal;
}
ul {
	padding-left: 1.4em;
	list-style: square;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
} 

* { 
  box-sizing: border-box;
  }

/* RESET */

body {
	overflow-x: hidden;
	background-color: #fffefd;
}


/*Start NavBar*/
nav {
  height: 10vh;
  background: #fffefd; 
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  width: 55%;
  height: 100%;
  justify-content: space-around;
  align-items: center;
  margin-left: auto;
}

.nav-links li a {
  color: #0B9CB3;
  text-decoration: none;
  font-size: 24px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 1px;
}

.logo {
	display:block;
	width: 100px;
	height: 80px;
	position: absolute;
	top: -7%;
	}
h2 {
	font-family: 'Homemade Apple', cursive;
	font-size: 30px;
	text-decoration: none;
	letter-spacing: 1.3px;
	margin-left: 5%;
	position: absolute;
	top: 30%;
	color: black;
	
}

.nav-links a:hover {
  text-shadow: 2px 2px 15px #74BFF4;
}

/* End Header: NavBar and Logo */


.MainPhoto {
	max-width: 100%;
	height: auto;
	margin-bottom: 15%;
	border-bottom: solid #023C47;
}

.Introduction {
	/*background-color: #FFFEF9;
    border-bottom: double #DAD4EF;*/
	width: 100vw;
	height: 750px;
	
}

.mapintroRow {
	display: flex;
	
}

.AmalfiInfoCOL {
	flex: 50%;
	padding: 3% 0 0 5%;
	margin-right: 10%;
	
}

.AmalfiInfoCOL h3 {
	font-size: 36px;
	font-family: 'Homemade Apple', cursive;
	margin-bottom: 7%;
	text-align: center;
	margin-right: 7%;
	
}

.AmalfiInfoCOL > p {
	font-family: 'Raleway', sans-serif;
	font-size: 22px;
	margin-top: 2%;
	color: #00082D;
		
}

.AmalfiInfoCOL a {
	font-weight: bold;
	color: #4ACCCC;
}


.intro1 {
	line-height: 1.5;
	letter-spacing: 1px;
	font-family: 'Raleway', sans-serif;
	margin-bottom: 3%;
}
.intro2 {
	line-height: 1.5;
	letter-spacing: 1px;
	font-family: 'Raleway', sans-serif;
}

.mapCOL {
	flex: 50%;
	padding: 3%;
	margin-left: 5%;
}


.amalfimap {
	max-width: 650px;
	box-shadow: .1px .1px 5px .1px #AAAAAA;
}

.History {
	background-color: #FFF0F8;
	width: 100vw;
	height: 700px;
	line-height: 1.5;
}

.History h3 {
	font-family: 'Homemade Apple', cursive;
	font-size: 34px;
	text-align: center;
	padding-top: 5%; 
	
}

.History p {
	letter-spacing: 1px;
	font-size: 20px;
	text-align: center;
	font-family: 'Raleway', sans-serif;
}

.hist1 {
	padding-top: 5%;
	padding-left: 15%;
	padding-right: 15%;
	margin-bottom: 4%;
}

.grapedecor {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 120px;
	padding-bottom: 3%;
}
.hist2 {
	padding-left:15%;
	padding-right:15%;
	padding-bottom: 5%;
}

.promoSlides {
	padding-top:15%;
	height: 1300px;
	/*background-color: #EFE8DA;*/

}

.promoSlides h3 {
	font-size: 42px;
	font-family: 'Homemade Apple', cursive;
	text-align: center;
	letter-spacing: 1.8px;
	padding-bottom: 15%;
	}


.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1200px;
  position: relative;
  margin: auto;
  /*margin-top: 5%;
  padding-top:5%;*/
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
/*  color: #f2f2f2; */
  font-size: 2.1em;
  font-family: 'Raleway', sans-serif;
  padding: 8px 12px;
  position: absolute;
  bottom: 5px;
  width: 100%;
  text-align: center;
  
}

.one {
color: #009A9A;
	background: white;
	
}
.two {
	color: #009A9A;
	background: white;
	
}

.three {
	color: #009A9A;
	background: white;
}

.four {
	color:#009A9A;
	background: white;
}

.text a {
	color: #EEC92A;
	text-decoration: none;
}

.text a:hover {
	font-size: 120%;
	text-decoration: underline;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/*
.footerlist {
	display: inline-block;
	text-align: center;
	border-top: double #DAD4EF;
	background-color: rgba(74,204,204,.5);
	background: linear-gradient(to bottom, rgba(255,233,162,.2) 40%,
	rgba(74,204,204,.3));
	font-family: 'Raleway', sans-serif;
	width: 100%;
	height: 30vh;
	margin-top: 15%;
	padding-top: 20%;
	}


*/

footer {
	display: flex;
	justify-content: space-between;
	position: relative;
	border-top: double #DAD4EF;
	background-color: rgba(74,204,204,.5);
	background: linear-gradient(to bottom, rgba(255,233,162,.2) 40%,
	rgba(74,204,204,.3));
	font-family: 'Raleway', sans-serif;
	list-style: none;
	width: 100%;
	height: 30vh;
	margin-top: 15%;
	padding-top:5%;
}



footer li a {
color: #0B9CB3;
text-decoration: none;
font-size: 20px;
letter-spacing: 1px;
line-height: 1.5;
}
footer a:hover {
  text-shadow: 2px 2px 15px #056C7C;
}

.footerlist {
	list-style: none;
	margin-left:30%
}

.fab {
	color: #056C7C;
}

.socialList{
	margin-right:10%;
	list-style: none;
}
.footerlogo {
	position: absolute;
	width: 120px;
	height: 120px;
	bottom: 0px;
}



@media screen and (max-width: 768px) {

  .line {
    width: 30px;
    height: 3px;
    background: black;
    margin: 5px;
  }
	
  nav {
    position: relative;
  }

  .hamburger {
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 50%;
    transform: translate(-5%, -50%);
	z-index: 1005;
   }

  .nav-links {
    position: fixed;
    background: #FEDF7C;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    clip-path: circle(100px at 90% -30%);
    -webkit-clip-path: circle(100px at 90% -30%);
    transition: all 1s ease-out;
    pointer-events: none;
	overflow-y: hidden;
  }
	
  .nav-links.open {
	z-index: 100;
    clip-path: circle(1400px at 90% -30%);
    -webkit-clip-path: circle(1400px at 90% -30%);
    pointer-events: all;
  }
	
  .landing {
    flex-direction: column;
	
  }
	
  .nav-links li {
    opacity: 0;
  }
	
  .nav-links li a {
    font-size: 25px;
  }
	
  .nav-links li:nth-child(1) {
    transition: all 0.5s ease 0.2s;
  }
	
  .nav-links li:nth-child(2) {
    transition: all 0.5s ease 0.4s;
  }
	
  .nav-links li:nth-child(3) {
    transition: all 0.5s ease 0.6s;
  }
	
  li.fade {
    opacity: 1;
  }
}


@media (min-width: 1025px) and (max-width:1390px) { 
	.logo {
		width: 140px;
		height:140px;
		}
	
	.MainPhoto {
		margin-bottom: 15%;
	}	

	.amalfimap {
		max-width: 600px;
	}
	
	.AmalfiInfoCOL {
		flex: 30%;
		padding: 0% 0 0 0%;
		margin-right: 5%;
		margin-top:5%;
	}
}

/*Nest Hub*/


@media (min-width: 769px) and (max-width:1024px) { 
	.logo {
		width: 150px;
		height:150px;
	}
	
	h2 {
		margin-left: 7%;
		margin-top: 2%;
		
		
	}
	.MainPhoto {
		margin-bottom: 18%;
	}

	.amalfimap {
		max-width: 500px;
		
	}
	
	.mapCOL {
		padding: 3%;
		margin-left: 0%;
		
	}
	
	.AmalfiInfoCOL {
		flex: 40%;
		padding: 0% 0 0 0%;
		margin-right: 5%;
	
	}
	
	footer {
		height: 20vh;
	}

}



@media (min-width: 541px) and (max-width:768px) { 
	nav {
		height: 10vh
	}
	
	.logo {
		width: 110px;
		height:110px;
	}
	
	h2 {
		margin-left: 11%;
		margin-top: 2%;
	}
	.Introduction {
		height: 1000px;
	}
	.headline {
		margin-top: 15%;
		margin-bottom: 10%;
	}
	
	.mapintroRow {
		flex-wrap:wrap-reverse;
	}
	.amalfimap {
		max-width: 90%;
	}
	.mapCOL {
		flex: 90%;
		padding: 3%;
		margin-left: 8%;
	}	

	.AmalfiInfoCOL {
		flex: 50%;
		margin-top:%;
		margin-right: 0%;
		margin-left: 1%;
		padding: 2% 5% 8% 5%;
	}

	.AmalfiInfoCOL h3 {
		font-size: 30px;
		font-family: 'Homemade Apple', cursive;
		margin-bottom: 8%;
		text-align: center;
		margin-left:auto;
		margin-right: auto;
	}

	.AmalfiInfoCOL > p {
		font-size: 22px;
		margin-top: 2%;
		color: #00082D;

	}

	.AmalfiInfoCOL a {
		font-weight: bold;
		color: #4ACCCC;
	}


	.intro1 {
		line-height: 1.5;
		letter-spacing: 1px;
		
	}
	.intro2 {
		line-height: 1.5;
		letter-spacing: 1px;
		font-family: 'Open Sans';
	}
	
	.History {
		height: 800px;
		margin-bottom: 10%;
	}
	
	.History h3 {
		padding-bottom: 5%;
	}
	
	footer {
		height: 20vh;
	}
}

@media (min-width: 481px) and (max-width:540px) {
	nav {
		height: 10vh
	}
	
	.logo {
		width: 90px;
		height:80px;
	}
	
	h2 {
		margin-left: 13%;
		margin-top: 2%;
		font-size: 20px;
	}
	.Introduction {
		height: 1000px;
	}
	.headline {
		margin-top: 15%;
		margin-bottom: 10%;
	}
	
	.mapintroRow {
		flex-wrap:wrap-reverse;
	}
	.amalfimap {
		max-width: 90%;
		margin-top: 10%;
	}
	.mapCOL {
		flex: 90%;
		padding: 3%;
		margin-left: 8%;
	}	

	.AmalfiInfoCOL {
		flex: 50%;
		margin-right: 0%;
		margin-left: 1%;
		padding: 2% 5% 8% 5%;
	}

	.AmalfiInfoCOL h3 {
		font-size: 34px;
		font-family: 'Homemade Apple', cursive;
		margin-bottom: 15%;
		text-align: center;
		margin-left:auto;
		margin-right: auto;
	}

	.AmalfiInfoCOL > p {
		font-size: 22px;
		margin-top: 2%;
		color: #00082D;

	}

	.AmalfiInfoCOL a {
		font-weight: bold;
		color: #4ACCCC;
	}


	.intro1 {
		line-height: 1.5;
		letter-spacing: 1px;
		
	}
	.intro2 {
		line-height: 1.5;
		letter-spacing: 1px;
		font-family: 'Open Sans';
		margin-bottom: 10%;
	}
	
	.History {
		height: 1000px;
		margin-bottom: 10%;
	}
	
	.History h3 {
		font-size: 28px;
		padding-bottom: 10%;
		padding-top:15%;
	}
	
	.promoSlides {
		height: 800px;
	}
	.promoSlides h3 {
		font-size: 28px;
	}
}

@media(min-width: 281px) and (max-width: 480px) { 
	
	.logo {
		display: none;
	}
	
	h2 {
		font-size: 24px;
	}
	.Introduction {
		height: 1000px;
	}
	.mapintroRow {
		flex-wrap:wrap-reverse;
	}
	.headline {
		padding-top: 20%;
		max-width: 90%;
	}
	.amalfimap {
		max-width: 100%;
	}

	.mapCOL {
		flex: 100%;
		padding: 3%;
		margin-right: 4%;
	}	
	
	.AmalfiInfoCOL {
		flex: 90%;
		padding: 0%;
		margin-top:20%;
		margin-right: 0%;
		margin-bottom: 15%;
	}
	
	.AmalfiInfoCOL h3 {
		font-size: 28px;
		margin-bottom: 10%;
		text-align: center;
		margin-right: 2%;
	}
	
	.intro1 {
		margin-left: 4%;
		margin-bottom:5%;
	}
	
	.intro2 {
		margin-left: 4%;
	}
	
	.History {
		height: 1200px;
		padding-top:5%
	}
	
	.History h3 {
		;
		font-size: 28px;
			}
	
	.hist1 {
		margin-top: 5%;
	}
	.grapedecor {
		padding-top: 5%;
		padding-bottom: 8%;
	}
	
	.promoSlides {
		margin-top: 10%;
	}
	
	.promoSlides h3 {
		margin-bottom: 10%;
	}
	.text {
/*  color: #f2f2f2; */
	  font-size: 1em;
	  font-family: 'Raleway', sans-serif;
	  padding: 8px 10px;
	  position: absolute;
	  bottom: 5px;
	  width: 100%;
	  text-align: center;
	}
	
	.promoSlides {
		height: 800px;
	}
	.promoSlides h3 {
		font-size: 28px;
	}
	
	.footerlist {
		margin-left: 20%;
	}
	.socialList {
		margin-right: 5%;
	}
	
}


@media (max-width: 280px) { 
	
	.logo {
		display: none;
	}
	
	h2 {
		font-size: 20px;
	}
	.Introduction {
		height: 900px;
		
	}
	.mapintroRow {
		flex-wrap:wrap-reverse;
	}
	.headline {
		padding-top: 20%;
		max-width: 90%;
	}
	.amalfimap {
		max-width: 100%;
	}

	.mapCOL {
		flex: 100%;
		padding: 1%;
		margin-right: 4%;
	}	
	
	.AmalfiInfoCOL {
		flex: 90%;
		padding: 0%;
		margin-top:20%;
		margin-right: 0%;
		margin-bottom: 10%;
	}
	.AmalfiInfoCOL > p {
		font-size: 18px;	
	}
	.AmalfiInfoCOL h3 {
		font-size: 26px;
		margin-bottom: 15%;
		text-align: center;
		margin-right: 2%;
	}
	
	.intro1 {
		margin-left: 4%;
		margin-bottom:8%;
	}
	
	.intro2 {
		margin-left: 4%;
	}
	
	.History {
		height: 1400px;
		padding-top:5%
	}
	
	.History h3 {
		font-size: 24px;
		margin-bottom: 10%;
		}
	
	.hist1 {
		margin-top: 5%;
	}
	.grapedecor {
		padding-top: 5%;
		padding-bottom: 8%;
	}
	
	.promoSlides {
		margin-top: 10%;
		height: 600px;
	}
	
	
	.promoSlides h3 {
		font-size: 24px;
		margin-bottom: 10%;
	}
	.text {
/*  color: #f2f2f2; */
	  font-size: 1em;
	  font-family: 'Raleway', sans-serif;
	  padding: 8px 10px;
	  position: absolute;
	  bottom: 5px;
	  width: 100%;
	  text-align: center;
	}
	
	.promoSlides {
		height: 600px;
	}
	.promoSlides h3 {
		font-size: 24px;
	}
	
	footer li a {
		font-size: 16px;
	}
	
	.footerlogo {
		width: 80px;
		height: 80px;
	}
	.footerlist {
		margin-left: 20%;
		
	}
	.socialList {
		margin-right: 5%;
	}
	
}

	



	

