@charset "UTF-8";

/* -----  1.1 Font Definitions  --------------------------------------------- */

@font-face {
  font-family: 'UN-11 ST';
  src: url('../fonts/UN_11ST_Regular.woff') format('woff'),
       url('../fonts/UN_11ST_Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* --- Baseline --- */

:root {
    --color-fg: black;
    --color-bg: white;
    --color-ui: #7a7a7a;
    --borderColor: var(--color-fg);
    --highlightColor: blue;
    --border-width: .04rem;
  }
  
  *,
  *:after,
  *:before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-family: 'Times New Roman', Times, serif;
    color: var(--color-fg);
    background-color: var(--color-bg);
    font-size: 1.2vw;
    -webkit-font-smoothing: antialiased;
  }

  body {
    padding: 0;
  }
  
  li {
    list-style: none;
  }
  
  a {
    color: currentColor;
    text-decoration: none;
    /* border-bottom: 1px solid; */
    display: inline-block;
  }
  
  main:is(.about,.legal) article a {
    color: var(--highlightColor);
  }
  
  strong, b, h1, h2, h3, h4, h5 {
    font-weight: normal;
    font-size: inherit;
  }
  
  img {
    width: 100%;
    height: 100%;
  }

article.about img {
    padding-top: 0.5rem;
}

  /* --- Main --- */


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

.toggle-content {
	/* display: none; */
	/* height: 0; */
	/* overflow: hidden; */
	/* transition: height 250ms ease-in-out; */
}

.toggle-content.is-visible {
	/* display: block;
	height: unset; */
}

.hidden {
  opacity: 0;
}

/* --- Menu --- */

header nav {
  position: absolute;
  top: .5rem;
  right: .5rem;
  /* z-index: 10; */
}

header nav .button {
  border: 1.5px solid var(--color-fg);
  color: var(--color-fg);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-family: 'UN-11 ST', Arial, Helvetica, sans-serif;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.9rem;
}



/* Footer
---------------------------------------------------------------------- */

footer {
  justify-content: center;
  display: flex;
  gap: 1rem;
  padding: .5rem 0;
}

footer :is(p, nav, a) {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

/* Target Elements
---------------------------------------------------------------------- */


/* About
---------------------------------------------------------------------- */

main:is(.about,.legal) article {
  background-color: var(--color-bg);
  z-index: 2;
  position: relative;
  line-height: 1.1;
  margin-top: 11.55vw;
  min-height: calc(100vh - 11.55vw - 2.2rem);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

main.about article {
  font-size: 5.4vw;
}
main.legal article > *{
  max-width: 85ch;
}

/* Home
---------------------------------------------------------------------- */

main.home {

}

main header {
  position: fixed;
  top: 0;
  background-color: var(--color-bg);
  z-index: 1;
  width: 100%;
}
h1.title,
.h1.title {
  font-size: 19vw;
  text-align: center;
  word-spacing: -2.2vw;
  margin: 0;
  height: 11.55vw;
  overflow: hidden;
  line-height: 1;
}

h1.title span.first-word {
  margin-right: .6vw;
}

main.home table {
  border-collapse: collapse;
  /* font-size: .9rem; */
  width: 100%;
  cursor: pointer;
  background-color: var(--color-bg);
  z-index: 2;
  position: relative;
  margin-top: 11.55vw;
}
main.home table thead{
  position: sticky;
  top: 0;
  background-color: var(--color-bg);
}

tr {
  display: grid;
  grid-template-columns: 8rem 8rem 1fr 2fr 5.8rem 7rem 8.3rem 4rem 4rem 2.2rem;
  text-align: left;
}

li.active, tr.active {
  color: var(--highlightColor);
}

li.active svg#plyr-play {
  fill: var(--highlightColor);
}

th:hover,
tbody tr:hover {
    color: var(--highlightColor);
    cursor: pointer;
}
tr:first-child:hover {
    background-color: inherit;
}

th, td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.35rem 0.55rem 0.4rem;
    border-bottom: var(--border-width) solid var(--borderColor);
  }
  

td:first-child {
  border-left: none;
}

td:last-child {
  border-right: none;
}

th {
  border-bottom: var(--border-width) solid var(--borderColor);
  border-left: none;
  border-right: none;
  font-weight: normal;
}

th:last-child {
  text-align: center;
  -webkit-text-stroke-width: var(--border-width);
  -webkit-text-stroke-color: black;
}


.context-menu {
  position: absolute;
  right: 0.7rem;
  background-color: var(--color-ui);
  padding: .3rem 0 .4rem;
  border-radius: 0.3rem;
  font-size: .75rem;
  color: var(--color-bg);
  font-family: 'UN-11 ST', Arial, Helvetica, sans-serif;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.context-menu a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.3rem;
  margin: 0 0.3rem;
  border-radius: 0.3rem;
}
.context-menu a:hover {
  background-color: #959595;
}

.context-menu a::after {
  content: '↗';
}


.context-menu ul.additional-files {
  position: relative;
}
.context-menu ul.additional-files:not(:only-child) {
  padding-top: .5rem;
  margin-top: .5rem;
}
.context-menu ul.additional-files:not(:only-child)::before {
  content: '';
  background: linear-gradient(to right, transparent .5rem, var(--color-bg) .5rem, var(--color-bg) calc(100% - .5rem), transparent calc(100% - .5rem), transparent 100%);
  top: 0;
  height: 1px;
  position: absolute;
  width: 100%;
}



summary {
  list-style: none;
  -webkit-text-stroke-width: var(--border-width);
  -webkit-text-stroke-color: black;
}

summary::-webkit-details-marker {
  display: none;
}

/* Plyr Controls
---------------------------------------------------------------------- */


audio {
    width: 100%;
    /* height: 100%; */
}



.plyr--audio {}

.plyr--audio .plyr__controls, .plyr--video .plyr__controls {
    background: var(--color-ui);
    display: grid;
    color: var(--color-bg);
    font-family: 'UN-11 ST', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: .75rem;
    grid-template-columns: [start] 2.1rem 1fr 2.1rem [end];
    gap: 0 .5rem;
    text-align: left;
    padding: 0.7rem .6rem .5rem;
    position: unset;
    width: 100%;
    border-radius: 0.3rem;
    font-variant-numeric: initial;
    -webkit-font-smoothing: antialiased;
    line-height: 1.25;
}

.plyr__controls, .plyr__time {
  font-size: .75rem;
}

.plyr__progress_group {
    display: contents
}

.plyr__progress {
    display: block;
    /* position: absolute; */
    width: 100%;
    margin: 0;
    left: 0;
    /* height: 2.4rem; */
}

.plyr__title, .plyr__artist {
    display: block;
    padding: 0;
    grid-column: start / end;
    text-align: center;
}

.plyr__time {
    
}

.plyr__time--current {
    text-align: right;
}

.plyr__progress input[type=range], .plyr__progress__buffer {
    width: 100%;
    margin: 0;
}

.plyr--full-ui input[type=range]:focus {
    /* border: 3px solid red; */
}

.plyr--full-ui input[type=range] {
    color: var(--color-bg);
    border-radius: 0;
    cursor: pointer;
    height: 1.6rem;
  }
  
  input[type=range]::-moz-range-track {
    background-color: var(--color-bg);
    height: 2px !important;
}

.plyr--full-ui.plyr--audio input[type="range"]::-moz-range-track, .plyr--full-ui.plyr--video input[type="range"]::-moz-range-track {
  background-color: var(--color-bg);
}

  input[type=range]::-moz-range-progress {
    height: 2px !important;
}

.plyr--audio .plyr__progress__buffer, .plyr--video .plyr__progress__buffer {
    /* color: var(--color-bg) !important;
    background: var(--color-bg);
    border-radius: 0; */
    display: none;
}

.plyr__progress__buffer {
    border-radius: 0;
    top: 0;
    height: 2px;
}

.plyr--audio .plyr__control.plyr__tab-focus, .plyr--audio .plyr__control:hover, .plyr--audio .plyr__control[aria-expanded=true], .plyr--video .plyr__control.plyr__tab-focus, .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
    background: none;
    color: #fff;
}

.plyr__control.plyr__tab-focus {
    box-shadow: none;
}

.plyr input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 0;
  -webkit-user-select: none;
          user-select: none;
}

.plyr input[type="range"]::-webkit-slider-thumb {
  height: .7rem;
  width: .7rem;
  border: none;
  box-shadow: none;
  margin-top: -0.3rem;
}

.plyr input[type="range"]::-moz-range-thumb {
  height: .7rem;
  width: .7rem;
  border: none;
  box-shadow: none;
  margin-top: -0.3rem;
}


.plyr input[type="range"]::-ms-thumb {
  height: .7rem;
  width: .7rem;
  border: none;
  box-shadow: none;
  margin-top: -0.3rem;
}

.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track, .plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track {
    background-color: var(--color-bg);
    color: var(--color-bg);
    box-shadow: none;
}

/* .plyr__progress .plyr__tooltip {
    background: none;
    border-radius: 0;
    bottom: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    color: #e6e6e6;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0;
    font-size: 1.77rem;
} */

.plyr__tooltip::before {
  display: none;
}

.plyr [data-plyr=airplay],
.plyr [data-plyr=captions],
.plyr [data-plyr=pip],
.plyr--airplay-supported [data-plyr=airplay],
.plyr--captions-enabled [data-plyr=captions],
.plyr--audio [data-plyr=fullscreen],
.plyr--pip-supported [data-plyr=pip] {
  display: none;
}

.plyr--video .plyr__controls_buttons [data-plyr=fullscreen] {
  display: inline-block;
  position: absolute;
  right: 0.5rem;
  /* top: 0.4rem; */
}
.plyr--video .plyr__controls_buttons .plyr__control--pressed[data-plyr=fullscreen] {
  /* position: fixed;
  right: 0.5rem;
  top: 0.4rem; */
}

.plyr__control svg {
  height: 1rem;
  width: 1rem;
}

.plyr__controls_buttons {
  grid-column: start / end;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
}

.plyr__controls_buttons button {
  line-height: 1;
  padding: 4px 7px 7px;
}

.plyr__controls_buttons button#closeButton {
  display: inline-block;
  position: absolute;
  right: 0.5rem;
  top: 0.4rem;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 250ms;
}

.plyr__controls:hover .plyr__controls_buttons button#closeButton {
  opacity: 1;
}

.plyr__controls_buttons .icon {
  width: 1rem;
  height: 1rem;
}
.plyr__controls_buttons #prevButton .icon {
  transform: rotate(180deg);
}

.plyr.plyr--loading:after {
  content: '';
  position: absolute;
  height: 1.65rem;
  width: 50%;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  margin: auto;
  background-color: var(--color-ui);
  background-image: url(../images/spinner.svg);
  background-repeat: no-repeat;
  background-size: 2.5rem;
  background-position: center;
}

aside {
  position: fixed;
  bottom: 2rem;
  width: clamp(300px, 100%, 23vw);
  z-index: 10;
  border-radius: .5rem;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.28);
  right: 0;
  left: 0;
  margin: auto;
}


.asc::after {
  content: '↓';
  margin-left: .5rem;
  position: relative;
  top: -2px;
  }
  
  .desc::after {
    content: '↑';
    margin-left: .5rem;
    position: relative;
    top: -2px;
}


svg#plyr-play {
    fill: #e6e6e6;
    height: 14px;
    margin-right: 1rem;
    position: relative;
}

.plyr__video-wrapper {
    height: 48px;
    width: auto;
    display: block;
    margin: 0;
    position: absolute;
    z-index: 5;
    right: 0;
    grid-column-start: 3;
}

.plyr--video .plyr__controls {
  bottom: 2rem;
  width: clamp(300px, 100%, 23vw);
  z-index: 10;
  border-radius: .5rem;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.28);
  right: 0;
  left: 0;
  margin: auto;
  position: fixed;
}

.plyr--fullscreen-fallback .plyr__video-wrapper {
    width: auto;
    /* margin-top: -76px; */
    height: 100vh;
}

.plyr video {
  width: 100vw;
  margin: 0 auto;
  height: 100vh;
  cursor: pointer;
  object-fit: cover;
}

aside figure {
  position: absolute;
  z-index: 5;
  right: 0;
  height: 35px;
  width: auto;
  top: 0;
}

aside figure img {
  height: 100%;
  width: auto;
}

article p + p {
  margin-top: 1rem;
}

section.legal h3 {
    cursor: pointer;
}

section.legal div {
  overflow: hidden;
  padding: 0;
  font-size: .9rem;
  line-height: 1.1rem;
  transition: all 250ms;
  border-bottom: 0;
}

section.legal div.is-visible {
    padding: 0.8rem 0 0;
    border-top: .5px var(--borderColor) solid;
}

section.legal li {
    display: inline-block;
    cursor: pointer;
    font-size: .9rem;
    margin-right: 0.3rem;
}

section.legal li.active, section.legal li:hover {
    text-decoration: underline;
}

section.legal {
    padding: 0 .7rem;
}

section.legal ul {
    margin-bottom: 0.8rem;
    line-height: 1rem;
}

section.legal div p {
    padding-bottom: 1rem;
}

.mediumhide {
    display: none;
}