.container h1,
.container h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 3rem;
  width: 100%;
  text-align: center;
  /* text-transform: uppercase; */
  color: #a1882e;
}

.titleColectivos p {
  font-size: 17px;
  text-align: center;
  color: var(--base-second);
}

.container {
  width: 85%;
  margin: 1rem auto 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 50px;
  /* border-bottom: 1px solid #E6E6E6; */
}
.stepInfo {
  width: 100%;
}

.noEvent {
  font-size: 16px;
  margin: 2rem 0 5rem;
  text-align: center;
  color: #58585a;
}

.eventsContainer {
  width: 32rem;
  position: relative;
  background-color: transparent;
  border: 1px solid var(--grey);
  cursor: pointer;
  height: 4.2rem;
  box-sizing: border-box;
  color: var(--green);
  margin-right: 1.4rem;
}

.eventsContainer select {
  height: 100%;
  width: 100%;
  padding: 0 1.7rem;
  font-size: 1.2rem;
  background-image: url(../../files/dropdownArrow.svg);
  z-index: 1;
  background-repeat: no-repeat;
  background-position: calc(100% - 1.2rem) center;
  border: none;
  background-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -ms-appearance: none;
}

.searchEvent {
  width: 32rem;
  margin-left: 1.4rem;
  font-size: 1.2rem;
  line-height: 4.2rem;
  margin-bottom: 4rem;
  text-align: center;
}

.stepsContainer {
  width: 100%;
  margin: 3rem auto;
  text-align: center;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stepsCol {
  background-color: var(--secondary);
  width: 100%;
  float: left;
  height: 6rem;
  display: flex;
  align-items: center;
  color: var(--base-aux);
}

.arrowColectivos {
  width: 40px;
  padding: 0 10px;
}

.arrowColectivosContainer {
  width: fit-content;
}
.arrowColectivosContainer {
  position: relative;
}
.arrowColectivosContainer:nth-child(2) .arrowColectivos,
.arrowColectivosContainer:nth-child(6) .arrowColectivos {
  position: absolute;
  bottom: 68px;
  right: -76px;
  width: 8rem;
}
.arrowColectivosContainer:nth-child(4) .arrowColectivos {
  position: absolute;
  top: 68px;
  right: -74px;
  width: 8rem;
  transform: rotatex(180deg);
}

.stepNumber {
  font-size: 30px;
  width: 26%;
  display: flex;
  justify-content: flex-end;
}

.text {
  width: 60%;
  font-size: 16px;
  font-weight: 300;
  line-height: 18px;
  margin-left: 11px;
  color: var(--white);
  text-align: left;
}

.colectivosContainer {
  width: 85%;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 50px;
}

.nameContainer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  background: white;
  z-index: 1;
  position: relative;
}

.imageContainerEvent {
  overflow: hidden;
  /* min-height: 429px; */
  /* height: 429px; */
  display: flex;
}

.lunaEventImage {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  /* filter: grayscale(1) opacity(0.8); */
  transition: 0.5s all ease;
  z-index: 0;
  /* position: relative; */
  display: flex;
}

.colectivoLunaEvent {
  overflow: hidden;
}

.colectivoLunaEvent a {
  /* overflow: hidden; */
}
.lunaEventInfoContainer {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}
.lunaEventName {
  display: block;
  font-size: 15px;
  /* margin-top: 10px; */
  color: var(--base-second);
}

.lunaEventLink {
  display: block;
  color: var(--secondary);
  font-size: 13px;
  padding: 6px 22px;
  border: 1px solid var(--secondary);
  /* border-radius: 100px; */
  opacity: 0;
  transition: 0.5s all ease;
  width: fit-content;
  /* font-weight: 500; */
}

@media screen and (max-width: 768px) {
  .container {
    width: 85%;
    margin: 0rem auto;
    margin-bottom: 2rem;
  }

  .container h1,
  .container h2 {
    margin-bottom: 1rem;
    font-size: 28px;
    line-height: 2rem;
    width: 100%;
    font-weight: 400;
  }

  .titleColectivos p {
    font-size: 13px;
  }

  .eventsContainer {
    width: 100%;
    margin-right: 0;
  }

  .searchEvent {
    width: 100%;
    margin-left: 0;
    margin-top: 2rem;
  }
  .arrowColectivosContainer:nth-child(2) .arrowColectivos,
  .arrowColectivosContainer:nth-child(6) .arrowColectivos {
    height: 2rem;
    width: auto;
    bottom: 68px;
    right: -5.5rem;
  }
  .arrowColectivosContainer:nth-child(4) .arrowColectivos {
    height: 2rem;
    width: auto;
    top: 28px;
    left: -5.5rem;
    transform: rotatey(-180deg) rotate(-270deg);
  }
  .stepsContainer {
    grid-template-columns: repeat(1, 1fr);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    gap: 8px;
  }

  .stepsCol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .text {
    margin-right: 18px;
    width: auto;
    width: 90%;
    text-align: left;
  }

  .number {
    width: 11rem;
    font-size: 8rem;
  }

  .arrowColectivosContainer {
    width: 100%;
    height: 60px;
    display: flex;
  }

  .arrowColectivos {
    width: 40px;
    transform: rotate(90deg);
    height: fit-content;
    height: intrinsic;
    overflow: hidden;
    display: block;
    top: 25px;
    position: relative;
  }

  .colectivosContainer {
    width: 85%;
    margin: 20px auto 50px;
    grid-template-columns: repeat(1, 1fr);
  }
  .lunaEventImage,
  .lunaEventLink {
    filter: grayscale(0) opacity(1);
    opacity: 1;
  }
}

@media screen and (min-width: 1100px) {
  .colectivoLunaEvent:hover .lunaEventImage,
  .colectivoLunaEvent:hover .lunaEventLink {
    filter: grayscale(0) opacity(1);
    opacity: 1;
  }

  .colectivoLunaEvent:hover .lunaEventImage {
    transform: scale(1.2);
  }

  .lunaEventLink:hover {
    cursor: pointer;
  }

  .colectivoLunaEvent:hover .lunaEventLink {
    font-weight: 400;
  }

  .lunaEventLink:hover {
    color: var(--base-aux);
    background-color: var(--secondary);
  }
}
