* {
  -webkit-tap-highlight-color: transparent !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-touch-callout: none !important;
  -webkit-user-callout: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-user-modify: read-only !important;
  -webkit-highlight: none !important;
  -webkit-text-size-adjust: none !important;
  user-select: none !important;
  touch-action: none !important;
  pointer-events: none !important;
  color: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: none !important;
}

/* Fix for Safari viewport height calculation */
:root {
  --app-height: 100vh;
  --logo-vertical-offset: 0px;
  --min-dimension: min(100vh, 100vw);
}

/* Safari-specific override */
@supports (-webkit-touch-callout: none) {
  :root {
    --app-height: 100%;
    --min-dimension: min(var(--app-height), 100vw);
  }
}

html {
  height: 100%;
  height: -webkit-fill-available;
}

body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  background-color: rgb(0, 0, 0);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed; /* Change to fixed to prevent bounce */
  top: 0;
  left: 0;
  margin: 0;
  overflow: hidden;
  user-select: none;
  font-family: 'POI Annika', sans-serif;
}

.logo-container {
  background-color: rgba(0, 0, 0, 0);
  position: fixed;
  width: var(--min-dimension);
  height: var(--min-dimension);
  display: flex;
  justify-content: center;
  align-items: center;

}

.logo {
  width: 80%;
  height: auto;
  position: absolute;
  z-index: 3;
}

.blur {
  position: absolute;
  width: 180%;
  height: 180%;
  top: -40%;
  left: -40%;
  z-index: 1;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.85) 30%,
    rgba(255, 255, 255, 0) 75%
  );
}

.impressum-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 15px;
  text-decoration: none;
  font-family: sans-serif;
  z-index: 100;
  pointer-events: auto !important;
  padding: 6px 15px;
  background-color: rgb(20, 20, 20);
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.impressum-link:hover {
  color: rgba(255, 255, 255, 1) !important;
  background-color: rgb(40, 40, 40);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}