@media (min-width:320px) {
    /* Footer start */

    footer {
        background: var(--section-background5);
        height: auto;
    }

    .footer-vert {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 1vh;
        padding-bottom: 1vh;
    }

    .footer-text span{
        font-size: 4vw;
        color: var(--text-color1);
        font-family: var(--font-style);
    }

    .footer-text a{
        color: var(--text-color1)
    }

    .credits {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        width: 50%;
    }

    .credits span {
        font-family: var(--font-style);
        color: var(--text-color1);
    }

    .credits a {
        width: 10%;
    }

    .credits img {
        width: 100%;
    }

    #footer-split {
        display: none;
    }

    /* Footer end */
}

@media (min-width:400px) {/* Little bit wider phones */
    #footer-split {
        display: block;
    }
}
@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .footer-vert {
        top: 20%;
    }

    .credits span {
        font-size: 1.3rem;
    }
}

@media (min-width:641px) {
    .credits span {
        font-size: 1.6rem;
    }
}

@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */
    .credits {
        width: 30%;
    }

    .credits a {
        width: 10%;
    }

    .footer-text span {
        font-size: 2rem;
    }
}

@media (min-width:1025px) {  /* big landscape tablets, laptops, and desktops */
    .footer-text span {
        font-size: 1.3vw;
    }

    .credits {
        width: 15%;
    }

    .credits span {
        font-size: 1.3vw;
    }

    .credits a {
        width: 8%;
    }

    #footer-split {
        display: block;
    }
}

@media (min-width:1281px) { /* hi-res laptops and desktops */
    .credits {
        width: 15%;
    }
}