* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}
.archives {
  margin: 0;
  background: #050405;
  overflow: hidden;
  color: white;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/*background*/

#archivesBG {
  position: fixed;
  inset: 0;
  background-position: center top;
  background-image: url(https://erepublic.brightspotcdn.com/dims4/default/503df9c/2147483647/strip/true/crop/800x417+0+58/resize/840x438!/quality/90/?url=http%3A%2F%2Ferepublic-brightspot.s3.us-west-2.amazonaws.com%2F7b%2Fd9%2Fac4c64168377114cc3e5b638172d%2Farchives.jpg);
  pointer-events: none;
  opacity: 0.2;
  z-index: -3;
}

/* header */

#header {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 30px 0;
  text-align: center;
  align-content: center;
  
  display: flex;
  flex-direction: column;
  
  background-color: black;
}
#header h1 {
  color: #7d1128;
  font-size: 40px;
  letter-spacing: 2px;
}

#header p {
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  margin-top: 6px;
}


/*tag system*/

#tagBar {
  width: 100%;
  margin-top: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(214,179,106,0.25);
}

#tagBar span {
  font-size: 11px;
  opacity: 0.5;
  margin-right: 4px;
}

.tagBtn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(214,179,106,0.2);
    color: rgba(232,224,226,0.6);
    font-family: inherit;
    font-size: 11px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    cursor: pointer;
    transition: 0.2s ease;
}


.tagBtn:hover {
    border-color: rgba(214,179,106,0.5);
    color: #d6b36a;
}

.tagBtn.active {
    background: rgba(125,17,40,0.3);
    border-color: #7d1128;
    color: #e8e0e2;
}

.tagChips {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    margin-left: 20px;
}

.chip {
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    color: rgba(214,179,106,0.7);
    border: 1px solid rgba(214,179,106,0.2);
    border-radius: 2px;
    padding: 2px 8px;
    background: rgba(0,0,0,0.3);
}


/* Container for flexboxes */
.row {
  
  flex: 1 1 auto;
  min-height: 0;            /* critical: lets children actually scroll instead of overflowing */
  display: flex;
  position: relative;
  z-index: 1;
  margin-left: 10%;
  
  width: 100%;
}

/* Create three unequal columns that sits next to each other */
.column {
  padding: 10px;
  height: 100%;
  overflow-y: auto;
}

/* Left and right column */
.column.side {
   -webkit-flex: 1;
   -ms-flex: 1;
   flex: 1;
   margin-right: 20%;
}

/* Middle column */
.column.middle {
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .row {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}


/* data stuff */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
}


.entry {
  padding: 16px;
  background: rgba(0,0,0,0.4);
  border-left: 2px solid rgba(125,17,40,0.6);
  cursor: pointer;
  transition: 0.3s ease;
  max-width: 60vw;
}

.entry:hover {
  transform: translateX(10px);
  border-left: 2px solid #d6b36a;
  box-shadow: -10px 0 30px rgba(214,179,106,0.05);
}

.entry.hidden {
  display: none;
}
.date {
  font-size: 11px;
  opacity: 0.6;
}


.title {
  font-size: 14px;
  color: #d6b36a;
  margin-top: 4px;
}


.desc {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 6px;
}


.todolist {
  font-size: 16px;
  margin-top: 20px;
  color: #d6b36a;
  opacity: 0.6;
}

/* =========================
   BACK LINK
========================= */

#back {
    position: fixed;
    bottom: 20px;
    left: 20px;

    color: #aaa;
    font-size: 12px;
    text-decoration: none;
}

#back:hover {
    color: #7d1128;
}