/* General */

.case-study-container {
  display: flex;
  align-items: end;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.big-case-study-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.case-study-wrap-normal {
  flex-wrap: wrap;
}

.case-study-wrap-reverse {
  flex-wrap: wrap-reverse;
}

/* Card Styles */

.case-study-card {
  display: flex;
  background-color: #ffffff;
  padding: 25px;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.case-study-card h2 {
  font-size: 25px;
  font-family: 'Avenir Next';
  font-weight: bold;
  line-height: 33px;
  color: #1f1f1f;
  opacity: 0.90;
}

.case-study-card-subtitle {
  font-size: 20px;
  font-family: 'Avenir Next';
  line-height: 27px;
  color: #1f1f1f;
  opacity: 0.90;
  margin-bottom: 10px;
}

.case-study-thumbnail {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

#meducately-thumbnail {
  width: 382px;
  z-index: -3;
}

@media (min-width: 400px) {
  #meducately-thumbnail {
    margin-left: -30px;
  }
}

#hi-thumbnail {
  width: 382px;
  max-width: 100%;
  z-index: -3;
  display: flex;
  position: relative;
  overflow: hidden;
}

@media (min-width: 400px) {
  #hi-thumbnail {
    margin-right: -40px;
  }
}

@media (max-width: 399px) {
  #hi-thumbnail {
    width: inherit;
  }
}

#hi-front {
  /*max-width: 300px;*/
  width: 100%;
  position: absolute;
  bottom: -90px;
}

#big-thumbnail {
  width: 703px;
  z-index: -3;
}

#hi-background {
  margin-top: 60px;
}

