body {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.profile {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.profile img {
  border-radius: 2rem;
}

.container {
  display: flex;
  min-height: 100vh;
}

aside {
  width: 20em;
  padding: 1.5rem;
  background-color: #3d485f;
  color: aliceblue;
  margin-right: 2em;
}

aside a {
  color: #b3deec;
  text-decoration: none;
}

aside p {
  font-size: large;
}

aside li {
  font-size: large;
}

aside h2 {
  background-color: #313a4d;
}

.side_sections {
  margin-top: 2rem;
  padding: 1rem;
  border: 3px solid #4b5874;
  border-radius: 1rem;
  background-color: #313a4d;
}

.top_grid {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 3px solid #4b5874;
  border-radius: 1rem;
  background-color: #313a4d;
}

.top_row {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.top_row_down {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.top_grid strong {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 50%;
  font-size: large;
}

.top_grid p {
  display: flex;
  justify-content: center;
  width: 50%;
}

main {
  flex-grow: 1;
  max-width: 40em;
  line-height: 1.4;

}

h2 {
    color: white;
    font-family: sans-serif;
    background-color: #3d485f;
    border-radius: 1rem;
}

main h2 {
  padding-left: 1rem;
}

.it-skills-table {
  width: 100%;
  border: 1px solid #4b5874;
  border-collapse: collapse;
}

.it-skills-table td {
  vertical-align: top;
  border-top: 1px solid #4b5874;
  padding-left: 5px;
}

.it-skills-table td.skillname {
  border-right: 1px solid #4b5874;
}

@media print {
  body {
    margin: 0;
    padding: 0;
  }
  body, .cv-container {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background-color: #f0f0f0 !important;
  }
  .cv-container {
    border: 2px solid #333 !important;
    height: auto !important;
    page-break-inside: avoid;
  }
}