.statements--section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1%;
  /*background-color: aqua;*/
  width: 100%;
  height: 240dvh;

  @media (min-width: 768px) and (min-height: 600px){
      flex-direction: row;
      height: 50dvh;
  }

  @media (min-width: 1025px){
      height: 80dvh;
      width: 75%;
  }
}

.card--container{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  font-family: 'Montserrat';
  text-align: center;
  color: #534940;
  transition: transform 0.5s;

  @media (max-height: 600px) and (orientation: landscape){
      flex-direction: row;
      width: 100%;
  }

  @media (min-width: 768px) and (min-height: 600px){
      height: 100%;
  }
}

.card--container:hover{
  transform: translateY(-5%) !important;
}

.card-image--container{
  display: flex;
  align-items: baseline;
  width: 100%;
  height: 45%;

  @media (max-height: 600px) and (orientation: landscape){
      width: 40%;
      height: 100%;
  }
}

.card-image--container > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text--contianer{
  position: absolute;
  transform: translateY(55%);
  z-index: 1;
  border-radius: 20px;
  background-color: #dbcfc5;
  height: 60%;
  padding: 5%;

  @media (max-height: 600px) and (orientation: landscape){
      flex: 1;
      width: 60%;
      height: 100%;
      padding: 0% 2%;
      transform: translateX(56%);
      border-radius: 20px;
  }
}

.card--title {
  font-size: 4vw;

  @media (max-height: 600px) and (orientation: landscape){
    font-size: 3vw;
  }

  @media (min-width: 768px) and (min-height: 600px){
    font-size: 2.5vw;
  }

  @media (min-width: 1025px){
    font-size: 1.3vw;
  }
}

.statement--text {
  text-align: justify;
  font-size: 1.5vh;

  @media (max-height: 600px) and (orientation: landscape){
    font-size: 3.4vh;
  }

  @media (min-width: 768px) and (min-height: 600px){
    font-size: 0.8vh;
  }

  @media (min-width: 1000px){
    font-size: 0.8vw;
  }

}