@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bs-indigo-900: #140330;
  --bs-indigo-700: rgb(61.2,9.6,145.2);
  --bs-indigo-100: #e0cffc;
  --bs-gray-100:   #f8f9fa;
  --bs-body-color: #dee2e6;
}

body {
    background-color: rgb(78, 81, 127);
    background-color: rgb(59, 61, 95);
    color: var(--bs-body-color);
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

h1, h2 {
  margin-top: 1em;
  font-family: "Kaushan Script", cursive;
}

h1.user-name {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.125in;
    background-color: rgba(20,3,48,0.8);
}

h2.item-approver {
    color: var(--bs-indigo-100);
    font-size: small;
}

i {
  font-size: larger;
  vertical-align: middle;
}

div.item-full {
    margin-bottom: 1em;
}

img.qr-code {
    max-height: 150px;
    max-width: 45%;
}

.list-group {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.top-border-image, .bottom-border-image, .banner-logo {
    left: 0;
    background-size: 100% 180px;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    pointer-events: none;
}
.top-border-image {
    background-image: url("/images/top_fade_alpha.png");
    background-position: top;
    top: 0;
}
.bottom-border-image {
    background-image: url("/images/bottom_fade_alpha.png");
    background-position: bottom;
    bottom: 0;
}

.banner-description::after {
    content: "The mingler logo is a squiggly drawing of two humans standing face-to-face with heads touching, looking at a full moon.";
}

.banner-logo {
    background-image: url("/images/logo_alpha_512x512.png");
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
    aspect-ratio: 1 / 1;
    left: 0;
    width: 25%;
    max-width: 180px;
    top: 0;
}

#content > section {
    margin-top: 0;
    margin-bottom: 150px;
}

input {
    max-width: 400px;
}

section {
    padding: 0em;
}

section#main {
    padding: 0em;
}

main#oops > h1 {
    margin-top: 0.75in;
}

#logo-top, #logo-bottom {
    max-height: 150px;
}

.category-image {
    display: block;
    margin-top: 0.125in;
    margin-right: 0.125in;
    max-width: 90%;
    max-height: 4in;
}

.home-buttons {
    margin-bottom: 0.25in;
}

.home-buttons > a {
    margin-top: 0.125in;
    margin-left: 0.125in;
}

.question-list, .leaderboard-list {
    list-style: none;
    padding: 0;
}

.question-list > li, .leaderboard-list > li {
    padding: 0.125in;
    border: solid 1pt var(--bs-indigo-700);
    margin-bottom: 0.125in;
}

.leaderboard-count, .leaderboard-name {
    display: inline-block;
    padding-left: 0.125in;
}

.leaderboard-count {
    text-align: right;
}

video {
    background-color: var(--bs-indigo-100);
    min-width: 300px;
    min-height: 200px;
    max-width: 80%;
}

.qr-container {
    background-color: var(--bs-gray-100);
    float: right;
    width: 175px;
    height: 175px;
    max-height: 175px;
    max-width: 45%;
    box-shadow: 6px 5px 15px rgb(0 0 0 / 30%);
    margin-left: 10px;
    margin-bottom: 10px;
}

.qr-container-big {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1 / 1;
    margin: auto;
    background-color: var(--bs-gray-100);
}
#login-qr-page .alert {
  margin-top: 1rem;
  text-align: center !important;
}
.qr-container svg, .qr-container-big svg {
    margin: 5%;
    width: 90%;
    height: 90%;
}

#home-page {
    margin-top: 50px !important;
}

#scan-page > div {
    margin-bottom: 0.125in;
}

.scan-question i {
    float: left;
    margin-right: 1em;
    height: 100%;
}

video {
   background-color: black;
   color: white;
   border-color: black;
   border-style: solid;
   border-width: 3px;
}

.indented {
    margin-left: 5%;
}

.leaderboard-container, .over-container {
    margin-top: 4rem;
}

.leader-score {
    text-align: right;
}

.countdown-timer {
   text-align: center;
   font-size: 64px;
}

.countdown-complete {
   margin-top: 2rem;
   font-size: 32px;
}

div.ask {
   background-color: var(--bs-body-color);
   padding: 1em;
   margin-bottom: 1em;
   color: var(--bs-body-bg);
}