/*
about page first image and title
about page body
--about page body subsections
responsive content

*/


/* about page first image and title START ---------------------------------------*/
.about-image {
  text-align: center;
  vertical-align: middle;
  color:#FFF;
  width: 100%;
  height: 270px;
  background-size: cover;
  background-image: url("/images/clouds.jpg")
}

.about-image-text {
  position: relative;
  top: 30%;
  left: 50%;
  /*left: 50%;*/
  width: 400px;
  transform: translate(-50%, -50%);
}

/* about page first image and title END ---------------------------------------*/

/* about page body START ---------------------------------------*/


.about-text-wrapper {
  padding-bottom: 150px;
}

  /* about page body subsections START ---------------------------------------*/

  .about-text-sub-wrapper {
    height: 100%;

  }

    /* about page body subsections flex grid START ---------------------------------------*/

    .about-block {
      justify-content: center;
      display: flex;
    }

    .about-block-column {
      border-radius: 5px;
      padding: 20px;
      flex-basis: 200px;
      flex-grow: 0;
      flex-shrink: 0;
      text-align: left;
    }

    /* about page body subsections flex grid END ---------------------------------------*/

  .about-text-title {
    font-family: 'Roboto Slab', serif;
    text-align: center;
  }

  .about-text {
      text-align: left;
      width: 800px;
      float: right;
      margin: 0;
  }

  .about-sub-image {

    width: 200px;
    float:right;
  }

  .grey-background {
    background-color: #F5F5F5;
    margin-left: auto;
    margin-right: auto;
  }

  /* about page body subsections END ---------------------------------------*/

/* about page body END ---------------------------------------*/

@media screen and (max-width: 768px) {
  .about-block {
    display: block;
    height: 100%;
  }

  .about-text {
    float: none;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 0;
    text-align: center;
  }

  .about-sub-image {
    float: none;
  }

  .about-image-text {
    width: 100%;
  }

  .grey-background {
    width: auto;
  }

  .about-block-column {
    width: 100%;
    padding: 0;
    text-align: center;
  }
}
