body {
  font-family: Helvetica, Arial, sans-serif;
  color: #333;
  font-size: 1rem;
  line-height: 1.6rem;
}

h1 {
  font-weight: bold;
}

h3 {
  text-transform: uppercase;
  font-weight: normal;
}

h4 {
  font-size: 1rem;
}

h1.title {
  margin-bottom: 0px;
}

.hide {
  display: none !important;
}

.subtitle {
  font-style: italic;
  color: #d3d3d3;
  font-size: 0.8rem;
  margin-bottom: 10px;
  margin-top: 10px;
  line-height: 1rem;
}

.text-small {
  font-size: 0.8rem;
  line-height: 1rem;
}

/* Align */
.row {
  clear: both;
  width: 100%;
  display: table;
  box-sizing: border-box;
}

.col-4,
.col-6,
.col-8 {
  float: left;
  position: relative;
  box-sizing: border-box;
}

.col-4>div,
.col-6>div,
.col-8>div {
  padding: 10px 20px;
}

.col-4 {
  width: 33.3333333333%;
  text-align: right;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.6666666666%;
}

@media screen and (max-width: 799px) {

  .col-8,
  .col-4 {
    width: 100%;
    text-align: left;
  }

  h2 {
    margin-top: 0px;
    margin-bottom: 10px;
  }

  h4 {
    margin-top: 10px;
    margin-bottom: 0px;
  }

  a.button {
    margin-bottom: 5px;
    display: block;
  }

  table.languages {
    font-size: 0.6rem;
  }

  .no-margin-top-xs {
    margin-top: 0px !important;
  }

  img.avatar {
    margin-left: 50% !important;
    right: 50px !important;
    width: 100px !important;
    position: relative;
  }

  .logo {
    display: none;
  }

  .text-center-xs {
    text-align: center;
  }
}

table.languages {
  width: 100%;
  text-align: center;
  table-layout: fixed;
  border: 1px solid #d3d3d3;
}

table.languages>thead>tr>th,
table.languages>tbody>tr>td {
  border: 1px solid #d3d3d3;
  padding: 4px;
}

table.languages>thead>tr>th {
  font-weight: normal;
  color: #00a1ff;
}

.avatar {
  width: 200px;
}

.logo {
  max-width: 100px;
  max-height: 40px;
}

a,
a:visited {
  color: #00bfff;
  text-decoration: none;
}

a:hover {
  color: #0090ff
}

a.button,
a.button:visited {
  border: 1px solid #00a1ff;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #00a1ff;
  padding: 4px 10px;
  margin-right: 10px;
}

a.button:hover {
  background: #00a1ff;
  color: #fff;
  text-decoration: none;
}


/* Colors */
.dark-blue-1 {
  color: #003380;
}

.dark-blue-2 {
  color: #011532;
}

.light-blue {
  color: #00a1ff;
}

/* Spacing */
.low-margin-top {
  margin-top: 10px;
}

.medium-margin-top {
  margin-top: 20px;
}

.min-padding {
  padding: 10px;
}

.space-low {
  width: 1rem;
}

.space-medium {
  width: 1.5rem;
}

.footer {
  font-size: 0.8rem;
  color: #d3d3d3;
  margin-top: 40px;
  text-align: center;
}

.footer img {
  height: 0.7rem;
  opacity: 0.8;
}

/*Code tags*/

.code-tag {
  border-radius: 4px;
  padding: 4px 10px;
  margin-right: 5px;
  color: #fff;
  font-size: 0.5rem;
}

.code-tag.html {
  background: #ed4732;
}

.code-tag.ts {
  background: #294E80;
}

.code-tag.css {
  background: #0079d2;
}

.code-tag.bash {
  background: #5c5d5e;
}

.code-tag.php {
  background: #4F5B93;
}

.code-tag.go {
  background: #915900;
}

.code-tag.sql {
  background: #408e00;
}

.code-tag.js {
  background: #ffcc00;
}

h2.company {
  margin: 0px;
  padding: 0px;
}

h4.role {
  margin: 0px;
  padding: 0px;
  font-size: 1.3rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.grid>div {
  padding: 10px;
}

.align-right {
  text-align: right;
}

.align-vertical-middle {
  align-items: center;
}

.experience {
  margin-top: 20px;
}


/* Sections */
.section-head {
  background: #f9f9f9;
  margin-top: 0px;
}

.section-head h3 {
  margin: 0;
}

div.divider {
  border-bottom: 2px solid #eee;
}

.skills {
  margin: 0;
  padding: 0 0 0 1rem;
}

.white-separator {
  height: 10px;
}


/*Print css*/
.visible-print {
  display: none;
}

@media print {
  * {
    font-size: 0.8rem;
    line-height: 1rem;
  }

  .experience p {
    font-size: 0.75rem;
    line-height: 0.85rem;
  }

  a[href],
  a[href]:visited {
    color: #333;
    border: 0px;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  a[href].button:after,
  a[href].print-no-link:after {
    content: "";
  }

  .visible-print {
    display: block;
  }

  .hidden-print {
    display: none;
  }

  .avatar {
    width: 100px;
  }

  .grid-print-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  .print-small {
    font-size: 0.8rem;
    line-height: 1rem;
  }

  .print-vertical-align-bottom {
    margin-top: 1rem;
  }

  .grid {
    grid-template-columns: 1fr 4fr;
  }

  h1.title {
    font-size: 2rem;
    line-height: 2.4rem;
  }

  h2 {
    font-size: 1.1rem;
    line-height: 1.2rem;
  }

  h3 {
    font-size: 1rem;
    line-height: 1.1rem;
  }

  h4,
  h4.role {
    font-size: 0.9rem;
    line-height: 1rem;
  }

  .page-break {
    page-break-after: always;
  }
}