@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css?family=Reenie+Beanie");
:root {
  --main-bg-color: #401d79;
  --lighten-bg-color: #fbf6ff;
  --darken-bg-color: #0000004d;
  --accent-text-color: #8357ca;
  --accent-text-color-2: #5c318d;
  --dark-text-color: #151518;
  --text-color: #fff;
  --alt-text-color: #fff;
}

.cover-pic {
  width: 100vw;
  height: 10vh;
  object-fit: cover;
}

.comments {
  color: greenyellow;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-image: linear-gradient(var(--main-bg-color), var(--dark-text-color));
  color: var(--text-color);
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--dark-text-color);
}

p.center {
  text-align: center;
}
p.bold {
  font-weight: bold;
}

.link.white {
  color: white;
  text-decoration: underline;
}

nav {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}
nav a {
  color: var(--text-color);
  font-weight: 600;
}
@media screen and (max-width: 750px) {
  nav a {
    display: block;
    width: 100%;
    border-bottom: 1px solid white;
    padding-bottom: 1rem;
  }
}
nav .links {
  display: flex;
  gap: 1rem;
}
@media screen and (max-width: 750px) {
  nav .links {
    flex-direction: column;
    text-align: center;
  }
}
@media screen and (max-width: 750px) {
  nav {
    flex-direction: column;
    display: none;
  }
}

button {
  border: none;
  border-radius: 5px;
  padding: 15px 2rem;
  background-color: var(--main-bg-color);
  color: var(--text-color);
  font-weight: 700;
}

.m-0 {
  margin: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.hero {
  height: 50vh;
  width: 100vw;
  position: relative;
}
.hero img {
  height: 50vh;
  width: 100vw;
  object-fit: cover;
  overflow: hidden;
}
@media screen and (max-width: 500px) {
  .hero img {
    height: 60vh;
  }
}
.hero .text {
  position: absolute;
  top: 0;
  font-size: calc(1rem + 0.5vw);
  height: 50vh;
  width: 100%;
  background: rgba(37, 37, 37, 0.2117647059);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media screen and (max-width: 500px) {
  .hero .text {
    height: 60vh;
  }
}
.hero .text h1 {
  font-size: calc(1rem + 2vw);
  color: white;
}
.hero .text p {
  width: 80%;
  max-width: 800px;
  font-size: calc(1rem + 0.5vw);
}
.hero img {
  filter: saturate(1.5);
}
@media screen and (max-width: 500px) {
  .hero {
    height: 60vh;
  }
}

div[class$=container] {
  padding: 5rem calc(5rem + 1vw);
}
@media screen and (max-width: 800px) {
  div[class$=container] {
    padding: 5rem 2rem;
  }
}
@media screen and (max-width: 480px) {
  div[class$=container] {
    padding: 5rem 0.5rem;
  }
}

h3.section-title {
  text-transform: uppercase;
  font-weight: 500;
  font-size: calc(1rem + 2vw);
}

.featured {
  display: flex;
  overflow-x: scroll;
  padding: 1rem;
  justify-content: space-evenly;
}
.featured a.item {
  background-color: var(--accent-text-color);
  color: var(--alt-text-color);
  border-radius: 5px;
  margin: 1rem;
  max-width: 20vw;
  min-width: 20vw;
}
.featured a.item p {
  font-weight: 300;
  padding-left: 1rem;
  padding-right: 1rem;
}
.featured a.item p.feature-title {
  font-weight: bold;
}
.featured a.item img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
  min-width: 20vw;
}
@media screen and (max-width: 900px) {
  .featured a.item {
    max-width: unset;
    min-width: 80vw;
  }
}
@media screen and (max-width: 900px) {
  .featured {
    justify-content: start;
  }
}

.related {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  justify-content: space-evenly;
}
.related a {
  color: var(--alt-text-color);
  display: inline-block;
  margin: 1rem;
  border-radius: 5px;
  width: calc(33vw - 7rem);
}
@media screen and (max-width: 1085px) {
  .related a {
    width: calc(50vw - 8rem);
    margin: 1rem 0;
  }
}
@media screen and (max-width: 600px) {
  .related a {
    width: calc(100vw - 7rem);
    margin: 1rem auto;
  }
}
.related .item {
  height: 100%;
  background-color: var(--accent-text-color-2);
}
.related .item p {
  font-weight: 300;
  padding-left: 1rem;
  padding-right: 1rem;
}
.related .item p.feature-title {
  font-weight: bold;
}
.related .item img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
}
.related .item img.history-source-logo {
  object-fit: contain;
  background-color: white;
}
.related::-webkit-scrollbar {
  height: 5px;
}
.related::-webkit-scrollbar-track {
  background: rgba(250, 250, 246, 0.3);
}
.related::-webkit-scrollbar-thumb {
  background: rgba(223, 223, 218, 0.5);
  border-radius: 5px;
}

.events {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  margin-left: auto;
  margin-right: auto;
  scroll-snap-type: x mandatory;
}
.events.active {
  cursor: grabbing;
}
.events .card {
  width: 32.05%;
  flex-shrink: 0;
  padding-bottom: 1rem;
  margin: 0.5rem 1rem 1rem;
  scroll-snap-align: start;
  border: 1px solid #e4e4e4;
  background-color: var(--lighten-bg-color);
  border-radius: 5px;
}
.events .card .card-img {
  height: 218px;
  width: 100%;
  object-fit: contain;
}
@media (max-width: 1136px) {
  .events .card {
    width: 50vw;
  }
}
@media (max-width: 700px) {
  .events .card {
    width: calc(100vw - 80px);
  }
}
.events::-webkit-scrollbar {
  height: 5px;
}
.events::-webkit-scrollbar-track {
  background: rgba(250, 250, 246, 0.3);
}
.events::-webkit-scrollbar-thumb {
  background: rgba(223, 223, 218, 0.5);
  border-radius: 5px;
}

.card:link {
  text-decoration: none;
}
.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  height: 200px;
  grid-area: imagearea;
}
.card .body {
  width: 100%;
  grid-area: textarea;
  padding: 0 1rem;
}
.card .body p {
  margin: 0.5rem 0;
  line-height: 2;
}
@media (max-width: 576px) {
  .card .body p {
    line-height: 1.25;
  }
}
.card .body a {
  margin: auto;
  color: var(--accent-text-color);
  text-decoration: none;
  margin-top: 1rem;
}
.card .body a:hover {
  text-decoration: underline;
}
.card .title {
  font-size: calc(1rem + 0.3vw);
  font-weight: 600;
  text-transform: uppercase;
  grid-area: titlearea;
  padding: 1rem;
}

.card-title {
  font-weight: 600;
  font-size: 20px;
  margin: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card-title a {
  color: black;
  text-decoration: none;
}

.card-info {
  color: var(--accent-text-color);
  font-weight: 600;
  font-size: 16px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}
.card-info p {
  font-weight: 600;
  margin: 0 0 1rem 0;
}
.card-info svg {
  width: 32;
  height: 32px;
  margin-right: 8px;
}

.card-date {
  padding-left: 19px;
}

.card-caption {
  font-weight: 300;
  margin: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}
.card-caption p {
  margin: 0;
  font-size: 16px;
}

.card-tags {
  margin: 1rem 1rem 0.5rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-tags a {
  padding: 7px;
  border-radius: 15px;
  background-color: var(--main-bg-color);
  color: var(--text-color);
  text-decoration: none;
  line-height: 1;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 14px;
}
.card-tags a:empty {
  padding: 0;
}
.card-tags a:not(:last-child) {
  margin-right: 0.35rem;
}
.card-tags.dark a {
  background-color: var(--dark-text-color);
  color: white;
}

div[id*=left-arrow] > svg, div[id*=right-arrow] > svg {
  width: 32px;
  height: 32px;
}

.time {
  color: var(--accent-text-color);
  padding: 1rem 0.5rem 0;
  display: flex;
  align-items: center;
}
.time svg {
  width: 28;
  height: 28;
  margin-right: 8px;
}

.gallery-container {
  text-align: center;
}

.photobg {
  padding: 1rem;
}
.photobg.condense {
  max-height: 100vh;
  overflow: hidden;
}
.photobg .row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.photobg .column {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  flex: 25%;
}
@media (max-width: 1000px) {
  .photobg .column {
    flex: 50%;
  }
}
@media (max-width: 650px) {
  .photobg .column {
    flex: 100%;
  }
}
.photobg .column span {
  display: inline-block;
}
.photobg .artifact {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0.5rem;
  width: 100%;
}
.photobg .artifact .label {
  color: white;
  padding: 0 0.5rem;
}
.photobg .artifact .label p {
  margin: 0 0 0.5rem;
}
.photobg .artifact .label p:empty {
  display: none;
}
.photobg .artifact .label a.title {
  font-weight: bold;
  color: white;
  margin: 1rem 0;
  text-decoration: none;
  display: block;
  font-size: x-large;
}
.photobg .artifact .label a.title svg {
  width: 1rem;
}
.photobg .artifact .label .type {
  font-style: italic;
}
.photobg .artifact .label .galleryLabels {
  display: flex;
}
.photobg .artifact .label .galleryLabels p {
  padding: 0.25rem 0.5rem;
  background-color: #8357ca;
  color: white;
  margin-right: 0.25rem;
  border-radius: 15px;
}
.photobg .artifact .img-holder {
  max-width: fit-content;
  max-height: fit-content;
  overflow: hidden;
  position: relative;
  display: inline-block;
}
.photobg .artifact .img-holder::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.photobg .artifact .img-holder:hover::after {
  opacity: 1;
}
.photobg .artifact .img-holder img {
  display: block;
}
/* .photobg .artifact .img-holder img:hover {
  transition: transform 0.5s;
  transform: scale(130%);
} */
.photobg .artifact img[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -100%;
  left: 0;
}
.photobg img.gallery, .photobg img {
  width: 70%;
  border-radius: 5px;
  height: auto;
  vertical-align: middle;
  border: calc(10px + 2vw) inset rgb(80, 4, 19);
  border-image: url("https://www.masshist.org/admin/uploads/frame_870dd6e93f.jpg");
  background-color: var(--lighten-bg-color);
  border-image-slice: 93 92 87 92;
  border-image-repeat: stretch;
  margin: auto;
}

#sampleGalleryWall .galleryLabels {
  justify-content: center;
}

.updates-container {
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233f3156' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
.updates-container input[type=text i] {
  padding: 15px;
  border-radius: 5px;
  border: none;
}
.updates-container button {
  border: none;
  border-radius: 5px;
  padding: 15px 2rem;
  background-color: var(--main-bg-color);
  color: var(--text-color);
  font-weight: 700;
}

.item:hover, .item:focus {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.564) !important;
}

.accent-text {
  font-weight: 600;
  color: var(--accent-text-color);
  font-size: calc(1rem + 0.75vw);
}

.flex-cont {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.sortable-list {
  list-style: none;
  padding: 1rem 0 0 0;
  max-width: 75vw;
  margin: auto;
}

.dateFilter {
  margin-right: 1rem;
  font-size: 2rem;
  color: var(--text-color);
}

li.event {
  padding: 1rem;
  margin-left: 1rem;
  border-left: 2.5px solid var(--accent-text-color);
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
li.event.highlight {
  background-color: rgba(255, 255, 255, 0.123);
  cursor: ns-resize;
  font-family: monospace;
}
li.event.highlight:hover {
  background-color: rgba(136, 81, 226, 0.123);
}

.timeline-event {
  padding-bottom: 0.5rem;
}

#timelineGame-buttons {
  margin: 2rem;
  display: flex;
  justify-content: space-evenly;
}
#timelineGame-buttons button {
  display: block;
  width: 45%;
  border: 1px solid transparent;
}
#timelineGame-buttons button:hover {
  background: transparent;
  border: 1px solid white;
}
#timelineGame-buttons button:disabled {
  display: none;
}

.feedback {
  padding: 3rem;
}
@media screen and (min-width: 2000px) {
  .feedback {
    padding: 3rem 20vw;
  }
}
@media screen and (max-width: 480px) {
  .feedback {
    padding: 1rem 0;
  }
}
.feedback input[type=text], .feedback textarea {
  display: block;
  font-family: "Inter", sans-serif;
  width: 95%;
  padding: 1rem;
  font-size: 1rem;
}
.feedback label {
  display: block;
  width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: x-large;
}
.feedback .info {
  font-style: italic;
  font-weight: 300;
  margin-top: 0.5rem;
}
.feedback button {
  margin: 3rem;
  width: 50%;
}
.feedback button:disabled {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
.feedback #feedbackForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
}
.feedback input[type=checkbox] + label {
  display: inline;
}
.feedback .input-segment {
  margin-bottom: 1rem;
  width: 100%;
}

.center-text {
  text-align: center;
}

div.sticky-container {
  padding-bottom: 5rem;
}
@media screen and (min-width: 2000px) {
  div.sticky-container {
    padding: 5rem;
  }
}

.sticky {
  color: black;
  line-height: 1;
  width: 300px;
  margin: 1rem;
  padding: 1rem;
  position: relative;
  border-bottom-right-radius: 60px 5px;
  display: inline-block;
  background: linear-gradient(#a9a3c9, #d6cff8);
}
.sticky .text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  font-weight: 200;
}
.sticky .author {
  font-weight: 500;
}
.sticky::-webkit-scrollbar {
  width: 5px;
}
.sticky::-webkit-scrollbar-track {
  background: rgba(250, 250, 246, 0.644);
}
.sticky::-webkit-scrollbar-thumb {
  background: rgba(182, 182, 182, 0.5);
  border-radius: 5px;
}
.sticky:before {
  content: "‟ ";
  font-size: 50px;
  line-height: 0.5;
  font-family: "Libre Baskerville";
  color: var(--accent-text-color-2);
}
.sticky:nth-child(odd) {
  transform: rotate(-0.5deg);
}
.sticky:nth-child(even) {
  transform: rotate(0.75deg);
}
.sticky:nth-child(3n) {
  transform: rotate(1deg);
}
.sticky:nth-child(5n) {
  transform: rotate(1.2deg);
}

.scroll-snap-timeline {
  border-radius: 5px;
  height: 50vh;
  overflow-y: scroll;
  -webkit-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory;
  background-image: url(../assets/Panel_2_Background.png);
  scroll-behavior: smooth;
  direction: rtl;
}
.scroll-snap-timeline::-webkit-scrollbar {
  width: calc(2rem + 12vw);
}
@media (max-height: 900px) and (max-width: 500px) {
  .scroll-snap-timeline::-webkit-scrollbar {
    width: 1rem;
  }
}
.scroll-snap-timeline::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.26);
}
.scroll-snap-timeline::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.8509803922);
  border-radius: 5px;
}
@media (max-height: 900px) and (max-width: 500px) {
  .scroll-snap-timeline {
    min-height: 80vh;
  }
}
.scroll-snap-timeline .controls {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 50vh;
  min-width: 10vw;
  overflow: hidden;
  direction: ltr;
}
.scroll-snap-timeline .controls button {
  background-color: transparent;
  border: none;
}
.scroll-snap-timeline .controls svg {
  width: 30px;
  height: 30px;
}
@media (max-height: 900px) and (max-width: 500px) {
  .scroll-snap-timeline .controls {
    min-height: 80vh;
  }
}
.scroll-snap-timeline .item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5764705882));
  -webkit-scroll-snap-align: start;
  scroll-snap-align: start;
  padding: 1rem;
  margin: 0;
  direction: ltr;
}
.scroll-snap-timeline .date, .scroll-snap-timeline .time, .scroll-snap-timeline .text {
  width: 50vw;
}
@media (max-height: 900px) and (max-width: 500px) {
  .scroll-snap-timeline .date, .scroll-snap-timeline .time, .scroll-snap-timeline .text {
    width: unset;
  }
}
.scroll-snap-timeline .date, .scroll-snap-timeline .time {
  display: inline;
  font-size: calc(1.5rem + 1.5vw);
}
.scroll-snap-timeline .text {
  font-size: large;
}
.scroll-snap-timeline .time {
  color: var(--text-color);
  font-weight: 200;
}
.scroll-snap-timeline.fullscreen {
  background-image: none;
  background-color: rgba(0, 0, 0, 0.26);
}

.d-flex {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
}

.TFcontparent {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.TFdescription {
  padding: 1.5rem calc(2rem + 4vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
@media (max-width: 800px) {
  .TFdescription {
    max-width: 90vw;
    margin: unset;
    padding: 1.5rem;
  }
}
.TFdescription > * {
  max-width: 800px;
}

.TFcont {
  background: rgba(0, 0, 0, 0.26);
  padding: 2vw;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  text-align: center;
  min-height: 25vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.TFcont button.TF {
  margin: 10px;
  padding: 10px 20px;
  background-color: var(--accent-text-color);
  border: 1px solid;
  border-radius: 5px;
  border-color: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.TFcont button.TF:hover {
  background-color: transparent;
  border-color: white;
}
.TFcont button.TF:disabled {
  display: none;
}
.TFcont #TFquestion {
  margin: 1rem 0;
}
.TFcont #TFtimercont {
  width: 100%;
  height: 20px;
  background-color: rgba(54, 54, 54, 0.2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin: 1rem 0;
}
.TFcont #TFtimer-bar {
  height: 100%;
  background-color: rgba(78, 14, 151, 0.5803921569);
  width: 0;
  transition: width linear;
}
.TFcont #TFcountdown {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 20px;
  font-size: 14px;
  color: rgba(209, 203, 213, 0.9058823529);
}
@media (min-width: 600px) {
  .TFcont #TFcountdown::before {
    content: "Next Question in ";
  }
}
.TFcont #TFcount {
  font-weight: bold;
}
.TFcont .result {
  letter-spacing: 0.5px;
  color: #dec6ff;
  font-weight: bold;
}
.TFcont a {
  cursor: pointer;
  color: rgba(209, 203, 213, 0.9058823529);
}
.TFcont a:hover {
  color: #dec6ff;
}
@media screen and (max-width: 450px) {
  .TFcont {
    min-height: 90vh;
  }
}
