.basicLightbox {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0.01;
  transition: opacity 0.4s ease;
  z-index: 1000;
  will-change: opacity;
}

.basicLightbox--visible {
  opacity: 1;
}

.basicLightbox__placeholder {
  max-width: 100%;
  transform: scale(0.9);
  transition: transform 0.4s ease;
  z-index: 1;
  will-change: transform;
}

.basicLightbox__placeholder > iframe:first-child:last-child, .basicLightbox__placeholder > img:first-child:last-child, .basicLightbox__placeholder > video:first-child:last-child {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  max-width: 95%;
  max-height: 95%;
}

.basicLightbox__placeholder > iframe:first-child:last-child, .basicLightbox__placeholder > video:first-child:last-child {
  pointer-events: auto;
}

.basicLightbox__placeholder > img:first-child:last-child, .basicLightbox__placeholder > video:first-child:last-child {
  width: auto;
  height: auto;
}

.basicLightbox--iframe .basicLightbox__placeholder, .basicLightbox--img .basicLightbox__placeholder, .basicLightbox--video .basicLightbox__placeholder {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.basicLightbox--visible .basicLightbox__placeholder {
  transform: scale(1);
}

.debug_dump {
  display: block;
  background: #fbfbfb;
  color: #333;
  font: normal 13px/18px monospace;
  border: 1px solid #000000;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.25);
  padding: 10px;
  margin: 10px 0;
  white-space: pre-wrap;
  width: 100%;
  max-width: 640px;
  box-sizing: border-box;
  overflow-x: auto;
}
.debug_dump kbd {
  background-color: transparent;
  padding: unset;
  border-radius: unset;
  box-shadow: unset;
}
.debug_dump kbd[style~="color:white"] {
  color: #ccc !important;
}

.debug_wrapper {
  margin: 10px 0;
}
.debug_wrapper .debug_toggle {
  background: #fbfbfb;
  border: 1px solid #000;
  border-bottom: none;
  position: relative;
  z-index: 2;
  top: 1px;
  color: #333;
  font: normal 13px/18px monospace;
  display: inline-block;
  padding: 2px 5px;
  text-decoration: none;
  cursor: pointer;
}
.debug_wrapper .debug_toggle:hover {
  background: #eee;
}
.debug_wrapper .debug_toggle:focus {
  outline: none;
  background: #eee;
}
.debug_wrapper .debug_toggle.solo {
  border: 1px solid #000;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.25);
}
.debug_wrapper .debug_content {
  overflow-y: hidden;
  position: relative;
  z-index: 1;
  padding: 10px;
  background: #fbfbfb;
  color: #333;
  font: normal 13px/18px monospace;
  border: 1px solid #000000;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.25);
}
.debug_wrapper .debug_content .debug_dump {
  background: transparent;
  box-shadow: none;
  border: 1px solid #ccc;
  max-width: 100%;
  margin: 0;
}
.debug_wrapper .debug_content .debug_dump + .debug_dump {
  margin-top: 10px;
}

body {
  font-family: monospace;
  background: #dadac5;
  color: #212121;
  margin: 0;
  padding: 0;
  display: flex;
  max-height: 100vh;
  align-items: center;
  flex-direction: column;
}

a {
  color: inherit;
}
a:hover {
  text-decoration: none;
}

.logo {
  margin: 50px auto;
  max-width: 80vw;
}

.projects {
  margin: 0 25px;
  text-align: center;
}
.projects .project {
  display: block;
  padding: 50px;
  margin: 50px auto;
  border: 1px solid #b9b9b9;
  background: #c8c8b1;
  font-size: 20px;
}
.projects .project.private {
  background: #ffd700;
  border-color: goldenrod;
}

.posts {
  margin: 0 25px;
  text-align: center;
}
.posts .post {
  margin: 100px auto;
  max-width: 90vw;
}
.posts .post img,
.posts .post video {
  max-width: 100%;
  max-height: 70vh;
  height: auto;
}
.posts .post .filename {
  color: #5a5a55;
}
.posts .post .description {
  margin: 25px 0;
}

.dropzone {
  background: #eee;
  border: 1px solid #b9b9b9;
  text-align: center;
  padding: 20px;
  margin: 0 0 15px 0;
  position: relative;
}
.dropzone input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
}

.media-queue .media-item {
  margin: 0 0 15px 0;
}
.media-queue .media-item .progress {
  height: 10px;
  background: #e3f3f8;
}
.media-queue .media-item .progress .bar {
  height: 100%;
  background: #6ea0b1;
}

[data-lightbox] {
  cursor: zoom-in;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}
