.slideracc {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  height: 40vh;
  margin: 50px auto 20px auto;
  padding: 0%;
  border-color: black;
}

.slideracc li {
  position: relative;
  background: none no-repeat center/cover;
  min-height: 100%;
  overflow: hidden;
  flex-grow: 1;
  transition: 0.75s cubic-bezier(0.4, 0, 0.2, 1);

}

.slideracc li:hover {
  flex-grow: 2;
}

.slideracc li:hover h1 {
  transform: rotateZ(0) translateY(0);
}

.slideracc li:hover p {
  transform: translateY(calc((100% + 2rem) * -1)) rotateZ(0);
}

.slideracc a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.slideracc h1 {
  position: absolute;
  ;
  top: 1rem;
  left: 29rem;
  bottom: 100%;
  overflow: visible;
  margin: 0;
  text-align: center;
  font-size: 3rem;
  color: white;
  text-transform: uppercase;
  transform-origin: bottom right;
  font-family: sans-serif;
  transform: translateY(0) rotateZ(90deg);
  transition: 0.5s cubic-bezier(0.35, 0, 0, 1);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  z-index: 99999;
}

.slideracc p {
  position: relative;
  top: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  font-family: sans-serif;
  transform-origin: left top;
  transform: translateY(0) rotateZ(90deg);
  transition: 0.5s cubic-bezier(0.35, 0, 0, 1);
  width: 40%;
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.589);
  line-height: 1;

}



.slideracc .one {
  background-image: url(../img/servicios.png);

  -webkit-clip-path: circle(40% at 50% 50%);
  clip-path: circle(40% at 50% 50%);

}

.slideracc .two {
  background-image: url(../img/13.png);
  -webkit-clip-path: circle(40% at 50% 50%);
  clip-path: circle(40% at 50% 50%);
}

.slideracc .three {
  background-image: url(../img/14.png);

  -webkit-clip-path: circle(40% at 50% 50%);
  clip-path: circle(40% at 50% 50%);
}

.slideracc .four {
  background-image: url(http://unsplash.it/803/600/?random);
}

.slideracc .five {
  background-image: url(http://unsplash.it/804/600/?random);
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
  .slideracc p {
    width: 30%;
    margin-bottom: 40%;
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .slideracc {
    display: none;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .slideracc .one {
    background-image: url(../img/servicios.png);
    
    -webkit-clip-path: circle(40% at 50% 50%);
    clip-path: circle(40% at 50% 50%);
  
  }
  .slideracc p {
    position: relative;
    top: 85%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    font-family: sans-serif;
    transform-origin: left top;
    transform: translateY(0) rotateZ(0deg);
    transition: 0.5s cubic-bezier(0.35, 0, 0, 1);
   
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.589);
    line-height: 1;
  
  }
}  

