@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/PublicSans-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Victor Mono';
  src: url('../fonts/VictorMono-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Seinfeld';
  src: url('../fonts/Fenice LightOblique.ttf');
}

@font-face {
  font-family: 'League Gothic';
  src: url('../fonts/LeagueGothic-Regular-VariableFont_wdth.ttf');
}

body {
  font-family: "Public Sans", sans-serif;
  min-height: 100vh;
  padding-top: 10px;
/*  background: rgba(0, 0, 0, .2) url(../images/sweater2.jpg);
  background-size: 70vh;*/
}

/*.theme-dark body {
  background-blend-mode: darken;
}*/

.br-4 {
  border-radius: 4px;
}

.ep {
  background: #f9d402;
  color: #db1f02;
  padding: 5px;
  margin-top: 0.6rem;
  justify-content: space-between;
}

.time-stamp {
  border-radius: 50px;
  padding: 0px 5px 0px 5px;
/*  font-size: 0.7rem;*/
  font-family: "Victor Mono", monospace;
  margin-right: 5px;
}

.mono-font {
  font-family: "Victor Mono", monospace;
}

.bg-smoke {
  background: whitesmoke;
}

a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }

.card {
  border-bottom: 1px solid #ebebeb;
  border-top: none;
  border-left: none;
  border-right: none;
}

.card td {
  vertical-align: top;
}

.card td:last-child {
  width: 100%;
}

.card table {
  border-collapse: collapse;
}

.context button {
  padding: 0;
  border: none;
  background: none;
  position: absolute;
  right: 10px;
  bottom: 0px;
  font-size: 1.4rem;
}

#loading, #not-found {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#notice {
  position: absolute;
  top: 0;
  width: 100%;
  font-size: 0.8em;
}

#footer {
  position: absolute;
  bottom: 0;
  z-index: -1;
}

@media screen and (max-height: 600px) {
  #footer {
    display: none;
  }
}

#footer div {
  perspective: 600px;
  position: absolute;
  left: 50%;
  top: -10%;
}

#footer p {
  font-family: League Gothic;
  white-space: nowrap;
  line-height: 1;
  transform: rotateX(5deg) rotateY(-30deg);
}

#footer .char-img {
  max-height: 25vh;
}

#footer p {
  font-size: 10vmin;
}

.switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.switch input {
  display:none;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.my-slider {
  background-color: darkgrey;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.my-slider:before {
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
  background: var(--bs-primary) url('https://api.iconify.design/lucide/sun.svg?color=%23fff000');
  background-repeat: no-repeat;
  background-position: center;
}

input:checked + .my-slider {
  background-color: #404040;
}

input:checked + .my-slider:before {
  transform: translateX(26px);
  background: var(--bs-primary) url("https://api.iconify.design/lucide/moon.svg?color=%23fff");
  background-repeat: no-repeat;
  background-position: center;
}

.my-slider.round {
  border-radius: 34px;
}

.my-slider.round:before {
  border-radius: 50%;
}

#theme-switch-container {
  z-index: 1;
}

.text-faded {
  color: #BCC3CE;
}

.theme-dark body {
  background-color: var(--bs-dark);
}

.theme-dark .text-light:not(#notice) {
  color: var(--bs-dark) !important;
}

.theme-dark .btn-close {
  filter: invert(100%);
}

.theme-dark #footer p, .theme-dark .btn.btn-clear::before, .theme-dark .modal-header {
  color: #E0E0E0;
}

.theme-dark .text-ellipsis:not(.text-faded), .theme-dark .quote {
  color: white;
}

.theme-dark .form-control {
  background-color: #404040;
  color: #E0E0E0;
}

.theme-dark .btn:not(.btn-primary,.btn-link) {
  background-color: var(--bs-dark);
}

.theme-dark #modal-captions-buttons {
  background-color: #4a4a4b !important;
}

.theme-dark .card {
  background-color: #2e2e2e;
  border-bottom: 1px solid black;
}

.theme-dark .modal-content {
  background-color: #2e2e2e !important;
}

.theme-dark .time-stamp.bg-smoke {
  color: var(--bs-dark);
}

/*.theme-dark .text-primary {
  filter: brightness(1.75);
}*/

.theme-dark #add-time, .theme-dark #add-lines, .theme-dark .skeleton-box {
  filter: brightness(0.3);
}

#triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 6px 0 6px;
  border-color: #db1f02 transparent transparent transparent;
  position: absolute;
  left: 50%;
  margin-top: 6px;
  margin-left: -68px;
  z-index: 4;
}

#triangle-shadow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 6px 0 6px;
  border-color: #000000 transparent transparent transparent;
  position: absolute;
  left: 50%;
  margin-top: 7px;
  margin-left: -67px;
  z-index: 3;
}

#circle {
  width: 9px;
  height: 9px;
  position: absolute;
  left: 50%;
  margin-top: 12px;
  margin-left: -65px;
  z-index: 2;
  background-color: #f9d402;
  border-radius: 50%;
}

.skeleton-box {  
  position: relative;
  overflow: hidden;
  background-color: #DDDBDD;
  border-radius: 2px;
}

.skeleton-box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0));
  animation: shimmer 1s infinite;
  content: '';
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}