*{
    margin: 0;
    padding: 0;
}

#A4{
    width: 21cm;
    height: 29.7cm; 
    padding: 10mm;
    margin: 0;
    box-sizing: border-box;
}

.invoce_header{
    display: flex;
    direction: rtl;
    justify-content: space-around;
    text-align: center;
    padding: 5mm;
    line-height: 1.6;
}

.invoce-det{
    text-align: center;
    direction: rtl;
    display: flex;

}

.inv_det_hed{
    background-color: #00ADF1;
    font-size: 20px;
    padding: 2mm;
    color: white;
}

.invoce-det_1{
    width: 45%;
    text-align: right;
    padding: 3mm;
}

.invoce-det_1>h6{
    font-size: 18px;
}

.invoce-det_2{
    width: 30%;
    padding: 3mm;
}

.invoce-det_2>h6{
    font-size: 18px;
}

footer {
    position: fixed;
    height: 30px;
    bottom: 0;
    right: 45%;
    font-size: 15px;
}