* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #333;
    color: #fff;
    line-height: 1.6;
}

.slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* We are going to make the slides invisible by default */
    opacity: 0;
    /* We used transition to make it fade */
    transition: opacity 1.5s ease-in;
}

.slide.current {
    opacity: 1;
}

.slide .content{
    position: absolute;
    bottom: 0px;
    left: -100px;
    opacity: 0;
    width: 100px;
    background-color: rgba(255, 255, 255, 0);
    color: #696969;
    padding: 0px;
    text-align: left;
}
.slide.current .content {
    opacity: 1;
    transform: translateX(110px);
    /* Making the above happen in an animated way */
    transition: all 1.5s ease-in-out 0.9s;
}
.overlay a img, 
.slide.current .content img {
    width:120px;
    opacity: 0.33;
}

.buttons button#next {
    position: absolute;
    top: 50%;
    right: 15px;
}

.buttons button#prev {
    position: absolute;
    top: 50%;
    left: 15px;
}

.buttons button {
    border: 2px solid #ffffff17;
    background: transparent;
    color: #ffffff17;
    cursor: pointer;
    padding: 13px 15px;
    border-radius: 50%;
    outline: none;
}

.buttons button:hover {
    background-color: #ffffff17;
    color: #ffffff17;
}

.overlay a, .overlay a:link {
    position: absolute;
    bottom: 0px;
    left: 10px;
    color:cornsilk;
    text-decoration: none;
    opacity: 0.01;
}
.overlay a:hover, .overlay a:active {
    color:#ffffff;
    text-decoration: underline;
    opacity: 0.6;
}


@media (max-width: 500px){
    .slide .content{
        bottom: -300px;
        left: 10px;
        width: 100%;
    }
    .slide.current .content{
        transform: translateY(-300px);
    }
}

/* Background Images */

.slide:first-child {
    background: url('img/01a.webp') no-repeat center center/cover;
}
.slide:nth-child(2) {
    background: url('img/00.webp') no-repeat center center/cover;
}
.slide:nth-child(3) {
    background: url('img/01.webp') no-repeat center center/cover;
}
.slide:nth-child(4) {
    background: url('img/02.webp') no-repeat center center/cover;
}
.slide:nth-child(5) {
    background: url('img/03.webp') no-repeat center center/cover;
}
.slide:nth-child(6) {
    background: url('img/04.webp') no-repeat center center/cover;
}
.slide:nth-child(7) {
    background: url('img/05.webp') no-repeat center center/cover;
}
.slide:nth-child(8) {
    background: url('img/06.webp') no-repeat center center/cover;
}
.slide:nth-child(9) {
    background: url('img/07.webp') no-repeat center center/cover;
}
.slide:nth-child(10) {
    background: url('img/08.webp') no-repeat center center/cover;
}
.slide:nth-child(11) {
    background: url('img/09.webp') no-repeat center center/cover;
}
.slide:nth-child(12) {
    background: url('img/10.webp') no-repeat center center/cover;
}
.slide:nth-child(13) {
    background: url('img/11.webp') no-repeat center center/cover;
}
.slide:nth-child(14) {
    background: url('img/12.webp') no-repeat center center/cover;
}