.meet-ceo {
  padding: 60px 40px;
  margin: auto;
  height: 100vh;
  background-color: #fdfdfd;

  background-image:
    linear-gradient(to right, #ccc 1px, transparent 1px),
    linear-gradient(to bottom, #ccc 1px, transparent 1px);
  background-size: 500px 300px;
  background-position: 0 0;
  background-repeat: repeat;
  background-attachment: fixed;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.meet-ceo.in-view {
  opacity: 1;
  transform: translateY(0);
}

.meet-ceo.out-of-view {
  opacity: 0;
  transform: translateY(40px);
}

.meet-ceo .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.meet-ceo .text-content{
  flex: 1;
  max-width: 50%;
  padding-right: 40px;
  margin-top: 5rem;
}

.meet-ceo h1{
  font-size: 50px;
  margin-bottom: 20px;
}

.meet-ceo p{
  font-size: 25px;
  line-height: 1.6;
}

.meet-ceo .img-content{
  flex: 1;
  max-width: 40%;
  text-align: center;
  margin-top: 5rem;
}

.meet-ceo .caption{
  margin-top: 15px;
  font-size: 20px;
}

/*Tablet Media Queries*/
@media (max-width:1024px){
  .meet-ceo .container{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .meet-ceo .text-content,
  .meet-ceo .img-content{
    max-width: 100%;
    padding: 0;
  }

  .meet-ceo .text-content{
    margin-bottom:30px;
    padding: 0 20px;
  }
}

/* Mobile Devices */

@media(max-width: 600px){
  .meet-ceo{
    padding: 40px 20px;
  }

  .meet-ceo h1{
    font-size: 24px;
  }

  .meet-ceo p{
    font-size:15px;
  }

  .meet-ceo .img-content img{
    width: 200px;
    height: auto;
  }
}