/* ----------------------------------- Scroll Down Button -----------------------------------*/

.demo {
    width: 100%;
    position: absolute;
    margin: 0;
    border: 0;
    left: 0;
    bottom: 0;
}

.demo a {
    position: absolute;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #000;
    font: normal 400 20px/1 'Josefin Sans', sans-serif;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
    width: 10%;
    margin: 0 45%;
    text-align: center;
}

.demo a:hover {
    opacity: .5;
}

#scrollDownButton a {
    /*padding-top: 30px;*/
    height: 60px;
}

#scrollDownButton a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
    border-radius: 5px;
}

@-webkit-keyframes sdb05 {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes sdb05 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@media only screen and (max-width: 420px) {
    #scrollDownButton a {
        padding-top: 50px;
    }
}