/* Typography */

@font-face {
    font-family: Purista;
    src: url('../Fonts/Purista Medium.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: Purista;
    src: url('../Fonts/Purista Bold.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: Plateia;
    src: url('../Fonts/Plateia Bold.ttf') format('truetype');
}

.plateia {
    font-family: Plateia, Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-transform: uppercase;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 3px rgba(255, 255, 255, .5), 0 0 .5rem rgba(255, 255, 255, .3), 0 0 2rem rgba(255, 255, 255, .2);
}

/* Root */

:root {
    --bs-font-sans-serif: Purista, Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --bs-body-bg: #171616;
    --bs-body-font-size: 1.2rem;
}

body {
    background-image: none;
}

/* Header */

header {
    background: url('../Images/CockStats_banner.jpg') no-repeat center center/cover;
    height: 400px;
    color: #fff;
    text-align: center;
    position: relative;
}

.darken-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

header .display-1 {
    margin: 0 0 3rem;
    text-transform: uppercase;
    font-size: calc(1rem + 5vw);
    line-height: calc(1rem + 4vw);
}

@media (min-width: 1200px) {
    header .display-1 {
        line-height: 4rem;
        letter-spacing: .5rem;
        font-size: 5rem;
    }
}

header .display-3 {
    margin: 0;
    padding: 0 3rem 0;
    text-transform: uppercase;
    font-size: calc(1rem + .5vw);
}

@media (min-width: 1200px) {
    header .display-3 {
        font-size: 1.5rem;
    }
}

/* Content */

#quest-winners-row .card {
    --bs-card-border-radius: 0.5rem;
    overflow: hidden;
}

#quest-winners-row .card-background {
    background-size: cover;
}

#total-consumption-card-body {
    background: rgb(147,17,137);
    background: linear-gradient(180deg, rgba(147,17,137,0.5) 0%, rgba(147,17,137,0) 50%, rgba(147,17,137,0) 100%);
}

#lblTotalScores {
    margin: -2rem 0 0;
    font-size: 7rem;
}
    @media (max-width: 991px) {
        #lblTotalScores {
            font-size: 6rem;
        }
        #cocktail-icon {
            font-size: 6rem;
        }
    }
    @media (max-width: 330px) {
        #lblTotalScores {
            font-size: 4rem;
        }
        #cocktail-icon {
            font-size: 4rem;
        }
    }

#cocktail-icon {
    font-size: 8rem;
    text-shadow: 0 0 1rem rgba(255,255,255,.6);
}

#drunkest-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center -30px;
    filter: grayscale(80%) sepia(100%);
    margin: auto;
}

.section {
    background: #222;
    border-radius: .8rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.section-title {
    margin: 0;
    padding: 2rem 3rem;
    border-bottom: 3px solid rgba(255,255,255,.15);
}

.table-dark {
    --bs-table-color: #fff;
    --bs-table-bg: #212529;
    --bs-table-border-color: #4d5154;
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table > :not(caption) > * > * {
    padding: 1rem 1rem;
}

footer {
    background: #111;
    color: #d1d1d1;
    padding: 20px 0;
}
