/*
html {
    font-size: calc(15px + 0.390625vw);
}
*/

@font-face {
	font-family: 'Gill Sans';
	font-weight:normal;
	font-style:normal;
	src: url('font/gillsans-01-webfont.woff2') format('woff2'),
		url('font/gillsans-01-webfont.woff') format('woff')
}

@font-face {
	font-family: 'Gill Sans Bold';
	font-weight:bold;
	font-style:normal;
	src: url('font/gillsans-bold-02-webfont.woff2') format('woff2'),
		url('font/gillsans-bold-02-webfont.woff') format('woff')
}

*{
	padding: 0;
	margin: 0;
	box-sizing: border-box:
}

body{
	font-family: 'Gill Sans', Helvetica, sans-serif;
}

.mainh1{
	color: #5a979d;
	font-family: 'Gill Sans Bold';
}

.content{
	margin: 0 auto;
	width: 100%;
	height: 100vh;	
}

.hero{
	margin: 0 auto;
	width: 100%;
	height: 100vh;
	background-image: linear-gradient(to right, rgba(255, 222, 33, 0.404), rgba(27, 72, 87, 0.726)), url(senior-savings-home-page.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

.one{
	font-family: Gill Sans Bold;
	font-size: 3.6rem;
}

.two{
	font-family: Gill Sans Bold;
	font-size: 2.4em;
}

.three{
	font-family: Gill Sans Bold;
	font-size: 1.9rem;
}

.within{
	width: 100%;
	position: absolute;
	top: 65%;
	transform: translateY(-50%);
	text-align: center;
	color: #fff;
}

.wrapabout{
	width: 376px;
	float: right;
	shape-outside:url(https://d6p7d3m9.stackpathcdn.com/nls/leightonj/senior-savings-about-us.png);
	margin-left:15px;
	shape-margin: 15px;
}

/*
.nav .toggle_btn{
	font-size: 1rem;
	cursor: pointer;
	display: none;
}
*/

/* DROPDOWN MENU */
.dropdown_menu{
	position: absolute;
	right: 2rem;
	z-index: 1;
	top: 90px;
	width: 300px;
	height: 0;
	background: rgba(255, 255, 255, 255);
	backdrop-filter: blur(15px);
	border-radius: 10px;
	overflow: hidden;
	transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open{
	height: 240px;
	
}

.dropdown_menu li{
	padding: 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dropdown_menu li a{
	text-decoration: none;
	font-weight:bold;
	font-family: Gill Sans Bold;
}

.dropdown_menu .action_btn{
	width: 100%;
	display: flex;
	justify-content: center;
}

.toggle_btn{
	display: none;
}

.nav{
	width: 71%;
	margin: auto;
	padding: 35px 0;
	justify-content: space-between;
	align-items: center;
	display: flex;
}

.nav ul li a.active{
	color: #d8ad4e;
	font-weight: bold;
}

.logo{
	width: 195px;
	cursor: pointer;
}

.nav ul li{
	list-style: none;
	display: inline-block;
	margin: 0 5px;
}

.nav ul li a{
	text-decoration: none;
	color: #000;
	text-transform: capitalize;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-bottom: 20px;
}

.main{
	width: 63%;
	margin: 0 auto;
}

.main p{
	margin: 20px 0px 20px 0px;
}

.footer{
	left: 0;
   bottom: 0;
   width: 100%;
   background-color: #5a979d;
   padding: 10px 0px 10px 0px;
   text-align: center;
   font-size:15px;
	float:left;
}

.footer a{
	color: white;
	text-decoration:none;
	padding-left:15px;
}

.footer img{
	width: 108px;
	display: block;
	margin: 0 auto;
	padding-bottom: 10px;
}

.signature{
	padding-bottom: 20px;
}

.signature img{
	width: 250px;
	float: right;
	padding-bottom: 20px;
}

/* Responsive Design */
@media screen and (min-width: 300px) and (max-width: 576px) {
	
	.nav .links,
	.nav .action_btn{
		display: none;
	}
	
	.nav{
		width: 91%;
	}
	
	.nav .toggle_btn {
		display: block;
	}
	
	.dropdown_menu{
		left: 2rem;
		width: unset;
		top: 104px;
	}
	.hero{
		height: 35vh;
	}
	.one{
		font-family: Gill Sans Bold;
		font-size: 1.5rem;
	}
	
	.two{
		font-family: Gill Sans Bold;
		font-size: 1rem;
	}
	
	.three{
		font-family: Gill Sans Bold;
		font-size: 0.7rem;
	}
	.within{
		top: 40%;
	}
	.main{
		width: 75%;
		margin: 0 auto;
	}
	.wrapabout{
		width: 65%;
		height: auto;
	}
	.footer{text-align: center;
	   font-size:11px;
	}
	.signature img{
		width: 200px;
	}
}

@media screen and (min-width: 577px) and (max-width: 1030px) {
	.nav .links,
	.nav .action_btn{
		display: none;
	}
	
	.nav .toggle_btn {
		display: block;
	}
	
	.dropdown_menu{
		display: block;
	}
	.one{
		font-family: Gill Sans Bold;
		font-size: 3rem;
	}
	
	.two{
		font-family: Gill Sans Bold;
		font-size: 2em;
	}
	
	.three{
		font-family: Gill Sans Bold;
		font-size: 1.5rem;
	}
	.wrapabout{
		width: 50%;
		height: auto;
	}
}