html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    color: #999;
    margin: 0;
    /* Image courtesy of gradientmagic.com */
    background-image: 
        repeating-linear-gradient(90deg, hsla(69,0%,61%,0.05) 0px, hsla(69,0%,61%,0.05) 1px,transparent 1px, transparent 104px),
        repeating-linear-gradient(0deg, hsla(69,0%,61%,0.05) 0px, hsla(69,0%,61%,0.05) 1px,transparent 1px, transparent 104px),
        repeating-linear-gradient(0deg, hsla(69,0%,61%,0.08) 0px, hsla(69,0%,61%,0.08) 1px,transparent 1px, transparent 13px),
        repeating-linear-gradient(90deg, hsla(69,0%,61%,0.08) 0px, hsla(69,0%,61%,0.08) 1px,transparent 1px, transparent 13px),
        linear-gradient(45deg, rgb(4, 4, 4),rgb(79, 79, 79));
    background-attachment: fixed;
}

h2 {
    text-align: center;
}

a:link {
    color: deepskyblue;
}

a:visited {
    color: #666;
}

a:link {
    color: deepskyblue;
}

#logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.ad-placeholder {
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(20, 20, 20, 0.5);
    margin-bottom: 12px;
}

.leaderboard-ad {
    /* display: block;  */
    width: 720px;
    height: 90px;
    padding: 5px;
    display: flex; 
    justify-content: space-between
}

.ad-more-info {
    float: right;
    height: 90px;
    width: 180px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    text-align: center;
    font-size: larger;
}

/* .mobile-ad {
    display: none; 
    width: 320px;
    height: 50px;
}

@media (max-width: 200px) {
    .leaderboard-ad {
        display: none; 
    }
    
    .mobile-ad {
        display: block; 
    }
} */

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10vw;
    padding-right: 10vw;
}

.box {
    flex: 1;
    aspect-ratio: 1;
    min-width: 100px;
    padding: 10px;
}

.content {
    max-width: 768px;
    padding-left: 10vw;
    padding-right: 10vw;
    
}

/* Portrait mode */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
    }
    .box {
        width: 40vh;
        max-height: 40%;
    }
}

/* Landscape mode */
@media (mix-width: 1025px) {
    .box {
        width: 40vw;
    }
}

small {
    font-size: xx-small;
}

.footer {
    text-align: center;    
    width: 100%;
    background-color: rgba(64, 64, 64, 0.5);
    margin-top: 32px;
}