@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-Regular.otf') format('opentype');
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-Italic.otf') format('opentype');
  font-weight: 400; /* Regular */
  font-style: italic;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-Bold.otf') format('opentype');
  font-weight: 700; /* Bold */
  font-style: normal;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-BoldItalic.otf') format('opentype');
  font-weight: 700; /* Bold */
  font-style: italic;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-ExtraBold.otf') format('opentype');
  font-weight: 800; /* Extra Bold */
  font-style: normal;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-ExtraBoldItalic.otf') format('opentype');
  font-weight: 800; /* Extra Bold */
  font-style: italic;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-Medium.otf') format('opentype');
  font-weight: 500; /* Medium */
  font-style: normal;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-MediumItalic.otf') format('opentype');
  font-weight: 500; /* Medium */
  font-style: italic;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-SemiBold.otf') format('opentype');
  font-weight: 600; /* Semi Bold */
  font-style: normal;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-SemiBoldItalic.otf') format('opentype');
  font-weight: 600; /* Semi Bold */
  font-style: italic;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-Black.otf') format('opentype');
  font-weight: 900; /* Black */
  font-style: normal;
}

@font-face {
  font-family: 'Sinteca';
  src: url('https://konascoinvoice.com/static/fonts/sinteca/Sinteca-BlackItalic.otf') format('opentype');
  font-weight: 900; /* Black */
  font-style: italic;
}

body {
  font-family: 'Sinteca', sans-serif;
  font-weight: 400; /* Regular */;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sinteca', sans-serif;
  font-weight: 700; /* Bold */
}

b, strong {
  font-family: 'Sinteca', sans-serif;
  font-weight: 800; /* Extra Bold */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header styles */
.header {
  background: linear-gradient(to bottom, #000000, #004085);
  color: white;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container {
  background-color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1210px;
  margin: 0px auto;
  margin-top: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.div-container {
  padding: 30px;
  background-color: white;
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.footer-container {
  display: flex;
  padding: 20px 30px 20px 30px;
  justify-content: space-between;
  background-color: white;
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.logo img {
  max-width: 300px;
  height: auto;
}

.email a {
  text-decoration: none;
  color: #007bff;
  font-size: 18px;
}

.hologram img {
  width: 120px;
  height: 120px;
  margin-right: 100px;
}

.header .logo {
  font-size: 24px;
  font-weight: bold;
}

.header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.header nav ul li {
  margin-left: 15px;
}

.header nav ul li a {
  color: white;
  text-decoration: none;
}

/* Main content styles */
.main {
  background-color: #004085;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.invoice-header .left {
  font-size: 18px;
  margin-top: 0px;
}

.invoice-details {
  margin-top: 0px;
}

.invoice-details table,
.invoice-items table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.invoice-details th,
.invoice-items th {
  border: 1px solid #ddd;
  background-color: #004085;
  color: white;
  padding: 10px;
}

.invoice-details td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.invoice-items td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.invoice-items .totals p {
  text-align: right;
  font-weight: bold;
}

/* Footer styles */
.footer {
  background: linear-gradient(to bottom, #004085, #000000);
  color: white;
  text-align: left;
  padding: 1px 0;
}

@media print {
  body {
    width: 800px;
    margin: 0 auto;
  }

  table {
    width: 90%;
    border-collapse: collapse;
  }

  th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
  }

  .div-container {
    padding: 0px;
    background-color: white;
    width: 100%;
    max-width: 1200px;
    margin: 0px;
    box-shadow: 0 0 0 #ffffff;
    border-radius: 30px;
  }

  .header, .footer, .container {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .header-container, .footer-container {
    flex-wrap: wrap;
    padding: 10px;
    width: 90%;
    margin: 10px auto;
    box-sizing: border-box;
  }

  .header-container .logo img, 
  .hologram img {
    max-width: 100%;
    height: auto;
    margin-right: 0px;
  }

  .div-container {
    padding: 15px;
    width: 90%;
  }

  .link, .slide{ 
    display: none !important;
  }

  .email a {
    font-size: 14px;
  }

  .email a img {
    width: 25px;
    height: auto;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .footer-container .email, 
  .footer-container .hologram {
    margin: 10px 0;
  }

  .header nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header nav ul li {
    margin: 5px 10px;
  }

  .invoice-header {
    flex-wrap: wrap;
  }

  .invoice-header .left {
    margin-bottom: 10px;
  }

  .invoice-details table,
  .invoice-items table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-spacing: 0;
    border-collapse: separate;
  }

  table {
    display: block;
  }

  thead {
    display: none;
  }

  tbody, tr, td {
    display: block;
    width: 100%;
  }

  td {
    text-align: left;
    padding: 10px;
    position: relative;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
  }
}