/* ----------- Webfonts ----------- */

/* Local - Archer Pro */
 @font-face {
    font-family: 'Vollkorn';
    src: url('Vollkorn-VariableFont_wght.ttf') format('woff');
    font-weight: 700;
    font-style: normal;
     font-display: swap;
} */

body {
  /* Adobe Fonts - Aglet Slab */
 	font-family: 'helvetica',sans-serif;
  font-weight: 300;
  font-style: normal;

	font-size: 16px;
	line-height: 1.5;
  letter-spacing: 0.05em;

	
	background-color: #f4f5f5;
	color: #666;
}

/* ----------- Typography ----------- */

/* Font Weight */
h1, h2, h3, h4, blockquote {
  font-family: 'Vollkorn', serif; 
  font-weight: 700;
  font-style: light;

  letter-spacing: 0;
}
em {
  /* Adobe Fonts - Aglet Slab */
  font-family: aglet-sans,sans-serif;
  font-weight: 300;
  font-style: italic;
}
/* Line Height */
h1, h2, h3, h4  {
  line-height: 1.2em;
}
blockquote, .lead {
  line-height: 1.4em;
}
/* Font Size */
h1 {
	font-size: 3.052em;
}
h2 {
  font-size: 2.441em;
}
h3 {
  font-size: 1.953em;
}
h4, blockquote, .lead, .label {
  font-size: 1.563em;
}
p {
  font-size: 1.25em;
}
.fine-print {
  font-size: 0.8em;
}
/* Color */
.hero, .bg-primary {
  color: #fff;
}
h2, h3, h4, blockquote {
  color: #0d2e21;
}

/* ----------- Background Colors ----------- */

.bg-white {
  background-color: #fff;
}
.bg-primary {
  background-color: #0d2e21;
}
.bg-secondary {
  background-color: #f8f9f8;
}

/* ----------- Style by Section -----------*/

/* Header */
header {
  padding: 0 120px;
  background-color: #fff;
}
nav {
  height: 120px;
  
  /* Flexbox */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.logo-module {
  height: 60px;
  width: auto;
}
a .logo-large {
  height: 60px;
  width: auto;
}
a .logo-small, a .logo-icon {
  height: 50px;
  width: auto;
}
a {
  /* Adobe Fonts - Aglet Slab */
  font-family: aglet-slab,sans-serif;
  font-weight: 500;
  font-style: normal;

  position: relative;
  font-size: 18px; 
  line-height: 1em;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
}
.button-round {
  background-color: transparent;
  color: #0d2e21;  
	padding: 18.25px 40px;
  border: 2px solid #a3b1aa;
  border-radius: 3px;
  
  /* Border transitions for hover states */
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}
.button-round:hover {
  border-color: #0d2e21;
}
.icon {
  height: 18px;
  width: auto;
  padding-right: 10px;
  
  vertical-align: middle;	/* Centers image vertically relative to the button text */
}

/* Hero */
.hero {  
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('a-suburban-neighborhood-street-with-lens-flare.jpg');
 
  height: calc(70vh - 70px); /* Sets the section height based on the viewport */
  
  /* Background image position, repeat and size */
  background-position: center;
  background-repeat:  no-repeat;
  background-size: 100vw auto;
}
.hero-image {  
  width: 100vw;
  height: auto;
}
.hero-content {
  height: 100%;
  
  /* Flexbox */
  display: flex;
  flex-direction: row;
	align-items: center;
  justify-content: center;
}
.hero-text {
  width: 486px;
  margin: 0 126px 0 0;
  
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);	/* Text shadow */
}
.thanks .hero-text {
  width: 1200px;
  margin: 0;
}
.hero-text h1 {
  margin-bottom: 20px;
}
.form-table {
  width: 588px;
}

/* What and Why Sections */
section:not(.hero) {
  padding: 120px 0;
}
.headline-text, .section-content {
  position: relative;
  display: flex;
  flex-direction: row;
	align-items: center;
  justify-content: center;
}
.headline-text {
  margin-bottom: 90px;
}
.headline-text h2 {
  width: 1200px;
  margin-left: 37%;
}
.text-block {
  width: 588px;
  margin: 0 126px 0 0;
}
.text-block h2, p:not(:last-child) {
  margin-bottom: 30px;
}
.image-block :first-child {
  position: relative;
  z-index: 1;
}
section:not(.hero) img {
  width: 486px;
  height: auto;

  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);  /* Box shadow */
}
.square-1, .square-2, .square-3 {
  position: absolute;
  top: 50%;
  height: 396px;
  width: 396px;
  background-color: transparent;
}
.square-1 {
  border: 18px solid #0d2e21;

  transform: translate(-36px, -279px);  /* Changes the square's postion */
}
.square-2 {
  border: 18px solid #4b6e61;

  transform: translate(126px, -279px);  /* Changes the square's postion */
}
.square-3 {
  border: 18px solid #a3b1aa;

  transform: translate(-36px, -279px);  /* Changes the square's postion */
}
.bg-secondary .section-content:not(:last-child) {
  margin-bottom: 240px;
}
.bg-secondary .section-content:nth-child(odd) .text-column {
  margin: 0 126px 0 0;
}
.image-block.left img {
  margin: 0 126px 0 0;
}
.text-column .text-block {
  margin: 0 0 50px 0;
}
.text-column .text-block:last-child {
  margin-bottom: 0;
}
.text-column .text-block h3 {
  margin-bottom: 20px;
}

/* Testimonials Section */
.testimonial {
  padding: 40px;
  margin: 0 126px 0 0;
  background-color: #edefee;
  border-radius: 3px;
}
.testimonial:last-child {
  margin: 0 102px 0 0;
}
.avatar {
  display: flex;
  flex-direction: row;
	align-items: center;
}
.avatar img {
  width: 150px;
  height: auto;
  margin: 0 30px 0 0;
  border-radius: 75px;

  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);	/* Box shadow */
}
.label-text {
  width: 226px;
}
h4 {
  margin-bottom: 5px;
}
blockquote {
  width: 406px;
  margin-top: 50px;
}

/* CTA Section */
.bg-primary h1 {
  width: 690px;
  margin: 0 42.172px 0 0;
}
.button-square {
  background-color: transparent;
  color: #fff;  
	padding: 19px 40px;
  margin-right: 42.172px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  
  /* Background color transitions for hover states */
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}
.button-square:hover {
  border-color: #fff;
}

/* Footer */
footer {
  height: 60px;
  background-color: #030c08;
  color: #fff;
  
  text-align: center; /* Center aligns footer fine print */
}
.fine-print {
  padding: 20.5px 0;
}