/* Title section */

.title-section {
  margin-bottom: 100px;
  text-align: center;
}

.title-section img {
  max-width: 200px;
  margin-bottom: 30px;
}

.title-section h1 {
  margin: auto;
  max-width: 800px;
  margin-bottom: 20px;
}

.title-section p {
  max-width: 500px;
  margin: auto;
  color: #757575;
}


/* Container */

.flex-wrapper {
  display: flex;
  justify-content: center;
  flex-flow: row;
}


/* Contact form */
.contact-form {
  margin-right: 100px;
}

.contact-form label {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  align-items: center;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
  border-radius: 5px;
  padding: 15px;
  border: solid 2px #00A2FF;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form select {
  height: 60px;
}

input[type="submit"] {
  width: 100%;
}

input::placeholder, textarea::placeholder {
    color: #757575;
}

/* Info box */
.info-box {
  max-width: 400px;
  background-color: #EDEDF2;
  color: #010400;
  border-radius: 5px;
  padding: 0px 50px;
  align-self: flex-start;
  text-align: center;
}

.bio img {
  width: 120px;
  position: relative;
  top: -60px;
  border-radius: 100%;
  margin-bottom: -50px;
}

.bio .name {
  margin-bottom: 10px;
  text-align: center;
}

.bio .title {
  text-transform: uppercase;
  font-size: .8em;
  line-height: 1.2;
  display: block;
  font-family: "Roboto", sans-serif;
  color: #757575;
}


/* Testimonial */

div.testimonial {
  margin: 50px 0px;
  display: flex;
  flex-flow: column;
  align-items: center;
}

div.quote {
  margin-bottom: 50px;
  padding: 25px;
  background: white;
  text-align: center;
  position: relative;
  border-radius: 3px;
  font-size: 0.8em;
  color: gray;
}

.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;
  left: 45%;
  bottom: -40px;
  border-top-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;
}


/* Media queries */

@media only screen and (max-width: 860px) {
  .flex-wrapper {
    flex-flow: column;
  }

  .contact-form {
    order: 2;
    margin: auto
  }

  .info-box {
    order: 1;
    margin-bottom: 75px;
    max-width: none;
  }
}
