/*
    PAGES THAT USE THIS STYLE:
    /index
    /advert
*/

body {
    max-width: 1920px;
    height: 100%;
    max-height: 100%;
    margin: auto;
}

html {
    height: 100%;
    background: #000000;
    background-image: linear-gradient( to bottom right, rgba( 16, 16, 16, 1 ), rgba( 32, 32, 32, 1 ), rgba( 16, 16, 16, 1 ) );
}

.content-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 75%;
    height: 100%;
    margin: auto;
}

.text-flex {
    display: flex;
    flex-direction: column;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgwrap {
    flex: 1;
}

img {
    float: left;
}

h1 {
    font-family: "Satisfy", cursive;
    font-size: 100pt;
    margin-bottom: 40px;
    color: #61fb06;
    max-width: 80%;
    flex: 2;
}

h2 {
    font-family: "Signika Negative", "Red Hat Display", sans-serif;
    text-align: center;
    font-size: 24pt;
    margin-top: 0px;
    color: #E9E9E9;
    flex: 1;
    font-weight: 700;
}

a:link {
    color: #E9E9E9;
    transition-duration: 0.25s;
    transition-property: text-shadow;
    text-decoration: none;
}

a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 5px #ffffff;
    text-decoration: none;
}

a:visited {
    color: #E9E9E9;
    text-decoration: none;
}

@keyframes walk {
	0% { transform: rotateZ(10deg); }
	50% { transform: rotateZ(-10deg); }
    100% { transform: rotateZ(10deg); }
}

.walk {
	animation-name: walk;
	animation-duration: 4.0s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

* {
    box-sizing: border-box;
}

@media only screen and ( max-width: 1279px ) {
    .content-flex {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        max-width: 75%;
        height: 100%;
        margin: auto;
    }

    img {
        float: left;
    }

    h1 {
        margin-bottom: 0px;
    }
}