@media print {
  @page {
    size: auto;
    margin: 0;
  }
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    overflow: hidden; 
    background-color: #fff;
  }
  body > * {
    display: none !important;
  }
  .main-container {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  hr {
    border: 0 !important;
    border-top: 1px solid #333 !important;
    height: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  p a {
    color: #000 !important;
    text-decoration: none !important;
    padding: 0 !important;
  }
  p a::before {
    content: "" !important;
  }
  h2, h3 {
    break-after: avoid;
  }
  li {
    break-inside: avoid;
  }
  ul {
    break-inside: avoid;
  }
}
.contact-link:hover::before {
    content: "> ";
    color: #4af626;
    font-weight: bold;
    font-size: 1em;
}

@media print {
  .print-btn, .print-hide {
    display: none !important;
  }
}

p a:hover::before {
    content: "> ";
    color: #4af626;
    font-weight: bold;
}

.contact-link {
    transition: all 0.2s ease;
    text-decoration: none;
    color: #0077b5;
    padding: 2px 4px;
    border-radius: 2px;
    font-family: inherit;
    font-weight: inherit;
    background: none;
    border: none;
    outline: none;
    font-size: 1em;
    cursor: pointer;
}
.contact-link:hover, .contact-link:focus {
    background-color: #f0f7ff;
    color: #005582;
}

.print-btn {
    font-family: inherit;
    font-weight: inherit;
    color: #0077b5;
    background: none;
    border: none;
    padding: 2px 4px;
    margin-left: 4px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}
.print-btn:hover, .print-btn:focus {
    background-color: #f0f7ff;
    color: #005582;
}
.main-container {
    width: 21cm;
    height: 29.7cm;
    margin: 20px auto;
    padding: 40px;
    padding-top: 20px;
    background-color: #fdfdfd;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
  }
.tech-row {
  margin-bottom: 5px;
  margin-top: 5px;

}
h1 {
  display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 2.2em;
    margin-bottom: 0.2em;
    margin-top: 0;
    font-weight: normal;
}

span {
    text-align: right;
    font-size: 0.45em;
    line-height: 1.2;
    font-weight: normal;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 6px;
}

.separator {
    font-size: inherit;
    font-weight: inherit;
    display: inline-block;
    margin: 0 0px 0 7px;
    vertical-align: -1px;
    color: inherit;
}

hr {
    border: 0;
    height: 1px;
    background: #333;
    margin-top: 0;
    margin-bottom: 12px;
    opacity: 0.2;
}

ul {
    padding-left: 0.2em;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 25px;
}

li {
    font-size: 0.8em;
    margin-left: 1.2em;
    padding-left: 0;
    list-style-position: outside;
}

p {
  font-size: 0.8em;
}

h2 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #222;
    display: flex;
    align-items: center;
}

h3 {
    display: inline;
    font-size: 1em;
    margin: 0;
}
h5 {
    display: inline;
    float: right;
    font-size: 0.85em;
    font-family: 'Inconsolata', monospace;
    font-style: normal;
    color: #666;
    margin-top: 2px;
}

h4 {
    display: inline;
    font-size: 0.9em;
    font-weight: 600;
    color: #444;
}
