/*

- General
- Above-the-folde headline section
- Testimonials
- Logos


- Media queries
*/


/* General */

section.fullwidth {
  width: 100%;
  padding: 50px 0px;
}

section.fullwidth > .inner-wrap {
  max-width: 1000px;
  margin: auto;
}

section.gray {background: #ededf2}
section.blue {background: #00a2ff}



/* 1. Above-the-fold headline */

section.intro {text-align: center;}

h1 {font-size: 5em;}

h1:before {
    content: '\201c';
    position: absolute;
    margin-left: -60px;
}

h1:after {
    content: '\201d';
    position: absolute;
}

h2 {font-size: 3em;}

h2.tagline {
  color: #00a2ff;
  font-size: 2em;
}

p.pitch {
  color: grey;
  font-size: 0.8em;
  width: 500px;
  margin: 25px auto;
}


/* 2. Testimonials */

div.testimonial {
  margin: 75px auto;
  display: flex;
  flex-flow: row;
  width: 800px;
  align-items: center;
}

div.quote {
  margin-right: 50px;
  padding: 25px;
  background: white;
  text-align: center;
  position: relative;
  border-radius: 3px;
}

.quote::before {
  content: "\201c";
  font-size: 5em;
  font-family: serif;
  font-weight: bold;
  position: absolute;
  color: lightgrey;
  left: -25px;
  top: -55px;
}

.quote::after {
  content: "";
  border: 20px solid transparent;
  position: absolute;
  right: -40px;
  top: 15px;
  border-left-color: white;
  height: 0;
  width: 0;
}

div.attribution {
  display: flex;
  flex-flow: column;
  align-items: center;
  text-align: center;
}

.attribution img {
  border-radius: 100%;
  min-width: 100px;
  min-height: 100px;
}

.attribution p {margin: 0;}
.attribution p.company {
  font-size: 0.7em;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

.testimonial-list .testimonial:nth-child(odd) {padding-left: 100px;}

.testimonial-list .testimonial:nth-child(even) {
  flex-flow: row-reverse;
  padding-right: 100px;
}

.testimonial-list .testimonial:nth-child(even) .quote {margin-right: 0; margin-left: 50px;}

.testimonial-list .testimonial:nth-child(even) .quote::after {
  content: "\201d";
  border: none;
  font-size: 5em;
  font-family: serif;
  font-weight: bold;
  position: absolute;
  color: lightgrey;
  right: 25px;
  top: -55px;
}

.testimonial-list .testimonial:nth-child(even) .quote::before {
  content: "";
  border: 20px solid transparent;
  position: absolute;
  left: -40px;
  top: 15px;
  border-right-color: white;
  border-left-color: transparent;
  height: 0;
  width: 0;
}

/* Logos */

.logo-display {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-tp-wrap: tp-wrap;
}

.logo-display .logo {
	min-width: 200px;
	height: 150px;
	background: center center no-repeat;
	text-indent: -9999px;
	margin: 0 35px;
}

#att {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/att.png);}
#salesforce {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/salesforce.png);}
#neilpatel {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/neilpatel.png);}
#woocommerce {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/woocommerce.png);}
#crazyegg {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/crazyegg.png);}
#bigcommerce {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/bigcommerce.png);}
#wonolo {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/wonolo.png);}
#meetedgar {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/meetedgar.png);}
#appsumo {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/appsumo.png);}
#forbes {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/forbes.png);}
#pandadoc {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/pandadoc.png);}
#producthunt {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/producthunt.png);}
#sellbrite {background-image: url(https://www.thoughtfulprose.com/wp-content/themes/academy-pro/images/logos/sellbrite.png);}

/* Images */

img.float-right {
  float: right;
  margin-left: 50px;
}


/* CTA box */

.cta-float-right {
  float: right;
  width: 35%;
  margin-left: 50px;
  text-align: center;
}

/* Attribute blocks */

h2.attribute-center {
  text-align: center;
}

.attribute-blocks {
  display: flex;
  flex-flow: row;
}

.attribute-blocks div {
  padding: 10px;
  text-align: center;
}


/* Media queries */

@media only screen and (max-width: 1360px) {
}

@media only screen and (max-width: 1023px) {
  section.fullwidth > .inner-wrap {
    width: auto;
    margin: 0px 50px;
  }
}

@media only screen and (max-width: 860px) {
  section.fullwidth > .inner-wrap {
    width: 100%;
    margin: 20px;
  }

  div.testimonial {flex-flow: column;}

  div.quote {margin: 0;}

  .quote::after {
    bottom: -40px;
    border-left-color: transparent;
    border-top-color: white;
  }

}
