@charset "UTF-8";
.shelf-entry-tags.default {
  background-color: rgba(65, 65, 65, 0.7607843137);
}
.shelf-entry-tags.horror {
  background-color: rgba(109, 24, 24, 0.7607843137);
}
.shelf-entry-tags.sci-fi {
  background-color: rgba(30, 76, 102, 0.7607843137);
}
.shelf-entry-tags.action {
  background-color: rgba(66, 94, 29, 0.7607843137);
}
.shelf-entry-tags.drama {
  background-color: rgba(94, 88, 29, 0.7607843137);
}
.shelf-entry-tags.komödie {
  background-color: rgba(94, 29, 94, 0.7607843137);
}

:root {
  --default-gap: .5rem;
  --default-invalid-color: #ff4141;
  --default-border-radius: .5rem;
  --bg-color: #353535;
  --font-color: #a7a7a7;
  --font-color-lighten: #ebebeb;
  --href-color: #0099ff;
  --input-bg-color: #5e5e5e9f;
  --input-font-color: #dfdfdf;
  --input-padding: .5rem;
  --button-bg-color: #5e5e5e9f;
  --button-font-color: #dfdfdf;
  --button-padding: .2rem;
  --button-bg-color-add: #10af459f;
  --button-font-color-add: #ebebeb;
  --button-bg-color-save: #10af459f;
  --button-font-color-save: #ebebeb;
  --button-bg-color-abort: #af10109f;
  --button-font-color-abort: #ebebeb;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  transition: width 200ms, background-color 300ms;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  gap: var(--default-gap);
  color: var(--font-color);
  align-items: center;
  padding: 1rem;
  width: 100 vw;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  background-image: linear-gradient(to right, rgba(53, 53, 53, 0.822), rgba(0, 0, 0, 0.918)), url("../gfx/monicore-background-2369807_1920.jpg");
  background-size: cover;
  background-position-y: -120px;
  color: var(--font-color);
}

a {
  color: var(--href-color);
}
a:hover {
  color: color-mix(in srgb, var(--href-color), white 20%);
}

h1, h2, h3 {
  color: var(--font-color-lighten);
}

h1, h2, h3 {
  margin-bottom: var(--default-gap);
}
h1:not(:first-child), h2:not(:first-child), h3:not(:first-child) {
  margin-top: 1rem;
}

p {
  line-height: 130%;
  margin-bottom: var(--default-gap);
}

fieldset {
  border: none;
}

label {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--default-gap);
}
label:has(input:invalid) {
  color: var(--default-invalid-color);
}
label > * {
  margin-top: calc(var(--default-gap) / 2);
}

button {
  cursor: pointer;
  color: var(--button-font-color);
  background-color: var(--button-bg-color);
  border: solid 1px black;
  border-radius: var(--default-border-radius);
  padding: var(--input-padding);
  margin-bottom: var(--default-gap);
}
button:disabled {
  opacity: 50%;
  cursor: not-allowed;
}
button:hover:not(:disabled) {
  background-color: color-mix(in srgb, var(--button-bg-color), white 10%);
}
button.add {
  color: var(--button-font-color-add);
  background-color: var(--button-bg-color-add);
}
button.add:hover {
  background-color: color-mix(in srgb, var(--button-bg-color-add), white 10%);
}
button.save {
  color: var(--button-font-color-save);
  background-color: var(--button-bg-color-save);
}
button.save:hover {
  background-color: color-mix(in srgb, var(--button-bg-color-save), white 10%);
}
button.abort {
  color: var(--button-font-color-abort);
  background-color: var(--button-bg-color-abort);
}
button.abort:hover {
  background-color: color-mix(in srgb, var(--button-bg-color-abort), white 10%);
}

input, select, textarea {
  padding: var(--input-padding);
  border: solid 1px black;
  border-radius: var(--default-border-radius);
  background-color: var(--input-bg-color);
  color: var(--input-font-color);
}
input:hover, select:hover, textarea:hover {
  background-color: color-mix(in srgb, var(--input-bg-color), white 5%);
}

textarea {
  width: 25rem;
  resize: vertical;
}

dialog {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  max-width: 98vw;
  position: fixed;
  inset: 0;
  margin: auto;
}
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.6156862745);
}

.flex-v {
  display: flex;
  flex-direction: column;
}
.flex-v:not(.no-gap) {
  gap: var(--default-gap);
}

.flex-h {
  display: flex;
  flex-direction: row;
}
.flex-h:not(.no-gap) {
  gap: var(--default-gap);
}
.flex-h.align-bottom {
  align-items: flex-end;
}
.flex-h.align-right {
  justify-content: flex-end;
}
.flex-h.gap-borders > *:last-child {
  padding-left: 0.5rem;
}
.flex-h.gap-borders > *:not(:last-child) {
  padding-right: 0.5rem;
}
.flex-h.gap-borders > *:not(:last-child) {
  border-right: 1px solid;
}

.margin-top {
  margin-top: calc(var(--default-gap) * 2);
}

.hint {
  font-style: italic;
}

.margin-right-1rem {
  margin-right: 1rem;
}

.animation-scale-in {
  animation: a1 2s ease 0s 1 normal forwards;
}
@keyframes a1 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.animation-blend-in {
  animation: a2 2s ease 0s 1 normal forwards;
}
@keyframes a2 {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}

.login {
  background-color: var(--bg-color);
  color: var(--font-color);
}
.login #api_key {
  width: 25rem;
}

.new-entry {
  background-color: var(--bg-color);
  color: var(--font-color);
}

.details {
  display: flex;
  flex-direction: row;
  background-color: var(--bg-color);
  color: var(--font-color);
}
.details .panel {
  display: flex;
  flex-direction: column;
  line-height: 130%;
  padding: 1rem;
  padding-left: 2rem;
}
.details .poster {
  flex-shrink: 0;
  width: 500px;
  height: 750px;
}
.details .infos {
  flex-grow: 1;
}
.details .options {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.details .meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--default-gap);
}
.details .release {
  color: var(--font-color);
  font-weight: 100;
}
.details .tagline {
  margin: 1rem 0;
  font-style: italic;
  color: var(--font-color-lighten);
}
.details .options {
  display: flex;
  flex-direction: row;
  gap: var(--default-gap);
}

.header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--default-gap);
}
.header .title-search {
  position: relative;
  margin-bottom: 1rem;
}
.header .title-search input {
  border-radius: 25px;
  padding: 1rem;
  width: 95vw;
  max-width: 500px;
}
.header .title-search .clear-button {
  position: absolute;
  right: 0.6rem;
  top: 2px;
  font-size: 150%;
  background-color: rgba(255, 255, 255, 0);
  border: none;
}
.header .new-entry-button {
  border-radius: 25px;
  padding: 1rem;
}

.tag {
  padding: 0.3rem 0.5rem;
  background-color: var(--input-bg-color);
  color: var(--input-font-color);
  border-radius: 10px;
  user-select: none;
  transition-duration: 500ms;
  transition-property: background-color;
}
.tag.selected {
  background-color: #096d68;
}
.tag.excluded {
  background-color: #6d0909;
}

.tags-display {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: row;
  gap: var(--default-gap);
  flex-wrap: wrap;
  justify-content: center;
}
.tags-display .tag {
  cursor: pointer;
}

.shelf {
  width: 95vw;
  display: flex;
  flex-direction: column;
  position: relative;
  background-image: url("../gfx/shelf-part1.png");
  background-repeat: repeat-y;
  background-size: 100% 577px;
  padding: 50px;
  padding-top: 48px;
  padding-bottom: 15px;
  min-height: 608px;
}
.shelf:after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("../gfx/shelf-part2.png");
  background-repeat: repeat-y;
  background-size: 100% 577px;
}

.shelf-content {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 76px 0;
  justify-content: left;
  flex-wrap: wrap;
  padding: 1rem;
  padding-top: 1.9rem;
  padding-right: 11rem;
}
.shelf-content .shelf-entry {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  font-size: 120%;
  transition-duration: 500ms;
  transition-property: scale, transform;
}
.shelf-content .shelf-entry.shelf-entry-vc {
  width: 180px;
  height: 500px;
  margin-right: -115px;
  background-image: url("../gfx/video-cassette.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.shelf-content .shelf-entry.shelf-entry-vc .shelf-entry-vc-front {
  position: relative;
  width: 60px;
}
.shelf-content .shelf-entry.shelf-entry-vc .shelf-entry-vc-front .shelf-entry-title {
  position: absolute;
  top: 90px;
  left: 8px;
  width: 47px;
  height: 305px;
  line-height: 24px;
  writing-mode: sideways-lr;
  padding: 0.5rem 0;
  letter-spacing: 0.1rem;
}
.shelf-content .shelf-entry.shelf-entry-vc .shelf-entry-vc-front .shelf-entry-tags {
  position: absolute;
  bottom: 18px;
  left: 7px;
  height: 82px;
  width: 49px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow: hidden;
  padding: 0.2rem 0.2rem;
  font-size: 50%;
}
.shelf-content .shelf-entry.shelf-entry-cd {
  width: 9rem;
}
.shelf-content .shelf-entry:hover {
  transform: translate(0px, -58px) rotate(35deg);
  scale: 1.3;
  z-index: 9999;
}

/*# sourceMappingURL=styles.css.map */
