:root {
  --bg: #222831;
  --link: #4a95ff;
  --secondary: #e0edff;
  --primary: #ff5719;
  --code: #38a63e;
  --comment: #68d46d;
}

* {
  margin: 0;
}

html {
  height: 100%;
  background: var(--bg) url('./img/face.svg') no-repeat fixed right;
}

body {
  height: calc(100% - 3rem);
  padding: 1.5rem 1rem;
  color: var(--secondary);
  font: 1rem/2 'Roboto Mono', monospace;
  font-weight: 200;
}

main {
  padding: 0 2rem;
  width: 100%;
  max-width: 60rem;
}

.cvtitle {
  font-size: 3rem;
  font-family: 'Victor Mono';
}


h1 {
  font-size: 3rem;
  font-family: 'Victor Mono';
}

.sectiontitle {
  color: var(--primary);
}

h2 {
  font-weight: bold;
  font-size: 2.5rem;
  font-family: 'Victor Mono';
}

h3 {
	font-size: 1.25rem;
	font-family: 'Victor Mono';
}

.subtitle {
	font-size: 1.1rem;
	font-weight: bold;
}


p {
  margin: 1.5rem 0;
  max-width: 40rem;
}

.banner {
  color: var(--primary);
  text-decoration: none 0.1rem;
  text-underline-offset: 10%;
}

.banner:hover {
  color: var(--link);
  text-decoration: none;
}

a {
  color: var(--primary);
  text-decoration: underline 0.1rem;
  font-weight: bold;
  text-underline-offset: 10%;
}
a:hover {
  color: var(--link);
  text-decoration: none;
}

.lightlink {
  font-weight: normal;
}

.linktotop {
  font-weight: normal;
  text-decoration: none;
}

.pagetitle {
        color: var(--primary);
        text-decoration: none;
}

.pagetitle:hover {
        color: var(--link);
}

ul {
  font-size: 1rem;
  list-style: none;
  padding: 0;
}

.ul1 {
	line-height: 1.7rem;
	font-size: 1rem;
	list-style: none;
	margin-left: 1rem;
	max-width: 50rem;
	padding: 0;
	font: 'Roboto Mono', monospace;
}

.ul2 {
	line-height: 1.75rem;
	font-size: 1rem;
	list-style-type: square;
	margin-left: 1rem;
	padding: 0;
	opacity: 0.80;
	font: 'Roboto Mono', monospace;
}

.contentsList {
	line-height: 1.5rem;
}

.li2{
	line-height: 1.2rem;
}

pre {
  margin-left: 1rem;
  white-space: pre-line;
  color: var(--code);
  font: 1rem/1 'Courier New', monospace;
}

.comment {
  color: var(--comment);
}

.centred {
        display: block;
        margin-left: auto;
        margin-right: auto;
}

.pixelated {
        -ms-interpolation-mode: nearest-neighbor;
        image-rendering: pixelated;
}