html {
  font-size: 10pt;
}

h1.resume-title {
  color: #009999;
  font-size: 2.2rem;
  margin: 0.5rem;
}

div#header {
  text-align: center;
}

p.item-title {
  font-weight: bold;
}

div.item {
  margin-block-end: 1.2rem;
}

p.item-time {
  font-weight: bold;
}

p.awards-title {
  font-weight: bold;
}

p.education-title {
  font-weight: bold;
}

html * {
  font-family: monospace
}

@page {
  size: "A4";
  margin-top: 10mm;
  margin-bottom: 10mm;
}

@page :first {
  margin-top: 0;
}

p, li {
  font-size: 1rem;
}

section.sheet {
  margin:auto;
}

h2 {
  margin-block-end: 0.5rem;
  font-size: 1.4rem;
}

p {
  margin-block-start: 0.5rem;
  margin-block-end: 0.5rem;
}

button.print-btn {
  display: block;
  margin: 1rem auto;
  padding: 0.8rem 2rem;
  background-color: #009999;
  color: white;
  border: none;
  font-family: monospace;
  font-size: 1rem;
  cursor: pointer;
}

button.print-btn:hover {
  background-color: #007777;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0;
}

.tag {
  color: #009999;
  border: 1px solid #009999;
  font-family: monospace;
  font-size: 1rem;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
}

@media screen {
  html { font-size: 12px; }
  .sheet {
    height: auto !important;
    overflow: visible !important;
    margin-bottom: 10mm !important;
  }
}

@media screen and (max-width: 600px) {
  html { font-size: 10px; }
}

@media print {
  button.print-btn { display: none; }
  .item { break-inside: avoid; }
  .sheet {
    height: auto !important;
    overflow: visible !important;
  }
}