.case-study-preview-container {
  padding: 60px 7.5% 60px;
}

.case-study-preview-title {
  font-size: 3em;
  font-family: mala;
  font-weight: bold;
  color: #ffda7f;
  margin: 0px auto 30px;
}

.case-study-carousel-container {
  color: #ffffff;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.case-study-carousel-container-mobile {
  color: #ffffff;
  display: none !important;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.case-study-carousel-container-mobile .owl-nav {
  width: 100%;
  margin-top: 30px;
}

.case-study-carousel-container-mobile .owl-nav .owl-next,
.case-study-carousel-container-mobile .owl-nav .owl-prev {
  width: 45%;
  height: 30px;
}

.case-study-carousel-container-mobile .owl-nav .owl-next:hover,
.case-study-carousel-container-mobile .owl-nav .owl-prev:hover {
  background: unset;
}

.case-study-carousel-container-mobile .owl-nav .owl-next img,
.case-study-carousel-container-mobile .owl-nav .owl-prev img {
  height: 100%;
}

.case-study-cta {
  display: block;
  width: fit-content;
  padding: 10px 15px;
  margin: 40px auto 0px;
  font-family: mala;
  font-size: 1em;
  border-radius: 2em;
}

@media only screen and (max-width: 1000px) {
  .case-study-preview-container {
    padding: 30px 7.5%;
  }

  .case-study-preview-title {
    margin: 0px auto 30px;
  }

  .case-study-carousel-container {
    display: none;
  }

  .case-study-cta {
    margin: 30px auto 0px;
  }

  .case-study-carousel-container-mobile {
    display: flex !important;
    flex-wrap: wrap;
  }
}

@import url("./colors.css");

.case-study-card {
  width: 32%;
  flex-basis: 32%;
  transition: transform 0.1s ease-in-out;
}

.case-study-card:hover {
  transform: scale(1.025);
  z-index: 10;
}

.case-study-card-image-corner {
  width: 25%;
  height: 7.5%;
}

.case-study-card-main-title {
  font-family: montserrat;
  font-weight: 500;
  color: #ffffff;
  font-size: 1.3em;
  margin: 20px auto;
}

.case-study-card-tag-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.case-study-card-tag {
  font-size: 0.9em;
  font-family: mala;
  font-weight: lighter;
  color: #000000;
  background-color: #ffda7f;
  margin: 0 10px 10px 0px;
  border-radius: 20px;
  padding: 6px;
}

.page-tag {
  background-color: var(--page-dark-blue);
}

.learn-tag {
  background-color: var(--learn-dark-purple);
}

.events-tag {
  background-color: var(--events-dark-green);
}

.write-tag {
  background-color: var(--write-dark-pink);
}

.insights-tag {
  background-color: var(--insights-dark-orange);
}

@media only screen and (max-width: 1000px) {
  .case-study-card-image-corner {
    height: 5%;
  }

  .case-study-card-main-title {
    font-size: 1em;
  }
}