@import "./fonts/montserrat.css";


:root {
  --fullscreen-icon-color: #ffffff;
  --fullscreen-icon-color-hover: #ffffff;
  --fullscreen-icon-color-active: #ffffff;
  --fullscreen-tooltip-color: #ffffff;
}

html {
  height: 100%;
  font-size: 100%;
  padding: 0;
  margin: 0;
}

body {
  padding: 0;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  font-family: Montserrat, sans-serif;
  background: linear-gradient(0deg, #122434 0%, #122434 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.content {
  height: 100vh;
  height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: width 0.5s, height 0.5s;
}

.content.transparent needle-engine {
  box-shadow: none;
}

.overlay-container {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  /* Box Shadow on/off
  backdrop-filter: blur(2px);
  box-shadow: 0px 0px 20px 0px rgba(245, 245, 245, 0.2);
  border: 2px solid rgba(21, 59, 45, 0.185);
  */
}

.overlay-container button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  border: none;
  color: var(--fullscreen-icon-color);
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
  position: relative;
}

.overlay-container button:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay-container button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.btn-fullscreen:hover,
.btn-fullscreen:focus-visible {
  color: var(--fullscreen-icon-color-hover);
}

.btn-fullscreen.is-fullscreen {
  color: var(--fullscreen-icon-color-active);
}

.btn-fullscreen .fullscreen-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.btn-fullscreen .icon-exit {
  display: none;
}

.btn-fullscreen.is-fullscreen .icon-enter {
  display: none;
}

.btn-fullscreen.is-fullscreen .icon-exit {
  display: block;
}

/* Tooltip via CSS-Pseudo-Element. Semantisch repraesentiert durch aria-label am Button. */
.btn-fullscreen::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  color: var(--fullscreen-tooltip-color);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.btn-fullscreen[hidden] {
  display: none !important;
}

.btn-fullscreen:hover::after,
.btn-fullscreen:focus-visible::after {
  opacity: 1;
}

@media screen and (max-width: 768px),
  screen and (max-height: 1000px) {
  .overlay-container {
    left: 14px;
    bottom: 14px;
  }

  .overlay-container button {
    width: 40px;
    height: 40px;
  }
}
