@charset "UTF-8";


/* fonts */

@font-face {
  font-family: 'Bau';
  src: url("BauPro.woff2") format("woff2");
  font-weight: 400;
  font-style: normal; 
}

html {
  background: rgb(255,255,0);
}


body {
  margin: 0;
  padding: 0;
  font-family: 'Bau', Arial;
  background: rgb(255,255,0);
  min-height: 100vh;
  min-width: 100vw;
  max-width: 100vw;
}

a {
  color: red;
  text-decoration: none;
}

/* font sizes */

body {
  font-size: 16px;
  line-height: 20px;  
}

h1, h2, h3, h4, #time1, #time2, .next-badge {
  font-size: 16px;
  line-height: 20px;
  font-weight: normal;
}

.next-badge {
  font-size: 14px;
}

.small {
  font-size: 20px;
  line-height: 24px;
}

.event-list {
  font-size: 28px;
  line-height: 36px;
}

.upcoming {
  font-size: 1.75vw;
  line-height: 5.5vw;
  letter-spacing: .1vw;  
}

#overlay-container h2 {
  font-size: 8vw;
  line-height: 9vw;
  letter-spacing: -.25vw;

}

/* nav */

#logo, #time1, #line, #cca-logo {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 10000;

  /*width: 100px;*/
  text-align: center;

  text-transform: uppercase;
}

#time1 {
  bottom: 20px;
  left: 20px;
  top: auto;
}

#line {
  right: 20px;
  left: auto;
}

#cca-logo {
  width: 70px;
  bottom: 20px;
  right: 20px;
  left: auto;
  top: auto;
}

#line {
  top: 40px;
  width: 40px;
  height: 1px;
  background: black;
  animation: rotate 12s infinite;
}

/* overlay */

#overlay-container {
  height: 100vh;
  width: 100vw;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
  position: fixed;
  top: 0px;
  left: 0px;

  background: rgb(255,255,0);

  z-index: 10;
  cursor: pointer;
}

.upcoming {
  display: block;
}

#overlay-container h2 {
  text-align: center;
  color: rgb(255,0,0);
  font-weight: normal;
  text-transform: uppercase;
  margin: -40px 100px 0px;
}

#cover, #yellow {
  width: 400vw;
  height: 400vh;
  position: absolute;
  top: 50vh;
  left: -150vw;
  background: white;
  border-top: 1px solid black;
  transform: rotate(0deg);
  transform-origin: top center;
  animation: rotate 12s infinite;
  mix-blend-mode: hue;
  z-index: 100;
}

#yellow {
  background: rgb(255,255,0);
  mix-blend-mode: multiply;
  z-index: 1000;
}

#overlay-container.hide {
  display: none;
}

/* image landing */

.intro-image {
  width: 100vw;
  height: calc(100vh - 60px);
  background-size: cover;
  background-position: center;
}

.intro-image h3 {
  padding: 50px 20px;
  display: block;
  color: black;
}

/* events */

#container {
  margin: 60px auto 60px;
  width: 100%;
/*  max-width: calc(100% - 200px);*/

  box-sizing: border-box;

  padding: 0px 0px;
}

/* events list */

.event-list {
  width: 100%;
  list-style-type: none;
  list-style-position: inside;
  letter-spacing: -.01em;
  padding: 0px;
  margin: 10px 0px 30px;
}

.event-list li {
  padding: 20px 20px;
  border-top: 1px solid black;
  position: relative; 
}

.event-list li:hover {
  background: rgb(240,240,0);
}

.event-list li.expand:hover {
  background: rgb(255,255,0);  
}

.event-list li .preview {
  cursor: pointer;  
  color: red;
}

.event-list li .date {
  color: black;
}

.event-list li.inactive {
  opacity: .5;
}

.event-list li.inactive:hover {
  background: rgb(255,255,0);
  cursor: default;
}

.event-list img {
  width: calc(100%);
  margin-top: 10px;
}

.date {
  width: 112px;
  margin-right: 0px;
  display: inline-block;
}

.next-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  color: white;
  background: red;

  padding: 7px 7px 4px;
  border-radius: 0px;
  text-transform: uppercase;
  line-height: 16px;
  display: inline-block;
  letter-spacing: 1px;
}

.desc {
  padding-left: 120px;
  max-width: 800px;
  display: none;
}

/* hide and show event info */

.event-list li.expand .desc {
  display: block;
}

h3 { 
  padding-left: 20px;
  color: red; 
  margin: 0px;
  text-transform: uppercase;  
}

.small a::after {
  content: '↗';
  vertical-align: -2px;
  padding: 0px 10px 0px 5px;
}

.slideshow:hover ~ .lSAction > a, .lSAction:hover > a, .lSAction > a:hover {
  opacity: 1 !important;
}


/* animation */


@keyframes rotate {
  0% {transform: rotate(0deg);}
  11% {transform: rotate(0deg);}
  12% {transform: rotate(45deg);}
  23% {transform: rotate(45deg);}
  24% {transform: rotate(90deg);}
  35% {transform: rotate(90deg);}
  36% {transform: rotate(135deg);}
  47% {transform: rotate(135deg);}
  48% {transform: rotate(180deg);}
  59% {transform: rotate(180deg);}
  60% {transform: rotate(225deg);}
  71% {transform: rotate(225deg);}
  72% {transform: rotate(270deg);}
  83% {transform: rotate(270deg);}
  84% {transform: rotate(315deg);}
  95% {transform: rotate(315deg);}
  96% {transform: rotate(360deg);}
  100% {transform: rotate(360deg);}
}

.random {
  position: absolute;
  z-index: 0;
}

.random img{
  max-width: 160px;
  opacity: .3;
}


@media only screen and (max-width: 900px) {

  body, h1, h2, h3, h4, #time1, #time2 {
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
  }

  .next-badge {
    font-size: 11px;
    font-weight: normal;
  }

  .small {
    font-size: 16px;
    line-height: 20px;
  }

  .event-list {
    font-size: 22px;
    line-height: 30px;
  }

  .upcoming {
    font-size: 16px;
    line-height: 48px;
    letter-spacing: 1px;  
  }

  #overlay-container h2 {
    font-size: 54px;
    line-height: 62px;
    letter-spacing: -1px;

  }

  .intro-image {
    height: 50vh;
    width: 100vw;
  }

  .intro-image h3 {
    padding: 40px 20px;
  }

  .event-list .date {
    width: 100%;
  }

  .desc {
    padding-left: 0px;
  }

  .next-badge {
    padding: 4px 8px 2px;
  }

}

@media only screen and (max-width: 600px) {
    body, h1, h2, h3, h4, #time1, #time2, .small {
      font-size: 16px;
      line-height: 20px;
      font-weight: normal;
    }

    .next-badge {
      font-size: 12px;
      font-weight: normal;
    }

    .event-list {
      font-size: 22px;
      line-height: 28px;
    }

    .upcoming {
      font-size: 16px;
      line-height: 48px;
      letter-spacing: 1px;  
    }

    .desc {
      font-size: 16px;
      line-height: 20px;
    }

    #overlay-container h2 {
      font-size: 36px;
      line-height: 48px;
      letter-spacing: -1px;
      margin: -40px 20px 0px;

    }

    .intro-slideshow, .intro-image {
      display: none;
    }

    #cover, #yellow {
      background: transparent;
    }

    #container {
      padding-top: 80px;
    }
    
    .event-list li {
      padding: 25px 20px;
    }

  }  

}