body, html { margin: 0; padding: 0; width: 100%; height: 100%; }

a.url {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    height: 55px;
    width: 80px;
    text-decoration: none;
    text-transform: capitalize;
}
p.text {
    font-family: 'Helvetica Neue', 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
    font-size: 8px;
    text-transform: uppercase;
    background: #efefef;
    color: #333;
    margin: 4px 0;
    padding: 1px 4px;
    white-space: nowrap;
}
span.logo {
    flex-grow: 1;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    align-self: stretch;
    margin: 0 0 4px 0;
}

@media (min-width: 81px) {
  a.url {
    width:160px;
    flex-direction: row;
    flex-wrap: nowrap;
}
p.text {
    margin: 0;
}
span.logo {
    background-position: left center;
    margin: 5px 0 5px 5px;
}
