*, *::after, *::before {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Jameel Noori Nastaleeq';
    src: url('/fonts/jameel-noori-nastaleeq.ttf');
}

html, body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    background-color: #e4e4e4;
    font-family: 'Jameel Noori Nastaleeq', Roboto, sans-serif;
    font-size: 18px;
}

main {
    background-color: white;
    width: 90vw;
    max-width: 800px;
    margin-top: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card {
    box-shadow: 1px 1px 10px #ddd;
    padding: 1rem;
    border-radius: 5px;
}

.btn {
    background-color: dodgerblue;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #146cc1;
}

.my5 {
    margin: 1.25rem 0;
}

.m0 {
    margin: 0 !important;
}

hr {
    width: 100%;
    border: none;
    border-top: 1px solid #ddd;
}

.badges {
    width: 267mm;
    background-color: white;
    font-size: 14pt;
}

.badge {
    width: 33%;
    height: 60mm;
    padding: 0.5em;
    text-align: center;
    display: flex;
    flex-direction: column;
    float: left;
}

.badge-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid;
}

.badge .body {
    padding: 0.5em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.badge .name {
    font-size: 1em;
}

.badge .resp {
    font-size: 0.8em;
}

.badge .header {
    background-color: #eee;
    font-size: 0.8em;
    padding: 0.5em;
    display: flex;
    align-items: center;
}

.badge .header img {
    height: 2.5em;
    width: 2.5em;
}

.badge .footer {
    background-color: #eee;
    font-size: 0.8em;
    padding: 0.5em;
}

.page-break {
    page-break-after: always;
    opacity: 0;
}

@media print {
    body, html {
        background-color: white;
    }
}
