.imageWithTextGroupContainer {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  margin-bottom: 60px;
  overflow: hidden;
}

.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;
}

.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: 31%;
    display: flex;
    flex-direction: column;
}

.groupItemTitleOnImageWithText {
    font-size: 40px;
    font-weight: 500;
    width: 65%;
    margin-bottom: 10px;
    position: relative;
    line-height: 48px;
    color: white;
}

.groupItemTitleOnImageWithText span {
    color: #00DDD2;
}

.groupItemText {
    font-size: 14px;
    font-weight: 500;
    margin: 20px 0;
    width: 65%;
    color: white;
}

a.verMasText {
  display: flex;
  gap: 20%;
  background-color: white;
  color: #4200C1;
  font-size: 13px;
  font-weight: var(--semibold);
  width: 190px;
  height: 40px;
  border-radius: 400px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  border: 1px solid white;
}

.arrowButton {
    background-image: url(../../files/arrowButton.png);
    background-size: 13px;
    width: 13px;
    height: 13px;
}

a.verMasText:hover  {
    background-color: #4200C1;
    color: white;
    border: 1px solid white;
}

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;
}

@media screen and (max-width: 1100px) {
  .imageWithTextGroupContainer:nth-child(even) {
    margin-top: 20px;
    margin-right: 2%;
  }

  .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: 80px;
    margin-top: 40px;
    margin-right: 6%;
  }

  .textColumn {
    width: 72%;
    margin-left: 11%;
  }

  .groupItemTitleOnImageWithText {
    font-size: 25px;
    margin-bottom: 0px;
  }
}

@media (min-width: 1500px) and (max-width: 2000px) {
  .textColumn {
    width: 35%
  }

  .diente {
    max-width: 700px;
  }
}


@media screen and (max-width: 768px) {
  .textColumn {
    width: 100%;
    top: 9%;
    margin-left: 6%;
  }
  
 .groupItemTitleOnImageWithText {
   font-size: 25px;
   line-height: 30px;
   width: 80%;
 }

  .groupItemText {
    width: 90%;
  }

  a.verMasText {
    width: 175px;
    font-size: 12px
  }

  .imageWithTextGroupContainer:nth-child(odd) {
    margin-bottom: 10px;
    /* margin-right: 0; */
  }

  .imageWithTextGroupContainer figure {
    width: 100%;
  }

  .diente {
    right: -17%;
  }
}
