:root {
  --PrimaryColor: #137695;
  --TitlesColor: #043c4d;
  --LegendsColor: #818181;
  --MenuHoverColor: #00c3ff;
  --ButonTextColor: #ffffff;
}
.space {
  height: 10px;
}

.supermarket-cases {
  width: 100%;
  position: relative;
  margin-top: 80px;
  margin-bottom: 80px;
  overflow: hidden;
}
.supermarket-cases h3 {
  font-size: 32px;
  color: var(--TitlesColor);
  padding: 40px;
  text-align: center;
}
.cases-container-safe {
  background-color: #177595;
  border-radius: 30px;
  padding: 15px;
}
.case-wrap {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 30px;
}

.case-img {
  width: 40%;
  height: 400px;
}

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

  border-radius: 30px;
}

.case-text {
  width: 60%;
  height: 100%;
  padding: 15px 20px;
  background-color: white;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 20px;
  color: var(--LegendsColor);
}

.case-text p {
  line-height: 22px;
}

.case-person {
  display: flex;
  height: 80px;
  align-items: center;
  gap: 10px;
}

.case-person-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.case-person-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

/*-----------------------------------------  CASES--------------------*/
.supermarket-cases {
  padding: 20px;
}
.container-cases {
  width: 100%;
  overflow: hidden;
}
#cases-section .cases-container-safe {
  width: 200%;
  display: flex;
  background-color: #17759500;
  position: relative;
  transition: 0.5s;
  right: 0%;
}

#cases-section .case-wrap {
  width: calc(80% / 2);
  min-width: calc(100% / 2);
  background: linear-gradient(to left, rgba(0, 0, 0, 0), white);
  border: 15px solid #137695;
  border-radius: 50px 30px 30px 50px;
  position: relative;
}
#cases-section a::before {
  content: "Assista ao video!";
  font-size: 30px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 40%;
  height: 100%;
  border-radius: 30px;
  background-color: #043c4df4;
  transition: 0.3s;
  opacity: 0;
}

#cases-section a:hover::before {
  opacity: 1;
}

.arrows-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  position: absolute;
  padding-right: 40px;
  top: 50%;
}
.arrows {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.5s;
  z-index: 2;

  background-color: #00000000;
}
.arrows span {
  font-size: 20px;
  font-weight: 600;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #00000098;
  border-radius: 50%;
  transition: 0.5s;
}
.arrows:hover span {
  background-color: #066a89b0;
}

#superpan {
  background-image: url(../../../images/Person/CASES-GER.png);
}

@media (max-width: 768px) {
  .supermarket-cases {
    background-color: #f3f3f3;
    min-height: 100dvh;
    margin: 0;
    padding: 80px 20px;
  }
  .case-wrap {
    flex-direction: column;
  }

  #cases-section .case-wrap {
    border-radius: 50px 50px 30px 30px;
  }
  .case-img,
  .case-text {
    width: 100%;
    text-align: justify;
    flex-direction: column-reverse;
    gap: 20px;
  }

  #cases-section a::before {
    width: 100%;
    height: 200px;
  }

  .supermarket-cases .container {
    max-width: none;
    padding: 0;
    margin: 0 auto;
  }

  .cases-container-safe {
    padding: 0px;
  }

  .case-img {
    height: 200px;
  }

  .case-text p {
    font-size: 14px;
    line-height: normal;
  }
}
