  @keyframes fader {
    from { opacity: 1.0; }
    to   { opacity: 0.0; }
  }

  .fading-slideshow {
    position: relative;

    /* margin: 1em auto; */
    padding: 0;
    list-style-type: none;

  }

  img {
    width: 100%;
    height: auto;


  }

  .castlepics {
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    aspect-ratio: 16/9;



    justify-self: center;
    background: transparent;
    border-bottom-left-radius: 1.6rem;
    border-bottom-right-radius: 1.6rem;
    border: rgb(88, 88, 88) solid 2px;
    overflow: hidden; 
 
    z-index: 1;
}




  .fading-slideshow > li {
    position: absolute;
    left: 0;
    top: 0;

    /* width: 100%;
    height: 100%; */
    overflow: hidden;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }

  /* current slide */

  .fading-slideshow > li:first-of-type {
    animation-name: fader;
    animation-delay: 4s;
    animation-duration: 2s;
    z-index: 20;
  }

  .Savedfading-slideshow > li:first-of-type {
    animation-name: fader;
    animation-delay: 2s;
    animation-duration: 1s;
    z-index: 20;
  }
  /* next slide to display */

  .fading-slideshow > li:nth-of-type(2) {
    z-index: 10;
  }

  /* all other slides */

  .fading-slideshow > li:nth-of-type(n+3) {
    display: none;
  }