footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    position: relative;
    background-color: #000;
    color: #FFF;
    width: 100%;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 5px;
}

footer > div {
    padding-top: 14px;
    padding-bottom: 14px;
}

footer div > p, 
footer div > a {
    font-size: 16px;
}

footer div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 900px;
}

footer p {
    text-align: center;
}

footer a {                                  
    color: #FFF;
    text-decoration: none;
    text-align: center;
}

@media screen and (max-width: 900px) {
    footer {
        height: 200px;
    }

    footer div:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    footer div:first-child > p {
        margin: 5px 0;
    }

    footer div:first-child > a {
        height: 100%;
        width: 100%;
    }
}