/* SCROLLING BANNER */
/* styles: */
.scrolling-text-container {
  background-color: #fff;
  border-radius: 2px;
  overflow: hidden;
}
.scrolling-text-inner {
  display: flex;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0;
}
.scrolling-text {
  color: #000;
  display: flex;
}
.scrolling-text-item {
  padding: 0 30px;
}
/* animation: */
.scrolling-text-inner>div {
  animation: var(--direction) var(--marquee-speed) linear infinite;
}
.scrolling-text-container:hover .scrolling-text-inner>div {
  animation-play-state: paused;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}

#intro {
  margin-left: 25%;
  word-wrap: break-word;
  text-align: center;
}

#coursework {
  width: 50%;
  margin-left: 25%;
}

#coursework h2 {
  text-align: center;
  color: white;
}

.locked {
  color: #e3e3e3;
}

#materials {
  margin-left: 25%; 
}

#materials ul {
  display: table;
  margin: 0 auto;
  font-size: 1.5em;
  list-style-type: none;
  padding-right: 15%;
}

/* HW */
#homework-container {
  display: block;
  width: 50vw;
  margin: 0 auto;
  
  font-family: Helvetica, sans-serif;
  color: white;
}
#homework-container ul {
  text-align: center;
  margin: 0;
  padding: 0 5%;
}
#homework-container li {
  list-style-type: none;
}
#homework-container p {
  display: block;
  margin: 1.5vw auto;
  text-align: center;
}

/* Calendar */
/* ripped wholesale from: https://github.com/refinedguides/calendar ;) */
#calendar-container {
  margin-bottom: 2.5%;
}
.calendar {
  margin: auto;
  width: 98%;
  max-width: 380px;
  padding: 1rem;
  color: #000;
  background: #fff;
  border-radius: 10px;
  box-shadow: -5px 5px #fdddff;
}
.calendar header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar nav {
  display: flex;
  align-items: center;
}
.calendar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  color: #000;
}
.calendar ul li {
  width: calc(100% / 7);
  margin-top: 25px;
  position: relative;
  z-index: 2;
}
#prev,
#next {
  width: 20px;
  height: 20px;
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
}
#prev::before,
#next::before {
  content: "";
  width: 50%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 0.25em 0.25em 0 0;
  border-color: #ccc;
}
#next::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#prev::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}
#prev:hover::before,
#next:hover::before {
  border-color: #000;
}
.days {
  font-weight: 600;
  padding-left: 10px;
}
.dates li.today {
  color: #fff;
}
.dates li.today::before {
  content: "";
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  border-radius: 50%;
  z-index: -1;
}
.dates .inactive {
  color: #ccc;
}

/* breakdance */

#breakdance {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5%;
}