* {
  padding: 0;
  margin: 0;
}

#servicios {
  background: #76bc21;
}

.portada-servicios {
  width: 100%;
}

.titleDiv {
  display: flex;
  position: relative;
  font-size: 16px;
  color: white;
  text-align: center;
  font-weight: 900;
  line-height: 22px;
  font-family: "Montserrat";
}

.infoCont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.moreSign {
  display: flex;
  position: relative;
  background-image: url("/files/moreSign.svg");
  background-size: contain;
  /* background-color: white; */
  margin-top: 3px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 20px;
  margin-left: calc(20% - 25px);
  float: right;
}

.services {
  width: 85%;
  margin: auto;
  padding: 0 0 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.container-services {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px;
}

.service {
  position: relative;
  text-align: center;
  width: 13vw;
  height: 13vw;
  display: flex;
  padding: 15px;
  align-items: center;
  justify-content: center;
}

.service-kids {
  width: 66%;
}

.infoDiv {
  font-size: 14px;
  line-height: 18px;
}
.service img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.text-service {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: 0s all ease-in-out;
  justify-content: center;
  cursor: pointer;
  background: rgba(58, 104, 1, 0.85);
  overflow: hidden;
  flex-direction: row;
  visibility: hidden;
}

.service:hover .text-service{
  visibility: visible;
}

.open-text-service .text-service {
  visibility: visible;
}

.text-service p {
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  text-align: left;
  color: #ffffff;
  height: calc(70% - 25px);
  width: 90%;
  display: none;
}

.text-service h2 {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 22px;
  line-height: 24px;
  text-transform: uppercase;
  color: #ffffff;
}

.titleCont {
  display: flex;
  width: 90%;
  flex-direction: row;
  justify-content: flex-start;
  vertical-align: top;
}

.bannerTitle {
  width: 100%;
  color: white;
  height: auto;
  display: block;
  text-transform: uppercase;
  position: relative;
  background-color: #76bc21;
  height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title {
  font-weight: 900;
  font-size: 70px;
  line-height: 89.5%;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .title {
    font-weight: 600;
    font-size: 30px;
    line-height: 0;
    text-align: center;
  }
  .service {
    min-width: unset;
    width: calc(42% - 30px);
    max-width: unset;
    max-height: unset;
    min-height: unset;
    margin: 10px;
    height: 15vh;
  }
  .services {
    width: 95%;
    padding: 0 0 90px 0;
  }
  .titleDiv {
    font-size: 13px;
    line-height: 17px;
  }
  .bannerTitle {
    height: 15vh;
    top: 10px;
  }
  .service img {
    width: 70%;
  }
}

@media screen and (min-width: 768px) and (max-width: 821px) {
  .service {
    width: calc(25% - 30px);
  }

  .services {
    width: 90%;
    margin: auto;
    padding: 0;
  }
  .title{
    margin-top: 50px;
    height: 12vh;
  }
}
