/* bienvenidos */

.about .row {
  display: flex;
  align-items: center;
  margin-left: 3rem;
  margin-right: 3rem;
  /* flex-wrap: wrap; */
}

.about .row .image {
  flex: 10 1 55rem;
}

.about .row .image img {
  width: 90%;
}

.about .row .content2 {
  flex: 1 1 45rem;
  padding: 2rem;
  text-align: justify;
}

.about .row .content2 h3 {
  font-size: 2rem;
}

.about .row .content2 p {
  font-size: 1rem;
  padding: 1rem 0;
  line-height: 1.8;
}

@media screen and (max-width: 950px) {
  .about .row {
    flex-wrap: wrap;
  }

  .about .row .image {
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    display: flex;
  }
}

/* seccion horarios */
.horario {
  height: auto;
}

.horario .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.horario .box-container .box {
  position: relative;
  flex: 1 1 27.5rem;
  border-left: 0.2rem solid hsl(220, 20%, 18%);
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
}

.horario .box-container .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1rem;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  background: hsl(220, 20%, 18%);
}

.horario .box-container .box .contenth {
  background: #fff;
  padding: 1.7rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.horario .box-container .box span {
  color: #fff;
  font-size: 1.2rem;
  background: hsl(220, 20%, 18%);
  border-radius: 50rem;
  padding: 0.4rem 2rem;
  display: block;
  align-items: center;
  text-align: center;
}

.horario .box-container .box p {
  font-size: 1rem;
  padding: 0.5rem 0;
  color: #111;
  text-align: center;
}

/* Slider */

.container2 {
  width: 96vw;
  height: 80vh;
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slider {
  height: 750px;
  width: 100vw;
  display: flex;
  perspective: 1000px;
  position: relative;
  align-items: center;
}

.box6 {
  background: url('../images/Anuncios/almas.jpg');
  background-size: cover;
  background-position: center center;
}

.box4 {
  background: url('../images/Anuncios/campa.jpg');
  background-size: cover;
  background-position: center center;
}

.box5 {
  background: url('../images/Anuncios/damasconf.jpg');
  background-size: cover;
  background-position: center center;
}

.box2 {
  background: url('../images/Anuncios/jovene.jpg');
  background-size: cover;
  background-position: center center;
}

.box1 {
  background: url('../images/Anuncios/RAM.webp');
  background-size: cover;
  background-position: center center;
}

.box3 {
  background: url('../images/Anuncios/matrimonios.jpg');
  background-size: cover;
  background-position: center center;
}

.box7 {
  background: url('../images/Anuncios/RD.jpg');
  background-size: cover;
  background-position: center center;
}

/* .box7{
background:url('https://images.pexels.com/photos/1891234/pexels-photo-1891234.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size:cover;
  background-position:center center;} */

.slider [class*="box"] {
  /*   float: left; */
  overflow: hidden;
  border-radius: 20px;
  transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  position: absolute;
}

.slider [class*="box"]:nth-child(6),
.slider [class*="box"]:nth-child(1) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.2) translate(-50%, -50%);
  top: 10%;
  z-index: 1;
}

.slider [class*="box"]:nth-child(2),
.slider [class*="box"]:nth-child(6) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.4) translate(-50%, -50%);
  top: 20%;
  z-index: 2;
}

.slider [class*="box"]:nth-child(3),
.slider [class*="box"]:nth-child(5) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.6) translate(-50%, -50%);
  top: 30%;
  z-index: 3;
}

.slider [class*="box"]:nth-child(4) {
  width: 60vw;
  height: 60vh;
  border-color: #c92026;
  color: #fff;
  transform: scale(1) translate(-50%, -50%);
  top: 50%;
  z-index: 4;
}

.slider [class*="box"]:nth-child(1) {
  left: -13%;
}

.slider [class*="box"]:nth-child(2) {
  left: -5%;
}

.slider [class*="box"]:nth-child(3) {
  left: 10%;
}

.slider [class*="box"]:nth-child(4) {
  left: 50%;
}

.slider [class*="box"]:nth-child(5) {
  left: 71%;
}

.slider [class*="box"]:nth-child(6) {
  left: 85%;
}

.slider .firstSlide {
  -webkit-animation: firstChild 1s;
  animation: firstChild 1s;
}

/*Animation for buyers landing page slider*/
@-webkit-keyframes firstChild {
  0% {
    left: 100%;
    transform: scale(0.2) translate(-50%, -50%);
  }

  100% {
    left: -13%;
    transform: scale(0.2) translate(-50%, -50%);
  }
}

@keyframes firstChild {
  0% {
    left: 100%;
    transform: scale(0.2) translate(-50%, -50%);
  }

  100% {
    left: -13%;
    transform: scale(0.2) translate(-50%, -50%);
  }
}

/* css contador metas */

.wrapper {
  /* position: absolute; */
  /* width: 80vw; */
  /* transform: translate(-50%, -50%); */
  /* top: 50%; */
  /* left: 50%; */
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 10px;
}

.container3 {
  width: 28vmin;
  height: 28vmin;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1em 0;
  position: relative;
  font-size: 16px;
  border-radius: 0.5em;
  background-color: #67728d;
  border-bottom: 10px solid hsl(220, 20%, 18%);
}

i .conta {
  color: hsl(220, 20%, 18%);
  font-size: 2.5em;
  text-align: center;
}

span.num {
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 3em;
}

span.text1 {
  color: #e0e0e0;
  font-size: 1em;
  text-align: center;
  /* pad: 0.7em 0; */
  font-weight: 400;
  line-height: 0;
}

@media screen and (max-width: 1024px) {

  /* .wrapper {
    width: 85vw;
  } */
  .container3 {
    height: 26vmin;
    width: 26vmin;
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  .wrapper {
    width: 90vw;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 30px;
  }

  .container3 {
    width: calc(50% - 40px);
    height: 30vmin;
    font-size: 14px;
  }

  span.text1 {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 480px) {
  .wrapper {
    gap: 15px;
  }

  .container3 {
    width: 100%;
    height: 25vmin;
    font-size: 8px;
  }
}