:root {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

a {
    color: #333;
}

header {
    color: #fff;
    text-align: center;
    background: #fff;
}

header>nav{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px !important;
}

header .navbar-brand{
    display: flex;
    justify-content: center;
    flex: 1;
}

header .navbar-brand img{
    max-width: 100%;
    box-sizing: border-box;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 20px;
    flex:1;
    max-width: 1200px;
    align-self: center;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
}

.cat-pictured-headline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 20px 0;
    position: relative;
}

.cat-pictured-headline img {
    max-width: 100%;
    margin-bottom: 20px;
}

.cat-pictured-headline h1,.cat-pictured-headline span {
    position: absolute;
    color: #fff;
    text-shadow: 20px 20px 40px #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.start-cat-rows a {
    text-decoration: none;
    display: block;
    transition: transform 0.5s;
}

.start-cat-rows a img{
    height: 100%;
}

.start-cat-rows a:last-child {
    padding-right: 0;
}

.start-cat-rows a:first-child {
    padding-left: 0;
}

.cat-pictured-headline span {
    font-size: 1.5em;
    font-weight: bold;
}

.start-cat-rows a:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .start-cat-rows a {
        padding : 0;
    }

    .cat-pictured-headline span {
        font-size: 2em;
    }
}