/* 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;
  }

body {
	overflow-x: hidden;
	}
	
header {
	margin-bottom: 10%;
}
nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	min-height: 8vh;
	font-family: 'Asar';
	background-color: #18161A;
}


.nav-links {
	display: flex;
	width: 55%;
	/*background-color: black;*/
	justify-content: space-around;
	/*align-items: center;*/

}

.nav-links li {
	list-style: none;
}
.nav-links a {
	text-decoration: none;
	letter-spacing: 3px;
	font-size: 18px;
	font-weight: bold;
	color: white;
}

.burger {
	display: none;
}

.burger div {
	width: 25px;
	height: 3px;
	margin: 5px;
	background-color: white;
	
}


.logo {
	display: block;
	margin-top: 5%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4%;
}

.DiscoverAmalfi {
	margin-bottom: 15%;
}

.DAscreenshot {
	display: block;
	margin-left:auto;
	margin-right: auto;
	width: 60%;
	margin-top: 10%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
	backface-visibility: hidden;
	transition: .5 ease;
	opacity: 1;
	position: relative;
	}

.DiscoverAmalfi:hover .DAscreenshot {
	  opacity: 0.3;
	}

.DAtext {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5%;
	margin-bottom: 10%;
}

.DiscoverAmalfi:hover .middle1 {
  opacity: 1;
}

.DAtext p{
	letter-spacing: 1.5px;
	line-height: 1.5;
	font-family: 'Lora';
	font-size: 18px;
	}

.Equiscreenshot {
	display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-top: 10%;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 10%), 0 6px 20px 0 rgb(0 0 0 / 10%);
	backface-visibility: hidden;
	transition: .3  ease;
	opacity: 1;
	position: relative;
}

.middle2 {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}


.text2 {
  background-color: #04AA6D;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

.Equipoise:hover .middle2 {
  opacity: 1;
}

.Equipoise:hover .Equiscreenshot {
	  opacity: 0.3;
	}


.EquiText {
	width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom: 10%;
}

.EquiText p {
	letter-spacing: 1.5px;
    line-height: 1.5;
    font-family: Lora;
    font-size: 18px;
}


footer {
	letter-spacing: 1.5px;
	line-height: 1.5;
	font-family: 'Lora';
	font-size: 14px;
	width:100%;
	height:200px;   /* Height of the footer */
	border-top: double #DAD4EF;
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.mininav {
	width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
	top:-35% !important;
}

.footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	margin-top: 8%;
	width: 50%;
	margin-right:auto;
	margin-left:auto;
	
}


.footer-links li {
	list-style: none;
	flex: 2%;
	display: inline-block;
	padding-left: 5%;
	padding-right: 5%;
	transition: transform .2s; /* Animation */
}

.footer-links a {
	text-decoration: none;
	color: black;
	
}

.footer-links li:hover {
  -ms-transform: scale(1.2); /* IE 9 */
  -webkit-transform: scale(1.2); /* Safari 3-8 */
  transform: scale(1.2); 
  
}
.bottomfooter {
	display: flex;
	align-items: flex-end;
	justify-content: space-around!important;
	position: absolute;
	bottom: 0;
	width: 100%;

}






@media screen and (min-width:1024px) {
	.nav-links {
		width: 65%;
	}
	
}

@media screen and (max-width:1024px) {
	.nav-links {
		width: 65%;
	}
	
}

@media (min-width: 769px) and (max-width:1024px) {
	header {
		margin-bottom: 10%;
	}

	.DAtext {
		width: 65%!important;
	}
	.EquiText {
		width: 65%;
	}
}

@media (min-width: 481px) and (max-width:768px) { 
	
	/*Navigation*/
	body {
		overflow-x: hidden !important;
	}
	
	.nav-links {
		position: absolute;
		height: 92vh; /*makes menu the full height of screen*/
		width: 50%;
		right: 0px;
		top: 6vh;
		background-color: #18161A;
		display:flex;
		flex-direction: column;
		align-items: center;
		transform: translateX(100%);
		transition: transform 0.5s ease-in;
		z-index: 100;
		overflow-x: hidden;
	}
	
	.nav-links li {
		opacity: 0;
	}
	
	.burger {
		display: block;
		margin-left: 80%;
		 
	}
	.nav-active {
		transform: translateX(0%);
	}
	
	@keyframes navLinkFade{
		from{
			opacity: 0;
			transform: translateX(50px);
		}
		to{
			opacity: 1;
			transform: translateX(0px);
			
		}
	}
	/*End Navigation*/

	.DAtext {
		width: 80%;
		margin-top: 10%;
	}
	
	.Equipoise {
		margin-top: 25%;
		
	}
	
	.EquiText {
		width: 80%!important;
		margin-top: 10%;
	}
	
	.mininav {
		margin-top: 5%;
	}
}
	

@media (max-width:480px) { 
/*Navigation*/
	body {
		overflow-x: hidden !important;
	}
	

	.nav-links {
		position: absolute;
		height: 92vh; /*makes menu the full height of screen*/
		right: 0px;
		top: 6vh;
		background-color: #18161A;
		display:flex;
		flex-direction: column;
		align-items: center;
		width: 50%;
		transform: translateX(100%);
		transition: transform 0.5s ease-in;
		overflow-x: hidden;
		z-index: 100;
	}
	
	.nav-links li {
		opacity: 0;
	}
	
	.burger {
		display: block;
		margin-left: 80%;
	}
	.nav-active {
		transform: translateX(0%);
	}
	
	@keyframes navLinkFade{
		from{
			opacity: 0;
			transform: translateX(50px);
		}
		to{
			opacity: 1;
			transform: translateX(0px);
			
		}
	}
	
	/*End Navigation*/
	figure {
		padding-top:3%;
		padding-bottom: 5%;
		
	}
	

	.DAscreenshot {
		width: 90%;
		margin-top: 20%;
		margin-left: auto;
		margin-right: auto;
	}
	.DAtext {
		width: 90%;
		margin-top: 15%;
	}
	
	.DAtext p {
		font-size: 17px;
	}
	
	.Equipoise {
		margin-top: 25%;
		margin-bottom: 25%;
	}

	.Equiscreenshot {
		width: 90%;
		margin-top: 10%;
	}
	
	.EquiText {
		width: 88%;
		margin-top: 15%;
	}
	
	.EquiText p {
		font-size: 17px;
	}
	
	.footer {
		height:20%;
		font-size: 12px;
	}
	
	.footer-links {
		flex-direction: column;
		text-align: center;
		width: 40%;
		margin-top: 22%;
	}
	.copyrightlogo {
		width: 75px;
	}
	
	.mininav {
		top: 0;
	}
	.number {
		display: none;
	}
	.email {
		display: none;
	}
}
	/*end properties that only apply to phones */ 


