#wrap {
    background: url(img/shadedEdges.png), url(img/hehe2.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: 800px;
}

.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);
}

#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 -12px 0 -12px;
    padding: 6px 12px;
    border-radius: 8px 8px 0 0;
    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(4) .block.black {
    animation: slideIn 0.8s ease-out 0.1s forwards;
}

#mainBox > div:nth-child(3) {
    animation: none;
}

#mainBox > div:nth-child(3) a.block:nth-child(1) {
    animation: slideIn 0.8s ease-out 0.2s forwards;
}

#mainBox > div:nth-child(3) a.block:nth-child(2) {
    animation: slideIn 0.8s ease-out 0.25s forwards;
}

#mainBox > div:nth-child(3) a.block:nth-child(3) {
    animation: slideIn 0.8s ease-out 0.3s forwards;
}

#mainBox > div:nth-child(3) a.block:nth-child(4) {
    animation: slideIn 0.8s ease-out 0.35s forwards;
}

#mainBox > div:nth-child(2) .block {
    animation: slideIn 0.8s ease-out 0.4s forwards;
}

#titleBox {
    animation: slideIn 0.8s ease-out 0.6s forwards;
}

#ad {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}