#wrap {
    background: url(img/shadedEdges.png), url(img/mobileBG.jpg);
    background-size: 100% 100%, auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    min-height: 100vh;
    padding: 20px;
}

a {
    color: #09f;
    position: relative;
    top: 0;
    transition: top 0.2s ease;
    text-decoration: none;
}

.block a {
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
}

a:hover {
    top: -2px;
}

#mainBox {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    max-width: 528px;
}

.block {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border-radius: 8px;
    margin: 4px;
    background: #f5f5f5;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15), 
                0 0 8px rgba(255, 255, 255, 0.7) inset;
    position: relative;
    opacity: 0;
    transition: all 0.2s ease;
    color: #333;
}

.block.black {
    background: #e0e0e0;
    color: #333;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15), 
                0 0 8px #f0f0f0 inset;
}

a.block:hover, #news:hover {
    z-index: 100;
    box-shadow: 8px 8px 8px 4px rgba(0, 0, 0, 0.15), 
                0 0 16px rgba(255, 255, 255, 1) inset;
    opacity: 1;
    top: -2px;
}

#titleBox {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
}

#titleBox img {
    width: 64px;
    height: 64px;
    margin-right: 12px;
    vertical-align: middle;
}

.blueText {
    color: #2C90DD;
    font-size: 24px;
    font-weight: bold;
}

.yellowText {
    color: #ffff00;
    font-size: 24px;
    font-weight: bold;
    padding-right: 10px;
}

.odd-letter {
    color: #2C90DD;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.even-letter {
    color: #ffff00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.optionBox {
    text-align: center;
    clear: both;
    margin-bottom: -12px;
    overflow: hidden;
}

.optionBox .option.focused {
    text-decoration: underline;
}

a.option {
    display: inline-block;
    border: 1px solid #ccc;
    background: #000;
    margin: 2px 4px 2px 0;
    color: #ccc;
    font-size: 12px;
    padding: 4px 8px;
    text-decoration: none;
}

a.option.off {
    opacity: 0.5;
}

a.option:hover {
    border-color: #fff;
    color: #fff;
    text-shadow: none;
}

a.option:active {
    background-color: #333;
}

a.option.big {
    font-size: 30px;
    margin: auto;
    padding: 8px 16px;
    width: 80%;
}

a.option.framed.large {
    font-size: 20px;
    margin: 4px auto;
    padding: 6px 12px;
    background: #058;
    box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(0, 0, 0, 0.25), 
                0 1px 1px 1px rgba(0, 0, 0, 0.5) inset, 
                0 0 12px 2px #0cf inset;
    text-shadow: 0 1px 2px #000;
    color: #fff;
}

a.option.framed.large:hover {
    background: #0cf;
    box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(0, 0, 0, 0.25), 
                0 1px 1px 1px rgba(0, 0, 0, 0.5) inset, 
                0 0 12px 2px #8ef inset;
    text-shadow: 0 1px 2px #000;
    color: #fff;
}

a.option.framed.large.red {
    background: #c30;
    box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(0, 0, 0, 0.25), 
                0 1px 1px 1px rgba(0, 0, 0, 0.5) inset, 
                0 0 12px 2px #f64 inset;
}

a.option.framed.large.red:hover {
    background: #f64;
    box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(0, 0, 0, 0.25), 
                0 1px 1px 1px rgba(0, 0, 0, 0.5) inset, 
                0 0 12px 2px #fc7 inset;
}

.warning, a.option.warning {
    color: #c00;
    border-color: #c00;
}

a.option.warning:hover {
    border-color: #f33;
    color: #f33;
}

a.option.warning:active {
    background-color: #300;
}

.neato, a.option.neato {
    color: #096;
    border-color: #096;
}

a.option.neato:hover {
    border-color: #3c9;
    color: #3c9;
}

a.option.neato:active {
    background-color: #032;
}

#title, #subtitle, .header {
    font-size: 40px;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px #333;
    font-weight: bold;
    font-family: 'Oswald', Tahoma, sans-serif;
    text-align: center;
}

#title {
    text-shadow: 1px 1px 0 #96f, 
                2px 2px 0 #639, 
                4px 4px 4px #333;
}

#subtitle {
    font-size: 15px;
    opacity: 0.75;
    margin-bottom: 8px;
}

.header {
    font-size: 25px;
    margin: 6px 0;
}

#credits {
    margin: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 2px 2px 4px #333;
    font-size: 10px;
    text-align: center;
}

#credits a {
    color: #f0f0f0;
}

.blurb {
    display: flex;
    justify-content: center;
    margin: auto;
    position: relative;
}

.gameList {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gameList>.block {
    width: calc(50% - 8px);
    max-width: 256px;
    min-width: 128px;
    min-height: 104px;
    background: #eee;
    background-size: cover;
    background-position: center;
    opacity: 0;
}

.gameList>.block:last-child:nth-child(odd),
.gameList>.block.full {
    width: calc(100% - 8px);
    max-width: calc(100% - 8px);
}

.gameList>.block>h3 {
    background: rgba(0, 0, 0, 0.65);
    margin: -12px;
    margin-bottom: 0;
    padding: 6px 12px;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 0 10px #000;
}

.whiteText {
    color: #fff;
    text-shadow: 0 0 4px #000, 
                0 0 8px #000, 
                0 0 16px #000, 
                0 0 32px #000;
}

.blackText {
    color: #333;
    text-shadow: 0 0 4px #fff, 
                0 0 8px #fff, 
                0 0 16px #fff, 
                0 0 32px #fff;
}

p {
    text-indent: 8px;
    padding: 4px;
    margin: 0;
}

h3 {
    text-decoration: underline;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#credits {
    animation: slideIn 0.8s ease-out forwards;
}

#mainBox > div:nth-child(3) .block.black {
    animation: slideIn 0.8s ease-out 0.1s forwards;
}

#mainBox > div:nth-child(2) .block {
    animation: slideIn 0.8s ease-out 0.2s forwards;
}

#titleBox {
    animation: slideIn 0.8s ease-out 0.3s forwards;
}

#ad {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}