/* Design by Dessy */

html {
  font-size: 62.5%; }
body {
  font-size: 2.4em;
  line-height: 1.4;
  font-weight: 400;
  font-family: "Computer Modern Serif", serif;
  color: #444444;
 }
@media (max-width: 550px) {
  body { font-size: 2em; }
}

::-moz-selection { 
  background: #d7d7d7;
}
::selection {
  background: #d7d7d7;
  }
  
.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }

@media (min-width: 1600px) {

.container { margin-left: 400px; }

}

/* Header & Sidebar */

header { 
  margin-top: 70px;
  margin-bottom: 50px; 
}

#sidebar {
  left: -6px;
  margin-top: 70px;
}

aside {
	font-size: 0.8em;
	margin: 0 auto;
	max-width: 730px;
	padding: 10px 10px 10px 20px;
}

@media (min-width: 1250px) {
  #sidebar {
	position: fixed !important;
	top: 50px;
	margin-top: 0;
	}
	
	aside {
	position: fixed;
	left: 85%;
	top: 70px;
	border: none;
	border-top: 1px solid #444444;
	max-width: 250px;
	padding: 0;
	font-size: 0.6em;
}
}

@media (min-width: 1600px) { 
   aside { left: 1350px;  }
}

hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }
  
footer {
  font-style: italic;
  font-size: 0.7em;
  border-top: 1px solid #222222;   
  width: 100%;
  max-width: 760px;
  margin: 70px auto 50px auto;
  padding: 0;
  box-sizing: border-box;
}

@media (min-width: 1600px) {

 footer { margin-left: 420px; }

}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 400;
  font-style: italic; }
h1 { font-size: 4.0rem; line-height: 1.25; letter-spacing: -.25rem; margin-bottom: 3.5rem; border-top: 1px solid #222222; }
h2 { font-size: 3.6rem; line-height: 1.2;  letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; margin-bottom: 2.5rem;}
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

@media (min-width: 550px) {
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 1rem;
  text-align: justify;
  hyphens: auto; }
  
.date {
  float: right;
  font-size: 65%;
  font-style: italic;
}
  
blockquote {
	font-style: italic;
	border-top: 1px solid #222222;
	border-bottom: 1px solid #222222;
	margin: 0;
	padding: 20px 0;
	max-width: 400px;
}

.big-box {
  border: 1px solid #222222; 
  margin: 40px 0; 
  padding: 20px;
}

.big-box p {
  margin-bottom: 0;
}

.caption {
  font-style: italic;
  font-size: 70%;
  margin-top: 0;
}

.sidenote {
	font-size: 0.75em;
	padding: 10px;
	margin: 20px 0 20px 30px;
	width: 40%;
	float: right;
	border: 1px solid #222222;
}

.monospace { font-family: "Computer Modern Typewriter", monospace; }

.smallprint { font-size: 0.85em; }

/* Links #85144b
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #000000; text-decoration: none; font-weight: 700; } 
a:hover {
  text-decoration: underline; }

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside url("../assets/star.png"); }
ol {
   list-style: none;
   counter-reset: item;
 }
ol li {
   counter-increment: item;
   margin-bottom: 5px;
 }
ol li::before {
	margin-right: 10px; 
	content: counter(item);
	border-radius: 100%;
	width: 33px;
	text-align: center;
	display: inline-block;
	border: 1px solid #222222;
}
.list {
	margin-right: 10px;
	border-radius: 100%;
	width: 33px;
	text-align: center;
	display: inline-block;
	border: 1px solid #222222;
    float: left;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }

table {
  border-collapse: collapse;
  font-size: 0.9em;
}  

td, th, tr {
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}

td {
	border-bottom: 1px solid #ccc;
}

td + td {
  padding-left: 50px;
}

/* Others
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width, img {
  max-width: 100%;
  box-sizing: border-box; }
@media (min-width: 780px) {
  .pull-right {
  float: right;
  margin-left: 40px;
  margin-top: 10px; }
  .pull-left {
  float: left;
  margin-right: 40px;
  margin-top: 10px; }
  }
  
.right {
  float: right;
}
ul.none {
  list-style: none;
}
.spacer {
 margin-top: 70px;
}
.spacer-big {
 margin-top: 120px;
}
img.border {
  border: 1px solid #444444;
}
.borderless {
  border: 0;
}

button {
	border: 1px solid #222222;
	padding: 10px 20px;
	font-family: "Computer Modern Typewriter", monospace;
	font-size: 18px;
}
button:hover {
    background-color: #bbbbbb;
    cursor: pointer;
}

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 40px;
  font-size: 80%;
}
.two-cols ul, ol {
    padding-left: 0;
}

.bar {
    width: 100%;  background-color: #f0f0f0; margin-bottom: 30px;
}
.progress {
    text-align: right;  padding-top: 5px;  padding-bottom: 5px;
    background-color: #c5c5c5;
    font-family: "Computer Modern Typewriter", monospace;
}

.toc {
  display: grid;
  grid-template-columns: 1fr 5fr;
  grid-template-rows: 1fr;
  gap: 5px 10px;
  grid-auto-flow: row;
  font-family: 'Computer Modern Typewriter', monospace;
  font-size: 90%;
}
