.imageWithTextGroupContainer {
  width: calc(100% / 3);
  height: auto;
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  /* margin-bottom: 60px; */
  overflow: hidden;
  float: left;
  transition: opacity 0.3s ease;
  max-height: 600px;
}

.imageWithTextGroupContainer.observer.onViewport {
  -webkit-animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s
    both;
  animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
}

.imageWithTextGroupContainer img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.imageWithTextGroupContainer figure img {
  transition: filter 0.3s ease;
  will-change: filter;
  display: block;
  backface-visibility: hidden;
}

.diente {
  position: absolute;
  width: auto;
  max-width: 580px;
  /* top: -50%; */
  right: 10%;
}

.imageWithTextGroupContainer figure {
  width: 100%;
  margin: 0 auto;
  display: block;
}

.textColumn {
  width: 50%;
  margin-left: 9%;
  float: left;
  color: var(--secondary);
  position: absolute;
  bottom: 7%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.groupItemTitleOnImageWithText {
  font-size: 38px;
  font-weight: 700;
  width: 65%;
  margin-bottom: 10px;
  position: relative;
  line-height: 40px;
  color: white;
  font-family: var(--Syne);
  text-transform: uppercase;
}

.groupItemTitleOnImageWithText span {
  color: #00ddd2;
}

.groupItemText {
  font-size: 22px;
  font-weight: 500;
  margin: 0px 0 20px;
  width: 100%;
  color: white;
  font-family: "Syne";
}

a.verMasText {
  display: flex;
  gap: 20%;
  background-color: #e40e00;
  color: white;
  font-size: 14px;
  font-weight: 500;
  width: 105px;
  height: 40px;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  /* border: 1px solid white; */
  text-transform: uppercase;
  font-family: var(--Syne);
}

.arrowButton {
  background-image: url(../../files/arrowButton.png);
  background-size: 13px;
  width: 13px;
  height: 13px;
}

a.verMasText:hover {
  background-color: white;
  color: #e40e00;
}

a.verMasText:hover .arrowButton {
  background-image: url(../../files/arrowButtonWhite.png);
}

img.arrowButton {
  width: 20px;
  height: 20px;
}

.imageWithTextGroupContainer:hover .groupTitleArrow {
  margin-left: 25px;
  transition: all 0.3s;
}

.imageWithTextGroupContainer.firstImg {
  margin-left: 4%;
}

.imageWithTextGroupContainer.lastImg {
  margin-right: 4%;
}

.groupTitle {
  position: relative;
  width: 90%;
  display: flex;
  margin-top: 10px;
}

.groupTitleArrow {
  width: 20px !important;
  margin-left: 10px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.diente.observer.onViewport {
  animation: float 4s ease-in-out infinite;
}

.diente.observer.onViewport {
  animation-delay: 2s;
}

.imageWithTextGroupContainer:hover {
  opacity: 0.3;
}



/* .imageWithTextGroupContainer:hover .textColumn {
  opacity: 1;
  pointer-events: auto;
} */

@media screen and (max-width: 1100px) {
  .imageWithTextGroupContainer:nth-child(even) {
    margin-top: 0px;
    margin-right: 2%;
    width: 100%;
  }

  .imageWithTextGroupContainer figure {
    width: 90%;
    /* margin-top: 7%; */
  }
  a.groupTitle {
    font-size: 13px;
  }
  .imageWithTextGroupContainer:nth-child(odd) {
    width: 100%;
    margin-left: 0%;
    aspect-ratio: unset;
    margin-bottom: 0px;
    margin-top: 0px;
    margin-right: 6%;
  }

  .textColumn {
    width: 72%;
    margin-left: 11%;
  }

  .groupItemTitleOnImageWithText {
    font-size: 25px;
    margin-bottom: 0px;
  }

  .imageWithTextGroupContainer img {
    filter: brightness(70%) !important;
  }
}

@media (min-width: 1500px) and (max-width: 2000px) {
  .textColumn {
    /* width: 35%; */
  }

  .diente {
    max-width: 700px;
  }
}

@media screen and (min-width: 1100px) {
  .imageWithTextGroupContainer:hover .textColumn {
  opacity: 1;
  pointer-events: auto;
}

  .imageWithTextGroupContainer:hover figure {
  filter: brightness(80%);
  }
}

@media screen and (max-width: 768px) {
  .textColumn {
    width: 100%;
    top: 55%;
    margin-left: 6%;
    opacity: 1;
    justify-content: flex-end;
  }

  .groupItemTitleOnImageWithText {
    font-size: 25px;
    line-height: 30px;
    width: 80%;
  }

  .groupItemText {
    width: 70%;
    font-size: 16px;
    font-weight: 400;
  }

  a.verMasText {
    width: 105px;
    font-size: 12px;
    height: 36px;
  }

  .imageWithTextGroupContainer:nth-child(odd) {
    margin-bottom: 0px;
    /* margin-right: 0; */
  }

  .imageWithTextGroupContainer figure {
    width: 100%;
  }

  .diente {
    right: -17%;
  }
}
