#slideshow {
    /*ORIGINAL DEMO CODE.*/
 /* width: 80%;
    max-width: 900px;
    height: 500px;
    margin: 40px auto;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);*/

    /*Edit width from 80% to 90%.*/
    width: 90%;
    /*Keeps one picture at a time for slideshow effect.*/
    /*Adjust from 900px to 1200px*/
    /*Do not remove max-width code*/
    max-width: 1200px;
    /*Edit height from 500px to what is written, to increase picture size.*/
    height: 500px;
    /*Adjust first margin from 40px to 20px*/
    margin: 20px auto;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}


.slides-box .slide img {
    display: table;
    height: 100%;
}

.slideshow-buttons {
    color: black;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.slideshow-buttons div {
    color: white;
    display: inline-block;
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
}

.slideshow-buttons .next-btn {
    margin-left: 4%;
    transition: all ease-in-out 0.3s;
    text-shadow: 1px 1px 2px black;
}

.slideshow-buttons .next-btn:hover {
    transform: translateX(4px);
}

.slideshow-buttons .prev-btn {
    transition: all ease-in-out 0.3s;
    text-shadow: 1px 1px 2px black;
}

.slideshow-buttons .prev-btn:hover {
    transform: translateX(-4px);
}




/*The code above is from demo style sheet.*/


/* ADDED*/

main #slideshow .slide .slideinfo {
    position: absolute;
    bottom: 15%;
    color: rgb(255, 255, 255);
    width: 100%;
    display: flex;
    flex-direction: column;
}

main #slideshow .slide .slideinfo h3 {
    font-size: 1.5em;
    align-self: center;
    margin-bottom: 0%;
}

main #slideshow .slide .slideinfo h3+p {
    align-self: center;
    margin-top: 0%;
}