/*general styles*/

//body{padding: 3em;background-color: #ccc;}
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}


/*slideshow styles*/

.slideshow2 {
  max-width: 100%; //625px;
  margin: 0 auto;
  overflow: hidden;
  //border: solid 5px white;
}

.slideshow2-container2 {
  max-width: 100%;
  font-size: 0;
  transition: 1s ease;
  height: 225px;
}

.slideshow2-container2:hover {
  animation-play-state: paused;
}

img2, .text-container2 {
  max-width: 100%; //625px;
  height: auto;
  display: inline-block;
  font-size: 16px;
  text-align: center;
}

.text-container2 {
  height: 331px;
  position: relative;
}


p_slide {
  position: relative;
  top: -75%;
  padding: 5px;
}

.slide {
  animation: slide 24s ease infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  
  12.5% {
    transform: translateX(0%);
  }
  
  25% {
    transform: translateX(-25%);
  }
  
  37.5% {
    transform: translateX(-25%);
  }
  
  50% {
    transform: translateX(-50%);
  }
  
  62.5% {
    transform: translateX(-50%);
  }
  
  75% {
    transform: translateX(-75%);
  }
  
  87.5% {
    transform: translateX(-75%);
  }
  
  99% {
    transform: translateX(-75%);
  }
  
  100% {
    transform: translateX(0);
  }
}

.p_slide {
  margin-top: 240px;
  text-align: center;
}