@font-face {
    font-family: Kalam;
    src: url(../fonts/Kalam/Kalam-Regular.ttf);
}

@font-face {
    font-family: Varela;
    src: url(../fonts/Varela_Round/VarelaRound-Regular.ttf);
}

:root {
    --font-default: Varela;
    --font-buttons: Varela;
}

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

body {
    background-color: #1c1719;
    font-family: var(--font-default);
}

/* ---------- DIALOG BOX ---------- */

.dialog-box-container {
    position: fixed;
    z-index: 15;
    overflow: visible;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 15px;
}

.dialog-box {
    display: inline-block;
    width: 500px;
    border-radius: 6px;
    overflow: hidden;
}

.dialog-box-content {
    width: 100%;
    height: 100%;
    background-color: #382e32;
    padding: 20px 40px;
    box-sizing: border-box;
    color: white;
}

.dialog-buttons {
    margin-top: 15px;
    text-align: center;
}

.dialog-button {
    box-sizing: border-box;
    min-width: 160px;
    text-align: center;
    background-color: hsl( 200 , 60% , 50% );
    display: inline-block;
    border-radius: 2000px;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
    padding: 10px 20px;
    margin: 5px;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-buttons);
}

.dialog-button:hover {
    background-color: #47b4eb;
}

.dialog-button.cancel {
    background-color: hsl( 360 , 60% , 50% );
}

.dialog-button.cancel:hover {
    background-color: #eb4747;
}

.dialog-form-logo {
    background-image: url(https://osu.ppy.sh/assets/images/osu-logo-white.59d385da.svg);
    background-position: contain;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
}

/* ---------- MISCELLANEOUS ---------- */
.content-fit {
    width: calc(100% - 50px);
    max-width: 1000px;
    padding: 0 50px;
    box-sizing: border-box;
    display: inline-block;
}

/* ---------- HEADER ---------- */

.header {
    width: 100%;
    height: 160px;
    text-align: center;
    background-color: #2e1f25;
    position: relative;
    overflow: hidden;
}

.header-bg {
    width: 100%;
    height: 90px;
    margin-bottom: -90px;
    background-image: url(../assets/img/nav-bg.png);
    background-repeat: no-repeat;
    background-position-x: center;
    filter: hue-rotate(333deg) saturate(.6);
}

.header-navbar {
    position: relative;
    z-index: 5;
    height: 90px;
    text-align: left;
}

.navbar-link {
    color: #ccc;
    text-decoration: none;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    padding: 0 10px;
    margin: 15px 0;
    cursor: pointer;
}

.navbar-link:hover {
    color: #fff;
}

.page-title {
    display: inline-block;
    overflow: hidden;
    height: 55px;
    line-height:55px;
    background-color: #2e1f25;
    color: white;
    text-align: left;
    font-size: 20px;
    box-shadow: 0px -5px 100px #fff5;
    margin-top: 15px;
}

.navbar-profile {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    margin-right: 15px;
}

.navbar-profile-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50px;
}

.navbar-profile-username {
    color: #ddd;
}

/* ---------- CONTENT ---------- */
.content-container {
    text-align: center;
    width: 100%;
}

.content {
    text-align: left;
    word-wrap: break-word;
    background-color: #2e1f25;
    color: white;
    box-shadow: 0 0 10px #0009;
}

/* ---------- COUNTS DISPLAY ---------- */
.counts-display {
    text-align: center;
    box-sizing: border-box;
    padding: 10px;
    display: inline-block;
}

/*.counts-display .counts-stats {
    
}

.counts-display .counts-hits {

}*/

.counts-display .counts-item {
    display: inline-block;
    min-width: 60px;
}

.counts-display .counts-item .description {
    font-size: 13px;
    border-radius: 10px;
    background-color: #0005;
    padding: 2px 7px;
    width: 100%;
    box-sizing: border-box;
}

.counts-display .counts-item .value {
    width: 100%;
    box-sizing: border-box;
}

/* ---------- BEATMAP INFO ---------- */
.beatmap-title-header {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    color: white;
    display: block;
}

.beatmap-title-header::after {
    content: "🔗";
    font-size: 15px;
}

.beatmap-title-header:hover {
    text-decoration: underline;
}

.beatmap-details-header {
    padding-bottom: 10px;
}

.beatmap-details-header .beatmap-version {
    font-weight: bold;
    display: inline-block;
    color: white;
    text-decoration: none;
}

.beatmap-details-header a.beatmap-version:hover {
    text-decoration: underline;
}

.beatmap-details-header .beatmap-mapped-by {
    font-size: 14px;
    color: #def;
    display: inline-block;
}

.beatmap-details-header .beatmap-mapped-by .creator {
    font-size: 16px;
    color: #bcf;
}

.beatmap-details-header .beatmap-difficulty {
    display: inline-block;
    border-radius: 50px;
    background-color: #0009;
    padding: 3px 10px;
    margin-right: 5px;
}

.beatmap-details-header .beatmap-difficulty .star {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../assets/img/star.svg);
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

.beatmap-details-header .beatmap-difficulty .rating {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
}

/* ---------- USER CARD ---------- */
.user-card {
    border-radius: 10px;
    padding: 10px;
    margin: 15px;
    float: left;
    background-color: #0004;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.user-card:hover {
    background-color: #0002;
}

.user-card .profile-image {
    width: 60px;
    height: 60px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    display: inline-block;
    vertical-align: middle;
}

.user-card .username {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    margin: 0 10px;
}
