/*START RESET*/

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*END RESET*/

/*colors

blue: #033D7D
light blue: #E6ECF2
yellow: #FFD518
grey: #656565
black:#231F20 / #1C2126
*/

html {
  scroll-behavior: smooth;
}

body {
	font-family: "Nunito Sans", Helvetica, Arial, sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
}

.max-width {
	width: 1580px;
	max-width: 100%;
	margin: 0 auto;
}

.bg-white {
	background: #fff;
}

.bg-dark {
	background: #033D7D;
}

.bg-dark p {
	color: #B3B4B5;
}

.bg-dark h3 {
	color: #fff;
	font-size: 26px;
	font-weight: 400;
}

.bg-light {
	background: #E6ECF2;
}

h1 {
	font-size: 67px;
	letter-spacing: -3px;
	font-weight: 600;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	color: #fff;
	padding: 20px;
	font-weight: 300;
}

header > .max-width {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header img {
	width: 95px;
}

header nav ul {
	display: flex;
	align-items: center;
	margin: 0;
}

header nav ul li {
	display: block;
	padding: 0 10px;
}

header nav ul li a {
	padding: 10px 20px;
	transition: all 0.3s;
	font-size: 18px;
	letter-spacing: 0.5px;
}

header nav ul li a:hover {
	color: #B3B4B5;
}

header nav ul li:last-of-type a {
	background: #033D7D;
	border-radius: 50px;
	padding-left: 20px;
	padding-right: 20px;
	width: 150px;
	display: block;
	text-align: center;	
}

header nav ul li:last-of-type a:hover {
	background: #004C9F;
	color: #fff;
}

#toggle, #toggle + label { display: none; }

#hero {
	background: url(images/hero-image.jpg) no-repeat scroll 50% 50% #1C2126;
	background-size: cover;
	min-height: 800px;
	height: 100vh;
	display: flex;
	color: #fff;
	text-align: center;
}

#hero > .max-width {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-content: center;
	align-items: center;
	padding: 0 40px;
}

#hero > .max-width p {
	width: 490px;
	max-width: 100%;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
	margin-top: 40px;
}

#about > .max-width {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 100px 40px;
	color: #656565;
	font-weight: 300;
	align-items: center;
}

#about h1 {
	color: #231F20;
	line-height: 1;
}

#about p {
	margin: 60px 0;
	line-height: 1.8;
	width: 480px;
	max-width: 100%;
	font-size: 18px;
	letter-spacing: 0.25px;
}

#about p:last-of-type {
	margin-bottom: 0;	
}

#about > .max-width {
	display: flex;
	flex-flow: row nowrap;
}

#about > .max-width > div:nth-of-type(1) {
	padding-right: 80px;
	flex: 0 1 auto;
	max-width: 100%;
	width: 50%
}

#about > .max-width > div:nth-of-type(2) {
	flex: 1 1 auto;
	width: 50%;
}

#about > .max-width > div img  {
	border-radius: 10px;
	width: 100%;
}

#toolkit > .max-width {
	text-align: center;
	padding: 5vw 40px;
}

#toolkit h1 {
	color: #fff;
}

#toolkit h1 + p {
	font-weight: 400;
	font-size: 20px;
	letter-spacing: 0.5px;
	width: 780px;
	max-width: 100%;
	margin: 40px auto 80px;
}

#toolkit > .max-width > div {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

#toolkit > .max-width > div a {
	width: 26%;
	min-width: 410px;
	border: 1px solid rgba(255,255,255,0.6);
	border-radius: 10px;
	overflow: hidden;
	margin: 40px 20px;
	text-align: left;
	flex: 1 0 auto;
	transition: background 0.3s;
}

#toolkit > .max-width > div a:hover {
	background: rgba(255,255,255,0.05);
}

#toolkit > .max-width > div a > div:nth-of-type(1) {
	height: 0px;
	padding-bottom: 60%;
	position: relative;
	overflow: hidden;
}

#toolkit > .max-width > div a > div:nth-of-type(1) img {
	object-fit: cover;
	min-width: 100%;
	height: auto;
	min-height: 100%;
}

#toolkit > .max-width > div a > div:nth-of-type(2) {
	padding: 40px;	
}

#toolkit > .max-width > div a > div:nth-of-type(2) p {
	font-size: 18px;
	letter-spacing: 0.25px;
	line-height: 1.6;
	margin-top: 20px;
}

footer {
	background: #E6ECF2;
}

footer #newsletter {
	background: #231F20;
	color: #fff;
	border-radius: 10px;	
}

footer .footer-logo {
	width: 145px;
	margin: 0 auto; 
}

footer .footer-social {
	background: #033D7D;
	text-align: center;	
	padding: 200px 40px 4vw;
	margin-top: -140px;
}

footer .footer-social p {
	color: #FFFFFF;
	opacity: 0.6;
	width: 470px;
	max-width: 100%;
	margin: 60px auto;
	font-size: 18px;
	letter-spacing: 0.25px;
	line-height: 1.6;
}

footer .footer-social ul {
	margin: 0;
	padding: 0;
}

footer .footer-social ul li {
	display: inline-block;
	padding: 0 5px;
}

footer .footer-social ul li a img {
	transition: transform 0.3s;
}

footer .footer-social ul li a:hover img {
	transform: scale(1.1);
}

footer .footer-copyright {
	background: #042A53;
	color: #F2F4F8;
	padding: 24px 20px;
}

footer .footer-copyright > .max-width {
	display: flex;
	justify-content: space-between;
}

footer .footer-copyright p {
	margin: 0;	
	opacity: 0.5;
	font-size: 14px;
}

/*accordions*/

#faqs > .max-width {
	padding: 100px 40px;
}

.accordion-toggle {
  display: block;
  font-size: 22px;
  font-weight: 400;
	padding-top: 60px;
	padding-bottom: 20px;
}

.accordion-content {
  height: 0;
  overflow: hidden;
  font-size: 22px;
	border-bottom: 1px solid #CFCFCF;
	transition: height 300ms;
	font-weight: 300;
	color: #656565;
}

.accordion-content.active {
  display: block;
  height: auto;
  overflow: auto;
	padding-bottom: 40px;
	padding-top: 0px;
}

#newsletter {
	text-align: center;
	position: relative;
}

#newsletter.max-width {
	padding: 100px 40px;
	width: 80%;
	max-width: 1500px;
}

#newsletter h1 {
	line-height: 1.2;
	margin: 0 auto;
}

#newsletter p {
	opacity: 0.6;
	color: #fff;
	font-weight: 300;
	font-size: 20px;
	letter-spacing: 0.25px;
	margin-top: 40px;
}

@media (max-width: 1024px) {
	
	h1 {
		font-size: 6vw;
		letter-spacing: -0.25vw;
	}
	
	#about > .max-width, #toolkit > .max-width, #faqs > .max-width {
		padding: 10vw 40px;
	}
	
	
	#about > .max-width > div:nth-of-type(1) {
		padding-right: 0;
	}
	
	#toolkit > .max-width > div a {
		min-width: 260px;
	}		
	
	footer .footer-copyright > .max-width {
		display: block;
		text-align: center;
	}
	
	footer .footer-social ul li {
		padding: 0 16px;
	}
	
	/*MENU CSS*/
	header nav ul {
		padding-left: 0;
		background: #033D7D;
		height: 0;
		width: 0;
		overflow: hidden;
		transition: height 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94), width 300ms;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1;
	}
	
	header nav ul, 
	header nav ul li a {
		display: block;
	}
	
	header nav ul li a {
		font-size: 22px;
	}
	
	header nav ul li a,
	header nav ul li:last-of-type a {
		padding: 20px 40px;	
	}
	
	header nav ul li:last-of-type a {
		background: transparent;
		width: auto;
		text-align: left;
		padding-bottom: 20px;
	}
	
	header nav ul li:first-of-type {
		margin-top: 10px;
	}
	
	header nav ul li:first-of-type a {
		padding-top: 20px;
	}
	
	header nav ul li:last-of-type a:hover {
		color: #B3B4B5;
		background: transparent;
	}
	
	/*toggle*/
	/*======= TOGGLE MENU ======*/

#toggle, #toggle + label { display: inherit; }

#toggle {
  width: 45px;
  height: 40px;
  opacity: 0;
  border: none;
  margin: 35px 0;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 1000;
  float: right;
  padding: 9px 10px;
  margin-top: 31px;
  margin-right: 35px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

#toggle:checked ~ ul { height: 100vh; width: 100vw; }

#toggle + label {
  position: absolute;
  top: 27px;
  right: 50px;
  border: none;
  color: #ffffff;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  z-index: 2;
}

#toggle + label:after {
  content: '\2630';
  font-size: 1.7em;
}

#toggle:hover + label { color: #E6ECF2; }

#toggle:checked ~ .message { height: 150px; }

#toggle:checked + label:after {
  content: '\2573';
  font-size: 1.4em;
}	
	
	#about > .max-width {
		display: block;
	}
	
	#about > .max-width > div:nth-of-type(1),
	#about > .max-width > div:nth-of-type(2) {
		width: 100%;	
	}
	
	#about > .max-width > div img {
		width: 100%;
		margin-top: 20px;
	}
	
	#about p {
		margin: 30px 0;
	}
	
	.noscroll {
	overflow: hidden;
}
	
}

