@charset "UTF-8";

/* Everson Mono */

@font-face {
    font-family: 'neutral';
    src: url('neutral.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'neutral';
    src: url('neutral-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

/* rainbow */

#sketch {
  position: fixed;
  bottom: 20px;
  right: 20px;
  transform: scale(.4);
  transform-origin: bottom right;
}


/* -----  Reset & Normalization  ---------------------------------------- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  list-style: none;
}

article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section, summary {
  /* Add correct display for IE 9- and some newer browsers */
  display: block;
}

::-moz-selection {
  background: orange;
  color: red;
}

::selection {
  background: orange;
  color: red;
}

/* -----  Basics  ---------------------------------------- */

html, body, h1, h2, h3, h4 {
    font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: .03em;
    font-style: normal;
    word-spacing: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: subpixel-antialiased;
}

#homelink, #menu {
  /*font-size: 16px;*/
}

a {
  color: black;
  text-decoration: none;
  display: inline;
 
  background: rgba(255,255,200,1);
  /*background-color: rgba(255,255,0, .2);*/
}

a:hover {
  /*color: red;*/
  border-bottom: none;
  background-color: transparent;
}

code {
  font-size: 13px;
  line-height: 16px;
}

body {
  background: #fff;
  color: #222;
}

h1 {
  font-weight: 500;
}

h2 {
  font-weight: 500;
  padding: 10px 0px;
}

h3 {
  font-weight: bold; 
  padding: 20px 0px;
}

h4 {
  padding-top: 20px;  
}

h3, h4 {
  margin: 0px;
  display: block;
}

strong {
  font-weight: 500;
}

.strikethrough {
  text-decoration: line-through;
}

.caption {
  font-family: courier;
  font-weight: bold;
  font-size: 14px;
}


/*strong {
  background: rgba(0,255,255,.2);
}
*/

.title {
  margin: 30px auto;
  display: block;
}

p {
  margin-bottom: 20px;
}

/* lists */

ul {
  margin: 0px 20px 0px 0px;  
  padding-bottom: 15px;
}

ul li{
  list-style-position: inside;
  list-style-type: none;
  padding: 0px 0px 0px 50px;
}

ul li::before {
  display: inline-block;
  width: 30px;
  margin-left: -30px;
  content: '☮︎';
}

ul li ul {
  /*margin-bottom: 20px;*/
}

ol {
  padding-left: 50px;
  padding-bottom: 20px;
}

ol li {
  list-style-type: decimal;
  padding: 5px 0px 5px 0px;  
}

ol li ol{
  padding-bottom: 0px;
}

ol li ol li{
  list-style-type: lower-alpha;
}

ol li ul li {
  list-style-type: none;
}

ol li ul li::before {
  margin-left: 0px;
}

sup {
  background: #ddd;
  color: rgba(0,0,0,1);
  padding: 2px 6px;
  border-radius: 100%;
  font-weight: 500;
  font-size: 11px;
  line-height: 0px;
}

.footnotes {
  font-size: 14px;
  line-height: 20px;
}


/* list reset */

ul.calendar>li::before, .Resources ul li::before, ul.library li::before, #menu li::before, .people li::before, .pill li::before {
  display: none;
  width: 0px;
  margin-left: 0px;
  content: '';
}

.Resources ul li, #menu li {
  padding-left: 0px;
}

.people li, .pill li {
  display: inline-block;
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

.people li:hover, .people li:hover, .pill li:hover {
}

.people li a, .pill li a{
  border: 1px solid #222;
  border-radius: 20px;
  padding: 10px 14px;
  display: inline-block;
  margin: 1px 0px;

  transition: all 500ms ease;
}

.people li a:hover, .pill li a:hover{
  background: white;
  transform: translateY(-5px);
}

hr {
  border: 1px dotted black;
  margin: 20px 0px 20px;
  clear: both;
  display:block;
  /*background-color:#FFFF00;*/
  height: 1px;
}

/* -----  Navigation  ---------------------------------------- */

.header {
  padding: 20px 0px;
  width: calc(100% - 40px);
  margin: auto;
  z-index: 10000;
}

#rainbow {
  float: left;
  letter-spacing: .02em;
  padding: 0px;  
  border: none;
  font-weight: 500;
  background: none;
}

#rainbow .ch { display: inline; transition: color 0.05s; }

#homelink:hover {
  /*color: pink;*/
}

ul#menu {
  padding: 0px;
  float: right;
  letter-spacing: .02em;
  text-align: right;
}

#menu li{
  list-style-type: none;
  display: inline-block;
}

#menu li a {
  display:block;
  padding: 0px 0px 0px 0px;
  margin-left: 15px;
  text-decoration: underline;  
  background-color: transparent;
  border: none;  
}

#menu li a:hover {
  text-decoration: none;
  /*color: pink;*/
}

#menu li a#zoomlink, #menu li a#slacklink {
  padding: 0px 10px; 
  background: azure;
  text-decoration: none;
  border: 1px solid blue;
  border-radius: 20px;
  font-size: 14px;
  color: blue;
  margin-left: 4px;
}

#menu li a#zoomlink:hover, #menu li a#slacklink:hover {
  background: none;
}
 
.Syllabus #menu li a#syllabuslink,
.Calendar #menu li a#calendarlink,
.Projects #menu li a#projectslink,
.People #menu li a#peoplelink,
.Resources #menu li a#resourceslink,
.Library #menu li a#librarylink
{
   /*color: pink;*/
   text-decoration: none; 
}


/* -----  Main  ---------------------------------------- */

.main {

  margin: 100px 20px 200px;
  position: relative;
  display: block;
  width: calc(100vw - 40px);
  max-width: 800px;
  padding: 10px;
  box-sizing: content-box;

  z-index: 10;

}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  margin-bottom: 10px;
}

pre {
  padding: 20px;
  background: #f2f2f2;
  margin: 10px 0px;
}

.two-col>div{
  width: calc(50% - 20px);
  display: inline-block;
  vertical-align: top;
  margin-bottom: 40px;
}

.two-col>div:first-child {
  margin-right: 24px;
}

.two-col>div img {
  display: block;
  margin-bottom: 10px;
  max-width: calc(100% - 30px);
}

.caption {
  display: inline-block;
  padding-bottom: 30px;
}

[class*="Exercise"] .two-col{
  display: flex;
  flex-direction: column-reverse;
}

[class*="Exercise"] .two-col>div{
  width: 100%;
  margin-bottom: 0px;
}

[class*="Exercise"] .two-col>div img {
  width: calc(100% - 30px);
  max-width: 500px;

}

h1#title {
  margin-bottom: 30px;
}


/* -----  Default Page  ------------------------------------ */

.text.wrap {
  width: 80%;
}


/* -----  Landing Page  ------------------------------------ */

.homepage .title {
  margin-bottom: 10px;
}

.circle {
  
  /*box-sizing: content-box;
  margin-left: -30px; */

  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 20px 0px 20px;
  margin-bottom: 100px;

  /*background: white;*/
  transition: all 700ms ease;
  
}

.circle:hover {
  /*transform: translateY(-10px);*/
  background: white;
}

.home-key {
  font-size: 14px;
  border: 1px solid black;
  border-radius: 30px;
  padding: 0px 8px;
  display: inline-block;
}

.col .slides {
  width: 25%;
  overflow: hidden;
}

.circle h3.title {
  padding: 0px 0px 20px;
  margin: 0px;
}

#show-more {
  display: inline-block;
  text-decoration: underline;  
}

#show-more:hover {
  text-decoration: none;
  cursor: pointer;
  color: brown;
}

#show-more.hide {
  opacity: 0;
}

#more {
  display: none;
}

#more.expand {
  display: block;
}

.syllabus h3 {
  margin: 30px 0px 15px;
}

/* -----  Calendar  ---------------------------------------- */

ul.calendar {
  margin: 0px;
}

/* date type */

.key {
  font-size: 14px;
  position: absolute;
  top: 45px;
  right: 10px;
}

.key span{
  padding-left: 5px;
}

/* collapsed */

ul.calendar li {
  list-style-type: none;  
  position: relative; 
  padding: 0px 0px ;
}

ul.calendar li.calendar-row {
  border: 1px solid black;
  border-radius: 0px;
  margin-bottom: 10px;

  transition: all 700ms ease;
  
}

ul.calendar li.calendar-row:hover {
  transform: translateY(-10px);
  box-shadow: 0px 5px 20px #000;
  background: white;
}

.week {
  padding: 20px 20px 20px;
}

.week:hover { 
  cursor: pointer; 
  color: rgba(118,210,65,.8);
}

.body { 
  display: none; 
}

/* week number */

.number::after {
  content: ':';
}

/* date */

.days {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  text-align: right;
}

/* expand */

.body.expand {
  display: block;
}

ul.calendar li ul {
  margin-bottom: 0px;
}

ul.calendar li ul li{
  list-style-type: none;
  margin: 0px;  
  padding: 0px 0px 0px 50px;
}

ul.calendar .body {
  padding: 10px 0px 20px;
  padding: 10px 20px 20px;  

}

/* calendar type */

.in-class {
}

.in-class ul li::before {
  content: '☀︎';
}

.due {
  /*color: blue;*/
}

.due ul li::before {
  content: '✔︎';
}

.homework {
  /*color: brown;*/
}

.homework ul li::before {
  content: '→';
}

.reading {
  /*color: darkgrey;*/
}

.reading-list ul li::before, .reading ul li::before {
  content: '☰';
}

.outcome-list ul li::before { content: '★'; }
.reqs-list ul li::before { content: '✔︎'; }
.resource-list ul li::before { content: '☁︎'; }
.reference-list ul li::before { content: '☺︎'; }
.example-list ul li::before { content: '❤︎'; }

#mini-cal {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}

#mini-cal div {
  border-top: 1px solid black;
  border-left: 1px solid black;
  padding:  10px;
}

.notes {
  font-size: 14px;
  line-height: 18px;
}

/* -----  Projects  ---------------------------------------- */

.projects {
  margin: 0px;
}

.inactive {
  opacity: .5;
}

.project:nth-child(2n) {
  margin-left: 54px;
}

.project {
  margin: auto;
  width: calc(50% - 30px);
  list-style-type: none;
  display: inline-block;

  padding: 20px;
  border: 1px solid darkgreen;
  border-radius: 20px;
  background: white;
  margin-bottom: 54px;  

  vertical-align: bottom;
}

.project a {
  background: none;
  border: none;
}

.project a:hover {
  /*color: pink;*/
}

.project a:hover img {
  opacity: .8;
}

.project img{
  display: block;
  margin: auto;
  margin-top: 10px;
  width: 100%;
  height: auto;
}

/* Project page */

blockquote {
  margin: 20px 0px 20px 40px;
  color: #333;
  padding: 0px 0px 0px 10px;
  border-left: 1px solid #333;
  display: block;
}


/* -----  Library  ---------------------------------------- */

body.Library ul.library a{
  text-decoration: none;
  background-color: transparent;
  border: none;
  width: 100%;
  display: block;
}

ul.library, ul.library li {
  margin: 0px;
  padding: 0px;
}

ul.library li.library-row {
  list-style-type: none;
  border-top: 1px solid #222;
  padding: 20px 0px;
  position: relative;
}

li.library-row:hover { 
  cursor: pointer; 
  /*background: pink;*/
}


li.library-row div {
  display: inline-block;
  vertical-align: top;
}

.year {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;  
  font-size: .875rem;
}

.library-row .year {
  position: absolute;
  top: 20px;
  right: 0px;
  z-index: 10;
  text-align: right;  
}

.text-title {
  margin: 30px auto;
}

/* -----  Resources -------------------------------------- */

.Resources h3 {
  margin: 20px 0px 10px;
}

.Resources .main li {
  display: inline-block;
  list-style-type: none;
  margin: 0px;
 }

.Resources .main a {
  border: 1px solid #222;
  border-radius: 20px;
  padding: 0px 12px;
  display: inline-block;
  margin: 1px 0px;

  transition: all 500ms ease;
}

.Resources .main a:hover {
  background: white;
  transform: translateY(-5px);
}

/* -----  Footer  ---------------------------------------- */

.footer {
  position: fixed;
  bottom: 0px;
  left: 0px;

  z-index: 1;

  font-size: 16px;

  padding: 20px;

  opacity: 1;
}

.footer:hover {
  z-index: 100;
  opacity: 1;
}

.footer p {
  margin: 0px;
}

#message {
  font-family: cursive;
  color: white;
  opacity: 1;
  -webkit-text-stroke: 1px red;
}

.meta, .meta a {
  color: #aaa;
}

.meta {
  margin-bottom: 20px;
  display: block;
}


@media only screen and (max-width: 800px) {
  
  html{
    font-size: 18px;  
  }

  body, h1, h2, h3, h4 {
      font-size: 18px;
  }

  code {
    font-size: 12px;
  }

  .caption {
    font-size: 12px;
  }

  .week {
    display: block;
  }

  /* nav */

  #homelink {
    float: none;
  }

  ul#menu {
    float: none;
    text-align: left;
    display: block;
    clear: both;
    margin: 10px 0px;
    padding: 0px;
  }

  #menu li, #menu li a{
    display: block;
    width: auto;
    margin: 0px;
    padding: 0px;
  }

  #zoom {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  #slack {
    position: absolute;
    top: 10px;
    right: 120px;
  }

  #menu li a#zoomlink, #menu li a#slacklink {
    padding: 0px 10px; 
    font-size: 14px;
    margin: 0px;
    display: inline-block;
  }

  /* page */

  .main {
    margin-top: 20px;
    width: calc(100vw - 60px);

  }

  .header{ 
    margin: 60px auto 20px;
  }

  .key {
    position: relative;
    top: -20px;
  }

  .text.wrap {
    width: 100%;
  }

  .home-key {
    font-size: 11px;
  }


  /* two cols */

  .two-col>div{
    width: calc(100%);
    display: block;
    vertical-align: top;
    margin-bottom: 10px;
  }

  .two-col>div:first-child {
    margin-right: 0px;
  }

  .two-col>div img {
    max-width: 100%;
  }

  .project {
    width: calc(100%);
    margin-bottom: 20px;
  }

  .project:nth-child(2n) {
    margin-left: 0px;
  }



  ul.calendar li ul li{
    margin-left: 0px; 
  }

  .days, .library-row .year {
    position: relative;
    top: 0px;
    right: 0px;
    z-index: 10;
    text-align: left;
    display: block;
  }

}

/* styles for printed syllabus*/

@media print {
  body, h1, h2, h3, h4{
    font-size: 14px;
    line-height: 20px;
  }

  .caption, code{
    font-size: 12px;
  }

  .header, .links, .homepage .circle, .section.people {
    display: none;
  }

  .footer{
    position: fixed;
    opacity: 1;
    bottom: auto;
    top: 45px;
    width: 30%;
    font-size: 10px;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
  }

  main{
    margin: 0 auto !important;
    padding: 0;
    max-width: none;
    width: 80% !important;
  }

  /* two cols */

  .two-col>div{
    width: calc(100%);
    display: block;
    vertical-align: top;
    margin-bottom: 10px;
  }

  .two-col>div:first-child {
    margin-right: 0px;
  }

  img {
    max-width: 50%;
  }

  .show-more{
    display: none;
  }

}