/* =========================
   BUTTONS
========================= */

.regular-btn,
.tag-box button,
.archive-toggle {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 6px 0;

  font-family: "MS UI Gothic", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;

  border: 3px double #F279C8;
  background-color: #FFCFF0;
  color: #55038C;

  cursor: pointer;
  text-decoration: none;

  transition: background-color 0.3s ease;
}

/* hover */
.regular-btn:hover,
.tag-box button:hover,
.archive-toggle:hover {
  background-color: #F279C8;
}

/* =========================
   WINDOW
========================= */

.retro-window {
  border: double 4px #F279C8;
  background: #fff0f6;
}

/* title bar */
.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 6px 10px;
  border-bottom: 2px double #F279C8;
  background: linear-gradient(to right, #F279C8, rgba(0,0,0,0));
  font-family: "Ms Ui Gothic", sans-serif;
}
.window-bar button:hover {
 cursor: pointer;
}


/* =========================
   LAYOUT
========================= */

.container {
  width: 900px;
  margin: 0 auto;
  padding: 20px;

  background-color: #FFCFF0;
  border: double #F279C8;

  min-height: 100vh;
}

.explorer {
  display: flex;
  gap: 15px;
}

/* sidebar */
.tree {
  width: 220px;
  padding: 10px;

  border-right: 2px dotted #F279C8;
}

/* main viewer */
.viewer {
  flex: 1;
  padding: 15px;
}

/* =========================
   FILE ENTRIES
========================= */

.file {
  background: #fff;

  border: double 3px #F279C8;

  padding: 15px;
  margin-bottom: 15px;

  color: #2a0033;

  box-shadow:
    inset 0 0 12px rgba(242,121,200,0.15),
    0 0 5px rgba(242,121,200,0.2);
}

/* file title */
.file-header {
  font-size: 12px;
  font-weight: bold;

  color: #55038C;

  margin-bottom: 10px;

  background: linear-gradient(to right, #F279C8, rgba(0,0,0,0));
  padding: 5px;
}

/* =========================
   SUBTITLES
========================= */

.subtitle {
  font-family: "MS UI Gothic", sans-serif;

  background: linear-gradient(
    to right,
    #F279C8,
    rgba(0,0,0,0)
  );

  color: #55038C;

  padding: 5px;
  margin: 10px 0;

  font-size: 12px;
  text-transform: uppercase;
}

/* =========================
   ARCHIVE
========================= */

.folder {
  display: none;
  padding-left: 10px;
}

.folder.show {
  display: block;
}

.folder a {
  display: block;

  padding: 4px 0;

  color: #55038C;
  text-decoration: none;

  font-size: 12px;
}

.folder a:hover {
  text-decoration: underline dotted;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .container {
    width: 95%;
    padding: 10px;
  }

  .explorer {
    flex-direction: column;
  }

  .tree {
    width: 100%;
    border-right: none;
    border-bottom: 2px dotted #F279C8;
  }

}