/* latin */
@font-face {
  font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: local('Barlow Regular'), local('Barlow-Regular'), url(https://fonts.gstatic.com/s/barlow/v4/7cHpv4kjgoGqM7E_DMs5.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: fallback;
    src: local('Barlow Medium'), local('Barlow-Medium'), url(https://fonts.gstatic.com/s/barlow/v4/7cHqv4kjgoGqM7E3_-gs51os.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: fallback;
    src: local('Barlow Bold'), local('Barlow-Bold'), url(https://fonts.gstatic.com/s/barlow/v4/7cHqv4kjgoGqM7E3t-4s51os.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
  
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ol,ul {
  list-style: none;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #282b30;
  font-family: Barlow,sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme:dark) {
  body {
    color: #fff;
    background: #191b1f;
  }
}

footer,header,section {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (min-width:1800px) {
  footer,header,section {
    max-width: 1320px;
  }
}

@media (max-width:920px) {
  footer,header,section {
    padding: 0 60px;
  }
}

@media (max-width:760px) {
  footer,header,section {
    padding: 0 40px;
  }
}

@media (max-width:500px) {
  footer,header,section {
    padding: 0 30px;
  }
}

header {
  padding-top: 68px;
  padding-bottom: 40px;
}

@media (max-width:920px) {
  header {
    padding-top: 38px;
    padding-bottom: 30px;
  }
}

@media (max-width:760px) {
  header {
    padding-top: 28px;
    padding-bottom: 20px;
  }
}

header img#avatar {
  position: relative;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 1px rgba(40,43,48,.4),0 1px 4px rgba(40,43,48,.1);
}

@media (max-width:920px) {
  header img#avatar {
    top: 6px;
  }
}

@media (prefers-color-scheme:dark) {
  header img#avatar {
    opacity: .8;
  }
}

header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 0 24px;
}

header p {
  font-size: 18px;
  line-height: 1.6;
}

@media (min-width:1800px) {
  header p {
    max-width: 820px;
  }
}

header p a {
  display: inline-block;
  font-weight: 500;
  vertical-align: baseline;
  margin: 0;
  border-radius: 6px;
  text-decoration: none;
  line-height: 1.4;
}

header p a.blue {
  color: #007cad;
  background: rgba(0,161,224,.03);
}

header p a.blue:hover {
  background: rgba(0,161,224,.1);
}

header p a.red {
  color: #d23e1c;
  background: rgba(222,66,30,.03);
}

header p a.red:hover {
  background: rgba(222,66,30,.1);
}

@media (prefers-color-scheme:dark) {
    header p a.blue {
        color: #00bcf2;
        background: rgba(0,161,224,.03);
    }
}

header p:first-of-type {
  font-size: 22px;
  margin-bottom: 24px;
}

header p:first-of-type a {
  display: inline-flex;
  align-items: center;
  vertical-align: bottom;
  border-radius: 10px;
  line-height: 1.6;
}

header p:first-of-type img {
  margin-right: 8px;
  border-radius: 6px;
}

header p:last-of-type {
  margin-top: 24px;
}

header ul {
  display: flex;
  flex-wrap: wrap;
  margin: 30px -10px 0;
}

header ul li {
  margin: 10px;
}

header ul li.twitter a {
  box-shadow: 0 0 0 1px rgba(0,145,255,.2);
}

header ul li.twitter a:hover {
  background: rgba(0,145,255,.1);
}

header ul li.github a {
  box-shadow: 0 0 0 1px rgba(40,43,48,.1);
}

@media (prefers-color-scheme:dark) {
  header ul li.github a {
    box-shadow: 0 0 0 1px rgba(255,255,255,.1);
  }
}

header ul li.github a:hover {
  background: rgba(40,43,48,.05);
}

@media (prefers-color-scheme:dark) {
  header ul li.github a:hover {
    background: rgba(255,255,255,.05);
  }
}

header ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

@media (prefers-color-scheme:dark) {
  header ul li a {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
  }
}

section {
  padding-bottom: 40px;
}

section h2 {
  width: 100%;
  font-weight: 500;
  margin-bottom: 6px;
}

section h2+p {
  font-size: 18px;
  width: 100%;
  margin-bottom: 40px;
}

@media (max-width:920px) {
  section h2+p {
    margin-bottom: 30px;
  }
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (min-width:1800px) {
  .projects {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width:760px) {
  .projects {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

article {
  display: flex;
  align-items: stretch;
  text-align: center;
}

article a {
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 30px 20px;
  text-decoration: none;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(40,43,48,.065);
  background: #fbfbfb;
}

@media (prefers-color-scheme:dark) {
  article a {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
  }
}

article a img {
  margin-bottom: 6px;
}

@media (prefers-color-scheme:dark) {
  article a img {
    opacity: .9;
  }
}

article a:hover img {
  opacity: 1;
}

article a h3 {
  font-size: 22px;
  font-weight: 700;
}

article a p {
  font-size: 18px;
}

@media (min-width:1800px) {
  article a p {
    padding: 0 40px;
  }
}

article a span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

article.lightblue a span {
  color: #0070e4;
}

article.lightblue a:hover {
  color: #002e54;
  background: rgba(33,154,255,.1);
}

@media (prefers-color-scheme:dark) {
  article.lightblue a:hover {
    color: #fff;
  }
}

article.lightblue a:hover span {
  color: #0070e4;
}

.end {
  margin-top: 30px;
  padding: 50px 0 60px;
  box-shadow: inset 0 1px 0 rgba(171,182,193,.15);
  background: rgba(171,182,193,.05);
}

@media (prefers-color-scheme:dark) {
  .end {
    background: rgba(255,255,255,.03);
  }
}

@media (max-width:920px) {
  .end {
    margin-top: 0;
    padding: 30px 0 40px;
  }
}

.end p {
  padding: 11px 0;
}

.start {
  margin-top: 0;
  padding: 15px 0 10px;
  box-shadow: inset 0 -1px 0 rgba(171,182,193,.15);
  background: rgba(171,182,193,.05);
}

.start p {
  padding: 11px 0;
}

.start a {
  display: inline-block;
  font-weight: 500;
  vertical-align: baseline;
  padding: 0 14px;
  margin: 0;
  border-radius: 6px;
  text-decoration: none;
  color: #282b30;
}

@media (prefers-color-scheme:dark) {
  .start {
    background: rgba(255,255,255,.03);
  }

  .start a {
    color: #fff;
  }
}

@media (max-width:920px) {
  .start {
    margin-top: 0;
    padding: 15px 0 10px;
  }

  .start a {
    padding: 0 8px;
    margin: 0;
  }
}

footer {
  font-size: 16px;
}

.start {
  position: absolute;
  top: 0;
  width: 100%;
}

header {
  flex: 1 1 auto;
  margin-top: 50px;
}

body {
  overflow-y: scroll;
}

@media (max-width:760px) {
  header {
    margin-top: 82px;
  }

  .start a {
    line-height: 28pt;
    padding: 0 20px;
  }

  .start {
    padding: 7px 0 5px;
  }
}

.skill-tag {
	display: inline-block;
    min-width: 110px;
	text-align: right;
    line-height: 2dp;
    line-height: 1.8;
}

.skill-value {
	padding-left: 8px;
	display: inline-block;
	min-width: 110px;
    line-height: 1.8;
}

.skill-bar {
	width: 140px;
}

.msm-logo{
    opacity: 0.6;
}

.msm-logo:hover{
    opacity: 1;
}

@media (prefers-color-scheme:dark) {
  .invert-if-dark {
    filter: invert(1);
  }
}
