/* main.css */

/* ----------------------------------------------
 * Custom styles
 * -------------------------------------------- */

@font-face {
  font-family: 'gravity';
  src: url('/static/fonts/GravityBold8.ttf') format('truetype');
}

body {
    margin: 2em;
    color: #fff;
    background-color: #000;
    font-family: 'gravity', monospace;
    line-height: 1.4;
}

img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

a, a:visited {
    color: #c00;
    text-decoration: none;
}

a:hover, a:active {
    color: #cc0;
    text-decoration: none;
}

h1, h2 {
    color: #f82;
}

h3 {
    display: none;
}


h4 {
    margin-left: 1em;
}

.home {
    width: 28px;
}

.home_link {
    filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(130deg) brightness(95%) contrast(80%);
}

.home:hover {
    filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(0deg) brightness(95%) contrast(80%) !important;
}

.selected-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 5px 10px;
}

.badge-sheet {
    margin-top: 3em;
}

.badge-container {
    margin-top: 5em;
}

.all-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 5px 10px;
}

input {
    padding: 0.5em;
    margin: 0.5em 0;
}

.badge {
    width: 256px;
}

/* Override default styles when printing, so the images print at the right sizes for the badges and we hide irrelevant stuff from the webpage */
@media print {
    body {
        margin: 0;
        color: #000;
        background-color: #fff;
    }
    h1, h2, h4, p, .badge-container {
        display: none;
    }
    .badge {
	    width: 66mm !important;
	    padding: 5mm !important;
    }

    .selected-badges {
        margin-left: 10mm;
    }

    h3 {
        display: block;
        margin-left: 1em;
    }
}
