* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  --primary-text:#333333;
  --secondary-text: #717377;
  --accent-color: #cacaca;
  --headline-text: rgba(27, 117, 188, 0.7);
  --cta: rgb(95, 201, 85);
  --white: #ffffff;
  --box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
}

body {
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  background: linear-gradient(100deg, #fff, #f1f1f1);
  color: var(--primary-text);
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
  letter-spacing: -1px;
}

.container {
  width: 70%;
  margin: 0 auto;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav > .logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: auto;
  margin: 0 auto;
  padding: 80px 0px 40px 0px;
}

/* Salvage Boy logo text */
.header-text {
  font-size: 5em;
  letter-spacing: -6px;
  font-weight: 700;
}

.content {
  width: auto;
  margin: 0 auto;
}

.headline > h1 {
  font-size: 3.5em;
  font-weight: 600;
  font-style: italic;
  padding-bottom: 10px;
  line-height: 1em;
}

.headline > h3 {
  font-size: 1.5em;
  font-weight: 100;
}

.copy {
  font-size: 1.1em;
  line-height: 1.5em;
}

/* Heading banner with form */
.full-width {
  background: #1b76bc10;
}

.form-container {
  text-align: center;
  padding: 80px 0px;
}

.form-container > form > div {
  width: 80%;
  padding: 40px 0px 20px 0px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

#email-input {
  font-family: inherit;
  font-size: 1.25em;
  padding: 10px 20px;
  border: none;
  border-radius: 5px 0px 0px 5px;
  box-shadow: 1px 1px 1px 1px ;
  box-shadow: 0px 0px 40px 6px rgba(0,0,0,0.1);
  letter-spacing: 1px;
  width: 400px;
  z-index: 999;
}

#email-input:focus {
  outline: none;
}

.submit-btn {
  font-family: inherit;
  padding: 10px 20px;
  font-size: 1.25em;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--cta);
  /* background: var(--headline-text); */
  color: var(--white);
  border: none;
  border-radius: 0px 5px 5px 0px;
  box-shadow: 20px 0px 40px 6px rgba(0,0,0,0.1);
  width: 250px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.25s;
  z-index: 0;
}

.submit-btn:hover {
  box-shadow: 4px 4px 12px 6px rgba(0,0,0,0.1);
  transform: scale(1.05);
  transition: all 0.25s;
}

.submit-btn:focus {
  outline: none;
}

.submit-btn:active {
  transform: scale(1);
  transition: all 0.25s;
}

/* Three column benefits */
.three-column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 50px;
  padding: 50px 0px;
}

/* .icon {
  height: 100px;
  padding-bottom: 28px;
  fill: red;
} */

svg {
  /* width: 100px; */
  /* height: 100px; */
  padding-bottom: 28px;
  fill: var(--headline-text);
}

.three-column > div > h3 {
  color: var(--primary-text);
  padding-bottom: 28px;
  font-size: 2em;
}

/* Testimonials section */
.testimonials-container {
  width: 80%;
  margin: 50px auto;
  padding: 40px 0px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-top: 1px solid var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 24px;
  padding: 24px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  min-height: 500px;
  border-bottom: 3px solid var(--headline-text);
}

.testimonial > .testimonial-image {
  height: 200px;
  padding-bottom: 20px;
}

.testimonial > .testimonial-content {
  max-width: 600px;
}

.testimonial-content > p {
  display: flex;
  justify-content: space-between;
  text-align: center;
  height: 100%;
}

.testimonial-content > p > span {
  /* height: 100%; */
}

.testimonial-content > p > span:nth-child(1) {
  display: inline-block;
  align-self: center;
  /* background: red; */
}

.testimonial-content > p > span:nth-child(3) {
  display: inline-block;
  align-self: center;
  /* background: blue; */
}

.quotation {
  font-size: 4em;
  padding: 0px 12px;
  color: var(--headline-text);
  text-shadow: 2px 2px 1px rgba(0,0,0,0.1);
  /* height: 100%; */
  opacity: 0.5;
}

.testimonial-name {
  font-size: 1.5em;
  font-weight: 700;
  font-style: italic;
  padding: 16px 0px;
  letter-spacing: -1px;
}

.testimonial-title {
  color: var(--secondary-text);
}

/* Case Study */
.case-study {
  display: grid;
  grid-template-columns: 45% 25% 30%;
  grid-template-rows: 1fr;
  margin: 0 auto;
  column-gap: 50px;
  padding: 40px 0px;
}

/* Left Column */
.case-study > .left-column {
  grid-row: 1/3;
  align-self: start;
}

.case-study > .left-column > h2 {
  font-size: 3em;
  font-weight: 600;
  font-style: italic;
  padding-top: 20px;
  padding-bottom: 40px;
}

.case-study > .left-column > h3 {
  display: inline-block;
  background:  var(--headline-text);
  color: var(--white);
  transform: skewX(-10deg);
  padding: 5px 10px;
}

/* Middle Column */
.case-study > .middle-column {
  grid-row: 1/3;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

.case-study > .middle-column > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
  border-radius: 5px;
  text-align: center;
  padding: 20px;
  border-bottom: 3px solid var(--headline-text);
}

.case-study > .middle-column > div:nth-child(1) {
  grid-row: 1/2;
}

.case-study > .middle-column > div:nth-child(2) {
  grid-row: 2/3;
}

.case-study > .middle-column > div > .figure {
  font-size: 3em;
  font-weight: 900;
  padding: 12px;
}

.case-study > .middle-column > div > .copy {
  color: var(--secondary-text);
}

/* Right Column */
.case-study > .right-column {
  grid-row: 1/3;
  align-self: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 80%;
}

.case-study > .right-column > img {
  border-radius: 50%;
  margin-bottom: 20px;
  align-self: center;
  max-width: 100%;
}

/* Footer */
.footer {
  clear: both;
  width: 100%;
  text-align: center;
  padding: 20px;
  padding-top: 200px;
}

/* Large Desktop */
@media screen and (max-width: 1200px) {
  .testimonials-container {
    flex-direction: column;
  }
  .testimonial {
    min-height: 400px;
  }
  .testimonial > .testimonial-image {
    height: 180px;
  }
  .case-study {
    grid-template-columns: 1fr;
    grid-template-rows: 45% 25% 30%;
    row-gap: 20px;
    column-gap: 20px;
  }
  .case-study > .left-column {
    grid-column: 1/3;
    grid-row: 1/2;
  }
  .case-study > .left-column > .copy {
    padding-bottom: 20px;
  }
  .case-study > .middle-column {
    grid-row: 2/3;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 20px;
  }
  .case-study > .middle-column > div {
    margin-left: 10px;
    margin-right: 10px;
  }
  .case-study > .middle-column > div:nth-child(1) {
    grid-row: 1/2;
    grid-column: 1/2;
  }
  .case-study > .middle-column > div:nth-child(2) {
    grid-row: 1/2;
    grid-column: 2/3;
  }
  .case-study > .right-column {
    grid-column: 1/3;
    grid-row: 3/4;
    justify-self: center;
    padding-top: 20px;
  }
}

/* Small Desktop */
@media screen and (max-width: 992px) {
  .three-column {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media screen and (max-width: 768px) {
  nav > .logo {
    flex-direction: column;
  }
  .header-text {
    font-size: 4em;
    letter-spacing: -4px;
  }
  .headline > h1 {
    font-size: 3em;
  }
  .headline > h3 {
    font-size: 1.25em;
  }
  .form-lockup {
    flex-direction: column;
  }
  #email-input {
    width: 100%;
    text-align: center;
  }
  .submit-btn {
    width: 100%;
  }
  #email-input {
    border-radius: 5px 5px 0px 0px;
  }
  .submit-btn {
    border-radius: 0px 0px 5px 5px;
    box-shadow: 0px 20px 40px 6px rgba(0,0,0,0.1);
  }
  .testimonials-container {
    width: 100%;
  }
  .case-study > .left-column > h2 {
    font-size: 2.5em;
    padding-bottom: 20px;
  }
  .case-study > .middle-column {
    flex-direction: column;
    justify-content: center;
  }
  .case-study > .middle-column > div {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Phone */
@media screen and (max-width: 576px) {
  .copy {
    font-size: 1em;
  }
  .form-container {
    padding: 20px 0px;
  }
  .header-text {
    font-size: 3.5em;
  }
  .headline > h1 {
    font-size: 2.5em;
  }
  .form-container > form > div {
    width: 100%;
  }
  #email-input {
    font-size: 1.1em;
  }
  .submit-btn {
    font-size: 1.1em;
  }
  .icon {
    height: 80px;
    padding-bottom: 16px;
  }
  .three-column > div > h3 {
    padding-bottom: 16px;
    font-size: 1.5em;
  }
  .testimonial {
    padding: 20px 0px;
  }
  .case-study > .middle-column {
    grid-template-columns: 1fr;
    grid-template-rows: 50% 50%;
  }
  .case-study > .middle-column > div:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .case-study > .middle-column > div:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }
}