@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

@page {
    margin: 0;
}

html {
    --card-height: 148mm;
    --card-width: 105mm;
    --card-spacing: 15mm;

    height: 100%;
}

body {
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    height: 100%;
    margin: 0;
    padding: 0;
}

.card {
    margin: 0;
    top: var(--card-top-shift);
    position: relative;
    height: calc(var(--card-height));
    width: calc(var(--card-width));
    background: #ffffff;
    border: 1px solid #ffffff;
    outline: 1px dashed #333333;
}

strong {
    font-weight: 600;
}

.card-text {
    position: absolute;
    top: var(--card-spacing);
    left: var(--card-spacing);
    right: var(--card-spacing);
    bottom: var(--card-spacing);
    overflow: auto;
}

.card-caption {
    font-weight: 400;
    font-size: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: var(--card-spacing);
    right: var(--card-spacing);
    bottom: calc(var(--card-spacing) - 1cm);
}

.card-caption img {
    height: 0.25cm;
    width: auto;
}

.card-inlay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 100%;
}

@media screen {
    body {
        display: flex;
    }
}

@media print {
    .card {
        outline: none;
    }

    .card-front {
        margin-left: auto;
        page-break-after: always;
    }
}
