.pagebreak {
    page-break-after: always;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #ff6702;
}

.str1>div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.html {
    display: none;
}

tr.pagebreak+tr {
    height: 75px;
}

th,
td {
    border: 1px solid black;
}

table {
    width: 100%;
    padding: 75px 50px;
}

.tablica-iznosi {
    page-break-inside: avoid;
}

.avoid {
    page-break-inside: avoid;
}

.padding {
    padding: 0 50px;
}

.qr{
    width: 150px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.potpis {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 400px;
}

.potpis>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.potpis p {
    margin: 0;
}

.tablica-iznosi td {
    text-align: center;
}

td:has(.ukupno) {
    background-color: #81dfbb;
}

a {
    color: #ff6702;
}

th,
td {
    padding: 10px;
}

th {
    background-color: #ff6702;
    color: white;
}

* {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

tr {
    page-break-inside: avoid;
}

img {
    width: 100vw;
}

h1 {
    text-align: center;
}

.str1 {
    text-align: center;
    position: relative;
    background-color: white;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

p {
    font-size: 20px;
}

footer {
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
}

footer p {
    font-size: 12px;
}

header {
    position: fixed;
    top: 20px;
    width: 100%;
}

header img {
    position: relative;
    width: 150px;
    left: 20px;
}

header p {
    position: absolute;
    right: 20px;
    top: 0;
    margin: 0;
}

section {
    padding: 75px 50px;
}

.fixed {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: url("back.webp") no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.str1 {
    padding: 0;
}

.forma {
    padding: 100px;
}

section {
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

/* body>*:not(.forma) {
    visibility: hidden;
}

body{
    overflow: hidden;
} */

@page {
    margin: 0;
}

@media print {
    .hide {
        display: none;
    }

    .html {
        display: none;
    }

    body>*:not(.forma) {
        visibility: visible;
    }
}