/* Main */
html, body {
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 12px;
    margin: 0;
    background-image: url("/images/brawlr/Water.png");
    background-repeat: repeat;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

img {
    max-width: 100%;
}

th, td {
    border: 20px solid #000;
    border-image: url("/images/Border.png") 50;
}

/* Header */
.header {
    background: linear-gradient(to bottom, #355eff, #2248ec);
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.header-link {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    color: white;
    text-decoration: none;
    padding: 17px 16px;
    text-shadow: 1px 1px 1px #000;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Content */
.content {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 1;
}

.column {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 3;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    line-height: 24px;
    background-color: white;
    border: 30px solid #000;
    border-image: url("/images/Border.png") 50;
}

.newline {
    width: 100%;
}

/* Leaderboards */
.leaderboard-selector img {
    width: 64px;
    height: 64px;
    filter: brightness(50%);
}

.leaderboard-selector:link {
    text-decoration: none;
}

.leaderboard-selector.selected img {
    filter: brightness(100%);
}

/* Profile */
.profile-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-basis: 50%;
    justify-content: center;
}

.profile-box > div {
    padding: 15px;
}


/* 404 */
#errorface {
    left: 0;
    width: 128px;
    background: url("/images/404.png") 0 0;
}

#errorface:hover {
    background: url("/images/404.png") 128px 0;
}