:root {
  --PrimaryColor: #137695;
  --TitlesColor: #043c4d;
  --LegendsColor: #8c9394;
  --MenuHoverColor: #00c3ff;
  --ButonTextColor: #ffffff;
  --BackgroundAlternate: #f9fdff;
}

.cases-home {
  padding-top: 150px;
  padding-bottom: 200px;
  width: 100%;
  height: 100%;
  background-color: var(--BackgroundAlternate);
}

.cases-home h2 {
  font-size: 32px;
  color: var(--TitlesColor);
  padding-bottom: 20px;
}

.main-case {
  width: 100%;
  height: 400px;
  background-color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  border: 1px solid rgba(175, 175, 175, 0.415);
  position: relative;
}

.main-case-text {
  width: 50%;
  padding: 25px;
}

.main-case-text span {
  font-size: 25px;
  color: var(--TitlesColor);
  display: block;
  font-weight: 600;
  padding-bottom: 25px;
}

.main-case-text p {
  font-size: 15px;
  color: var(--LegendsColor);
  padding-bottom: 25px;
  text-align: justify;
}

.main-case-text a {
  color: var(--PrimaryColor);
  text-decoration: none;
}
.main-case figure {
  width: 50%;
  height: 100%;
}

.main-case figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-case::after {
  content: "";
  display: block;
  background-color: rgba(175, 175, 175, 0.415);
  width: 100%;
  height: 1px;
  position: absolute;
  top: calc(100% + 100px);
}

@media (max-width: 768px) {
  .main-case {
    height: auto;
    flex-direction: column;
  }

  .main-case-text {
    width: 100%;
  }

  .main-case figure {
    width: 100%;
  }
}
