@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

body {
  background-color: #000;
  color: aquamarine;
  font-family: "VT323", monospace;
  display: flex;
  justify-content: center;
  padding: 12px 0 0 0;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

.title {
  padding: 14px;
  border: 6px solid aquamarine;
}

@-webkit-keyframes flicker1 {
  0% {
    opacity: 0;
  }
  9% {
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  13% {
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  25% {
    opacity: 1;
  }
}

.maintitle {
  margin: 30px;
  border: 6px solid aquamarine;
  -webkit-animation: flicker1 2s infinite;
}

.subtitle {
  animation: pulsate 2s ease-out infinite;
  font-size: 30px;
}

@media screen and (max-width: 390px) {
  .maintitle {
    font-size: 60px;
    margin: 15px;
  }
  .subtitle {
    font-size: 25px;
    animation: pulsate 2s ease-out infinite;
  }
}

@media screen and (max-width: 390px) {
  .container {
    flex-direction: column;
  }
}

@keyframes pulsate {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateX(0px);
  }
  33% {
    transform: translateX(61px);
  }
  66% {
    transform: translateX(-61px);
  }
  99% {
    transform: translateX(0px);
  }
}

.contact {
  display: flex;
  animation: pulsate 2s ease-out infinite;
  font-size: 45px;
  color: #f7ca18;
  margin-top: 0px;
  margin-bottom: 0px;
  animation: float 5s ease-in-out infinite;
}

ul {
  list-style: none;
  display: flex;
  padding: 0px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact a {
  padding: 10px;
  margin: 10px;
  border: 3px solid #f7ca18;
  color: #f7ca18;
}

h3.category {
  margin-bottom: 0%;
  color: darkcyan;
  margin-top: 10px;
}

a {
  color: #f7ca18;
}

a:visited {
  color: purple;
}

span {
  color: #296186;
}

span.impressum-btn {
  color: #c42626;
}

ul.services {
  color: rgb(190, 103, 88);
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

div.logo {
  font-size: 60px;
  color: #0a0a0a27;
  animation: colorchange 1s infinite;
}

@keyframes colorchange {
  100% {
    color: rgb(20, 20, 20);
  }
}

#impressum-link {
  position: relative;
  color: aquamarine;
  text-decoration: none;
}

#impressum-link:hover {
  color: #c42626;
  text-decoration: underline;
}

span.impressum-link {
  margin-bottom: 20px;
}

#timeseekers-link {
  position: relative;
  color: #f7ca18;
  text-decoration: none;
  display: inline-block;
}

#timeseekers-link span {
  display: inline-block;
  color: #f7ca18;
}

#timeseekers-link span:nth-child(odd) {
  color: #808080; /* Grey */
}

#timeseekers-link span:nth-child(even) {
  color: #fff;
}

#timeseekers-link:hover span {
  color: #fa1d00;
}

/* Instagram link colors */
ul li:nth-child(1) a {
  color: #8a2be2; /* VBG link - Blue Violet */
}

ul li:nth-child(2) a {
  color: #f7ca18; /* Timeseekers link - Yellow (keeping existing) */
}

ul li:nth-child(3) a {
  color: #00ff7f; /* Recap link - Spring Green */
}

/* Common hover effect for all links */
ul li a:hover {
  color: #fa1d00;
  text-decoration: none;
}

button.impressum-btn {
  background-color: #c42626;
  border: 1px solid #c42626;
  font-family: "VT323", monospace;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.impressum-btn:before {
  content: "Leave the hidden room...";
}

.impressum-btn:hover::before {
  content: "and never look back!";
  color: #ffffff;
}

span.pentagram-img {
  font-size: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #c42626;
  margin-bottom: 60px;
}

p.pentagram-text {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

p.impressum-txt {
  font-size: 20px;
  margin-bottom: 50px;
}

/* Mobile font scaling */
@media (max-width: 768px) {
  body {
    font-size: clamp(12px, 4vw, 16px);
  }
}

