@import('reset.css');

@font-face {
    font-family: 'MAD Sans Fill';
    src: url('fonts/MADSansFill-BoldItalic.woff2') format('woff2'),
        url('fonts/MADSansFill-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'MAD Sans Fill';
    src: url('fonts/MADSansFill-Regular.woff2') format('woff2'),
        url('fonts/MADSansFill-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@keyframes movein {
  from {bottom: -100%;}
  to {bottom: 0;}
}


html {
  font-family: 'MAD Sans Fill', sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: #080f29;
  background: url('img/background.png') no-repeat;
  background-size: cover;

  height: 100vh;
  width: 100vw;
  overflow: hidden;
}
a {
  font-weight: normal;
  color: #080f29;
  text-decoration: none;
  cursor: pointer;
}
.tray .top a:hover,
.tray .top a:active,
.tray .links a:hover,
.tray .links a:active,
.notes p a:hover,
.notes p a:active {
  color: #FF243E;
}
sup {
  font-size: 50%;
}
h2, h3, h4 {
  line-height: 1.25em;
}
p, h3 {
  margin: 0;
}
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.drag, .nodrag {
  display: inline-block;
  border-radius: 5px;
  /*background: rgba(0,213,222,0.95);*/
  background: #00EAF4;
  padding-top: 19px;
  position: absolute;
}
.dot {
  display: none;
  float: left;
  font-size: 30px;
  padding-left: 6px;
  padding-top: 1px;
}
.handle, .nohandle {
  border-bottom: 1px solid #001718;
  cursor: move;
  height: 18px;
  line-height: 18px;
  font-family: 'MAD Sans Fill', sans-serif;
  text-align: center;
  font-size: 16px;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
.nohandle {
  cursor: default;
}
.handle > img {
  display: inline-block;
  height: 15px;
  vertical-align: middle;
}


.hidden {
  display: none;
}


.sleep {
  background: url('img/sleep.svg') center bottom no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: fixed;
  top: -150%;
  left: 0;
  z-index: 9999;
  transition: top 2s ease-in-out;
  text-align: center;
}
.sleep img {
  margin-right: -5%;
}
.sleep div {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  width: 50%;
  margin: 0 auto;
  color: #fff;
  font-family: 'Inconsolata';
  line-height: 50px;
}


.notes {
  top: 15vh;
  line-height: 1.25rem;
  font-weight: normal;
  display: flex;
  max-height: 230px;
  max-width: 600px;
  box-sizing: border-box;
  justify-content: space-between;
  padding: 20px 31px;
  position: relative;
  align-items: start;
}
.notes .active,
.notes .active + li {
  font-weight: bold;
}
.notes img {
  width: 7px;
}
.notes p {
  font-family: 'Inconsolata', monospace;
  font-weight: normal;
  font-size: 16px;
  margin-bottom: 2em;
}
.notes p a {
  text-decoration: underline;
  font-weight: bold;
}
.notes > div {
  flex-basis: 320px;
  overflow-y: scroll;
  height: 175px;
}
.notes > *:not(.handle) {
  padding-top: 20px;
}
.notes > ul > li {
  font-size: 18px;
  cursor: pointer;
}
.notes > ul > li[onclick]::after {
  content: '\25B9';
  float: right;
  padding-right: 5px;
}
.notes > ul > li.active::after {
  content: '\25B8';
}
.note.faqs ul {
  list-style: disc;
  margin-left: 1em;
  font-family: 'Inconsolata';
}
.note.faqs p {
  margin-bottom: 1em;
}
.note.faqs h3 {
  margin: 2em 0 0.25em 0;
}
.note.faqs h3:first-of-type {
  margin-top: 0;
}
.note.agenda h3,
.note.faqs h3 {
  padding: 0;
  font-size: 20px;
  line-height: 1.5em;
}
.note.agenda h4 {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.5em;
  margin-bottom: 0.5em;
}
.note.agenda h4 span {
  font-weight: bold;
  font-style: italic;
}


.track {
  width: 250px;
  overflow: hidden;
  position: absolute;
}
.track.closed {
  max-height: 205px;
}
.track.closed p {
  height: 0;
}
.track > div {
  background: #00EAF4;
  margin-left: 37px;
}
.track img {
  width: 100%;
  border-radius: 0 0 5px 5px;
  display: block;
}
.track h3,
.tray h3,
.notes h3 {
  text-transform: uppercase;
  font-family: 'MAD Sans Fill';
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
  padding-top: 15px;
  padding-left: 37px;
  padding-bottom: 15px;
}
.notes h3 {
  padding: 0 0 1em 0;
}
.track h3 {
  cursor: pointer;
}
.track h3 span {
  font-style: normal;
}
.track p {
  font-family: 'Inconsolata';
  font-weight: normal;
  line-height: 19.2px;
  font-size: 16px;
  padding-top: 16px;
  padding-bottom: 25px;
  padding-right: 28px;
  padding-left: 37px;
  transition: all 1s ease-in-out;
}
.track.technology {
  left:calc(47% - 300px);
  top:39px;
  transform:translate(-100%, 0);
}
.track.entrepreneur {
  left:calc(47% - 300px);
  top:290px;
  transform:translate(-100%, 0);
}
.track.creative {
  left:calc(53% + 300px);
  top:39px;
}
.track.kitchensink {
  left:calc(53% + 300px);
  top:290px;
}


.tray {
  z-index: -1;
  position: fixed;
  bottom: 0;
  background: url('img/tray-bg.svg') no-repeat center top;
  background-size: cover;
  padding-top: 70px;
  padding-left: 50px;
  width: 800px;
  text-align: center;
  left: 50%;
  transform: translate(-50%, 0);
  animation: movein 1.5s ease-in-out;
  animation-iteration-count: 1;
}
.tray h3 {
  padding: 1.5em 0 0.25em 0;
}
.register {
  text-align: center;
  display: block;
  background: #00EAF4;
  border-radius: 5px;
  padding: 9px 7px;
  font-size: 18px;
  width: 130px;
  margin: 1em auto 0 auto;
}
.tray > img {
  width: 290px;
  margin-left: 15px;
}
.tray .top {
  text-align: right;
  line-height: 24px;
  height: 24px;
  position: absolute;
  top: 90px;
  left: 9%;
  right: 9%;
  width: 82%;
}
.tray .left {
  font-family: 'Inconsolata', monospace;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 0;
  text-align: left;
}
.tray .right {
  font-family: 'Inconsolata', monospace;
  font-size: 16px;
  position: absolute;
  right: 0;
  top: 0;
}
.tray .left a,
.tray .right a {
  display: block;
  text-decoration: underline;
}
.tray .top > div {
  display: inline-block;
  vertical-align: middle;
}
.tray .folders li {
  width: 90px;
  display: inline-block;
  margin: 0 21px;
  font-size: 16px;
}
.tray .folders svg {
  padding-bottom: 5px;
}
.folders .technology svg .a {
  fill: #F4E4E9;
}
.folders .entrepreneur svg .a {
  fill: #BFE114;
}
.folders .creative svg .a {
  fill: #F44D46;
}
.folders .kitchensink svg .a {
  fill: #F2F319;
}
.tray .apps {
  padding-top: 35px;
}
.tray .links {
  padding: 1em 0;
}
.tray .links li {
  display: inline-block;
}
.tray .links a {
  text-decoration: underline;
  font-weight: bold;
}
.tray .apps li {
  display: inline-block;
}
.tray .apps li a {
  background: #00EAF4;
  border-radius: 5px;
  padding: 9px 7px;
  font-size: 18px;
}
.tray .register:hover,
.tray .apps li a:hover {
  background: #FF243E;
  color: #080f29;
}


.icon .a {
  fill: none;
  stroke: #000;
  stroke-miterlimit: 10;
  stroke-width: 0.5px;
}
.icon .b {
  font-size: 21px;
  font-family: 'MAD Sans Fill';
  font-weight: 700;
  font-style: italic;
}
.icon .c {
  fill: #10253e;
}


/* keep below all desktop code */
.mobile-only {
  display: none;
}

@media all and (max-width: 1200px) {
  .track {
    display: none;
  }
  .track.technology {
    left: 3%;
    top:39px;
    transform: none;
  }
  .track.entrepreneur {
    left: 3%;
    top:290px;
    transform: none;
  }
  .track.creative {
    left: auto;
    right: 3%;
    top:39px;
    transform: none;
  }
  .track.kitchensink {
    left: auto;
    right: 3%;
    top:290px;
    transform: none;
  }
  .notes {
    top: 3vh;
  }
}



@media all and (max-width: 768px) {
  .hidden {
    display: inherit;
  }
  .mobile-only {
    display: block;
  }
  body > h2.mobile-only {
    text-align: center;
    margin: 2em auto 0.5em auto;
  }
  .track.technology,
  .track.entrepreneur,
  .track.creative,
  .track.kitchensink {
    position: relative;
    display: block;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    margin: 0.5em auto;
  }
  .mobile-only.logo {
    width: 75%;
    margin: 2em auto;
  }
  html {
    overflow: auto;
  }
  .notes {
    max-height: none;
    max-width: none;
  }
  .notes .all {
    flex-basis: 100%;
  }
  .notes > div {
    overflow: auto;
    height: auto;
  }
  /*.notes .note:not(.about) > *:not(.mobile-only),*/
  .note.hidden > *:not(h2),
  .tray h3,
  .tray .logo,
  .tray .folders,
  .tray .top,
  .notes > ul,
  .notes > img {
    display: none;
  }
  .note.hidden h2::after {
    content: '\25BF';
    padding-left: 0.5em;
  }
  .note:not(.hidden) h2::after {
    content: '\25BE';
    padding-left: 0.5em;
  }
  .tray {
    z-index: 1;
    padding-left: 0;
    transform: none;
    position: static;
    width: auto;
    animation: none;
    margin-top: 50px;
  }
  .handle {
    cursor: default;
    height: 18px;
    line-height: 18px;
  }
  .handle > img {
    height: 12px;
  }
  body {
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  body > div {
    position: static;
    overflow: hidden;
    margin-bottom: 5px;
  }

}