@import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css");

html,
body {
  width: 100%;
  height: 100%;
  font-size: 12px;
  color: #28282f;
  margin: 0em;
}

body {
  margin: 0em;
  padding: 0em;
  overflow: hidden;
  font-family: "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial,
    "Lucida Grande", sans-serif;
  background-color: #121212;
  /* cursor: url("http://www.rw-designer.com/cursor-view/97756.png") 16 16, auto; */
}

p,
img,
div,
canvas {
  vertical-align: top;
}

::-moz-selection {
  /* Firefox */
  background: #34495e;
  background-color: #34495e;
  color: #fff;
}

::selection {
  /* Chrome, Safari, Opera */
  background: #34495e;
  background-color: #34495e;
  color: #fff;
}

.hide {
  display: none;
}

#menu {
  width: 40em;
  position: absolute;
  /* top: 50%;
  left: 50%; */
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.2em;
  border-radius: 0.9em;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

#menu .title {
  padding: 1em;
  /* background-color: rgba(52, 58, 125, 0.3); */
  color: rgba(255, 255, 255, 0.9);
  border-radius: 0.9em;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.9s ease-in,
    shadow-pulse 10s infinite;
}

@keyframes shadow-pulse {
  0% {
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.1);
  }

  66% {
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.2);
  }

  70% {
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
  }

  76% {
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.7);
  }

  85% {
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.4);
  }

  88% {
    text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.5);
  }

  90% {
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.3);
  }

  100% {
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.2);
  }
}

#menu .title:hover {
  transform: rotateX(0deg);
  /* reset the transformation on hover */
}

.title-info {
  background-color: rgba(35, 37, 88, 0.8);
  color: white;
  padding: 1em;
  border-radius: 0.9em;
  width: 80%;
  text-align: center;
  margin: 0 auto;
}

#menu #content_container {
  padding: 1em;
  border-bottom-left-radius: 0.9em;
  border-bottom-right-radius: 0.9em;

  /* -webkit-box-shadow: 0em 0.25em 0.75em rgba(124, 124, 124, 0.5);
  -moz-box-shadow: 0em 0.25em 0.75em rgba(124, 124, 124, 0.5);
  box-shadow: 0em 0.25em 0.75em rgba(124, 124, 124, 0.5); */
}

#menu #img_container {
  position: relative;
  height: 10em;
  overflow: hidden;
  border-top-left-radius: 0.9em;
  border-top-right-radius: 0.9em;
}

#menu #img_container img {
  flex-shrink: 0;
  width: 105%;
}

@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#men {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.90);
  overflow: hidden;
}

#menu {
  /* width: 60em; */
  width: 60%;
  /* neu */
  height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.2em;
  border-radius: 0.9em;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

#menu .title h1 {
  margin: 0;
  font-size: 2.5em;
}

#menu #content {
  padding: 1em;
}

#menu #content p {
  font-size: 1.1em;
  line-height: 1.6em;
  margin: 0.5em 0;
}

.toggle {
  /* background-color: rgba(0, 191, 255, 0.9); */
  color: rgba(255, 255, 255, 0.9);
  padding: 0.1em 1.5em;
  font-size: 2em;
  font-weight: bold;
  width: 8em;
  height: 4em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  text-shadow: black 1px 0 10px;
  align-content: center;
  cursor: pointer;
  border-radius: 0.9em;
}

.toggle span {
  color: white;
  display: block;
  margin-top: 10px;
  transition: 0.3s;
  text-decoration: none;
}

.toggle_menu {
  /* background: rgb(130, 191, 255); */
  width: 20%;
  height: 12%;
  /* border-radius: 0.9em; */
  border-radius: 50%;
  transform: scale(0);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: -2;
  transition: 0.7s;
  box-shadow: 0px 0px 10px -3px rgba(255, 255, 255, 0.2);
}

.toggle_menu div {
  display: flex;
  display: inline-block;
  position: absolute;
  font-size: 1.4em;
  color: #222;
  transition: 0.4s;
  text-decoration: none;
  background: rgb(0, 191, 255);
}

.toggle_menu div:nth-child(1) {
  top: 23px;
  left: 45px;
}

.toggle_menu div:nth-child(2) {
  top: 98px;
  left: 155px;
}

.toggle_menu div:nth-child(3) {
  top: 48px;
  left: 175px;
}

.toggle_menu div:nth-child(4) {
  top: 95px;
  left: 70px;
}

.toggle_menu div:nth-child(5) {
  top: 50px;
  left: 15px;
}

.toggle_menu div:nth-child(6) {
  top: 4px;
  left: 79px;
}

.toggle_menu div:nth-child(7) {
  top: 74px;
  left: 55px;
}

.toggle_menu div:nth-child(8) {
  top: 32px;
  left: 115px;
}

.toggle_menu div:nth-child(9) {
  top: 78px;
  left: 145px;
}

.toggle_menu div:nth-child(10) {
  top: 12px;
  left: 155px;
}

#menu #play_bleierndeTiefe {
  display: inline-block;
  background-color: rgb(56, 56, 56, 0.99);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_bleierndeTiefe:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_graueWand {
  display: inline-block;
  background-color: rgba(143, 191, 207, 0.99);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_graueWand:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_flackerndeFlamme {
  display: inline-block;
  background-color: rgba(132, 16, 132, 0.99);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_flackerndeFlamme:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_wuetendeGlut {
  display: inline-block;
  /* background-color: rgb(56, 56, 56); */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_wuetendeGlut:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_grenzen {
  display: inline-block;
  /* background-color: rgb(56, 56, 56); */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_grenzen:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_offenerRaum {
  display: inline-block;
  /* background-color: rgb(56, 56, 56); */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_offenerRaum:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_klareWeite {
  display: inline-block;
  /* background-color: rgb(56, 56, 56); */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_klareWeite:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_erbluehendesHerz {
  display: inline-block;
  /* background-color: rgb(56, 56, 56); */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_erbluehendesHerz:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_strahlendeFunken {
  display: inline-block;
  /* background-color: rgb(56, 56, 56); */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_strahlendeFunken:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

#menu #play_stilleKroenung {
  display: inline-block;
  background-color: rgba(240, 233, 207, 0.99);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: black 1px 0 10px;
  border-radius: 0.9em;
  padding: 0.1em 1.5em;
  font-weight: bold;
  font-size: 0.3em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s;
  animation: fadeIn 1.5s ease-in;
}

#menu #play_stilleKroenung:hover {
  /* background-color: rgba(52, 58, 125, 0.45); */
  cursor: pointer;
  transform: scale(1.035);
}

canvas {
  width: 100%;
  height: 100%;
}

@keyframes fadeIn {
  0% {
    opacity: 0.05;
  }

  100% {
    opacity: 1;
  }
}

.title {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
}

#starry_night_bg {
  position: fixed;
  top: 50%;
  left: 15%;
  width: 60%;
  height: 40%;
  /* background-image: url(../src/public/img/menu_lion.jpg); */
  opacity: 18%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: panBg 30s linear alternate infinite;
  background-attachment: fixed;
}

#starry_night_bg:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

@keyframes panBg {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 0%;
  }
}

#painting-info {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  font-family: "Arial", sans-serif;
  color: #fff;
  width: 300px;
  height: 150px;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  transform: translateY(100px);
  opacity: 0;
}

#painting-info.show {
  transform: translateY(0);
  opacity: 1;
}

#painting-info h3 {
  margin: 0 0 10px 0;
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
}

#painting-info p {
  margin: 0;
  font-size: 1.2em;
}

#info-panel {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 200px;
  background-color: rgba(35, 35, 190, 0.8);
  border-radius: 10px;
  padding: 10px;
  color: white;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: all 0.5s ease;
}

#info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

#info-header h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}

#info-header button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
  color: #2323be;
}

#info-content {
  font-size: 1em;
  line-height: 1.5em;
}

#info-content p {
  margin: 5px 0;
}

#info-panel.collapsed #info-content {
  max-height: 0;
  overflow: hidden;
}

#about-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 50px;
  box-sizing: border-box;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

#about-overlay.show {
  transform: translateY(0);
}

#about-overlay h1 {
  margin-top: 0;
}

#close-about {
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

#about_button {
  display: inline-block;
  background-color: rgba(52, 58, 125, 0.8);
  color: #f2c641;
  border-radius: 30px;
  padding: 0.5em 1.5em;
  font-weight: bold;
  margin: 0 auto;
  transition: all 0.4s;
  border: 2px solid #2323be;
}

#about_button:hover {
  background-color: rgba(52, 58, 125);
  cursor: pointer;
  transform: scale(1.05);
}

#audio_controls {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 2;
}

#audio_controls button {
  display: block;
  background-color: rgba(35, 37, 88, 0.8);
  color: #f2c641;
  border: none;
  border-radius: 10px;
  padding: 5px 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#audio_controls button:hover {
  background-color: rgba(52, 58, 125, 0.8);
}