* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Helvetica, sans-serif;
}

@font-face {
    font-family: 'bebas_neueregular';
    src: url('mainpage/fonts/bebasneue-webfont.eot');
    src: url('mainpage/fonts/bebasneue-webfont.eot?#iefix') format('embedded-opentype'),
    url('mainpage/fonts/bebasneue-webfont.woff') format('woff'),
    url('mainpage/fonts/bebasneue-webfont.ttf') format('truetype'),
    url('mainpage/fonts/bebasneue-webfont.svg#bebas_neueregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'jenna_sueregular';
    src: url('mainpage/fonts/jennasue-webfont.eot');
    src: url('mainpage/fonts/jennasue-webfont.eot?#iefix') format('embedded-opentype'),
    url('mainpage/fonts/jennasue-webfont.woff') format('woff'),
    url('mainpage/fonts/jennasue-webfont.ttf') format('truetype'),
    url('mainpage/fonts/jennasue-webfont.svg#jenna_sueregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    width: 988px;
    min-height: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5em;

    background-color: black;
    color: white;

    border-right: solid #480000 1px;
    border-left: solid #480000 1px;
    border-bottom: solid purple 1px;
    border-radius: 30px 30px 30px 30px; /* bottom rounded corners here */
}

header div#Banner, header div#Banner img {
    border: medium none;
    border-radius: 30px 30px 0 0; /* top banner rounded corners here */
}

.jimgMenu {
    display: flex;
    width: 100%;
}

.jimgMenu-section {
    display: flex;
    align-items: flex-end;
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    margin: 0;
}

.jimgMenu-section:first-child {
    margin-left: 0;
}

.jimgMenu-section:last-child {
    margin-right: 0;
}

.jimgMenu-section:hover {
    flex: 3;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}


div.layout {
    background-image: url('mainpage/images/mp_background.jpg');
    border-radius: 0 0 30px 30px; /* top banner rounded corners here */
    display: flex;
    flex-flow: row wrap;
}

nav {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 200px;

}

nav h3 {
    border-bottom: 1px solid white;
    color: white;

    font-family: bebas_neueregular, sans-serif;
    font-size: 25px;
    font-variant: small-caps;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 0;
    margin-bottom: 12px;
    margin-left: 5px;
    margin-right: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-family: bebas_neueregular, sans-serif;
    font-size: 24px;
    font-weight: normal;
    font-variant: small-caps;
}

nav a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    padding-right: 50px;
}

main h2 {
    color: rgb(230, 160, 191);
    font-weight: bold;
    font-family: jenna_sueregular, sans-serif;
    font-size: 60px;
    margin: 10px 0 0;
}

main h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

main p {
    line-height: 20px;
}

main.links h3 {
    font-size: 1em;
    color: yellow;
}

main.links ul {
    list-style-type: none;
}

main.faq h3, main.rules h3 {
    font-size: 1em;
    color: yellow;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

main.faq p {
    margin-bottom: 5px;
}

main a {
    color: white;
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

main.ezine img {
    border-radius: 10px 10px 10px 10px;
    margin-top: 10px;
}

main.ezine h3 {
    margin-top: 18px;
    padding-left: 30px;
    border-bottom: solid yellow 1px;
    color: yellow;
}

main.ezine .backissues {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

main.ezine .backissues img {
    width: 200px;
}

footer {
    flex: 1 1 100%;
    padding: 18px 0;
    border-top: 4px solid black;

    text-align: center;

    font-family: Arial, Helvetica, Geneva, sans-serif;
    font-size: 11px;
    font-style: italic;
}

footer p {
    margin-top: 0;
    margin-bottom: 0;
}

div#fancy_title table {
    display: none
}
