/* Importing Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;1,500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  /* Light Theme Colors */
  --color-text-primary: #1F2936;
  --color-text-placeholder: #798eae;
  --color-bg-primary: #f9fafb;
  --color-bg-secondary: #ececfd;
  --color-bg-sidebar: #ffffff;
  --color-border-hr: #e2e8f0;
  --color-hover-primary: #695cfe;
  --color-hover-secondary: #e2e2fb;
  --color-shadow: rgba(0,0,0,0.05);
}

body.dark-theme {
  /* Dark theme colors */
  --color-text-primary: #f1f5f9;
  --color-text-placeholder: #a6b7d2;
  --color-bg-primary: #1e2a47;
  --color-bg-secondary: #3d4859;
  --color-bg-sidebar: #1f2937;
  --color-border-hr: #3b475c;
  --color-hover-secondary: #48566a;
  --color-shadow: rgba(0,0,0,0.3);
}

/* Infos */
.infos {
  border: 2px solid var(--color-border-hr);
  border-top: none;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.special {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.special h2 {
  font-size: 1.2rem;
}
.special h3 strong {
  color: #fac832;
}
.special h3 {
  font-size: 1rem;
  font-weight: 500;
}
.special img {
  max-width: 80%;
  margin: .6rem 0;
  border-radius: 10px;
}

.liste {
  display: flex;
}

.liste img {
    max-height: 320px;
    width: auto;
    padding: 30px;
    border-radius: 48px;
}

.info-box {
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  gap: 10px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: auto 8px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-link {
  background-color: lightgray;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1f2936;
  font-weight: 600;
  font-size: .8rem;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: inset 0 0 0 0 #1e2a47;
  height: 40px;
}

.info-link:hover,
.info-link:focus {
  background-color: #1e2a47;
  color: white;
  box-shadow: inset 0 0 10px 5px rgba(105, 92, 254, 0.3);
  outline: none;
}

.info-icon {
  font-size: 1.8rem;
  color: #348fcf;
  transition: color 0.3s ease;
}

.info-link:hover .info-icon,
.info-link:focus .info-icon {
  color: white;
}

.info-label {
  hyphens: auto;
  white-space: normal;        /* Erlaubt Umbrüche */
  word-break: break-word;     /* Bricht lange Wörter an beliebiger Stelle um */
  /* optional: max-width setzen, damit es bei zu viel Breite umbricht */
}


.angemeldete {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === POKÉSTOP === */
.pokestop {
  position: relative;
  width: 90px;
  height: 90px;
  perspective: 800px;
  cursor: pointer;
  transform: rotateX(10deg);
  transition: filter 0.4s ease, transform 0.1s ease;
}

.base {
  position: absolute;
  inset: 0;
  background: url("images/base.png") center/contain no-repeat;
  z-index: 1;
}

.particles1,
.particles2,
.particles3 {
  position: absolute;
  inset: 0;
  background: url("images/particles.png") center/contain no-repeat;
  transform-origin: center center;
  animation: spinParticles 20s linear infinite;
  opacity: 0.75;
  z-index: 2;
  transition: animation-duration 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.particles2 { animation-duration: 16s; opacity: 0.8; z-index: 3; }
.particles3 { animation-duration: 13s; opacity: 0.85; z-index: 4; }

.ring-outer {
  position: absolute;
  inset: 0;
  background: url("images/ring_outer.png") center/contain no-repeat;
  transform-origin: center center;
  animation: spinOuter 10s linear infinite;
  z-index: 5;
  transition: animation-duration 0.3s ease;
}

.ring-middle {
  position: absolute;
  inset: 0;
  background: url("images/ring_middle.png") center/contain no-repeat;
  transform-origin: center center;
  animation: spinMiddle 8s linear infinite;
  z-index: 6;
  transition: animation-duration 0.3s ease;
}

.ring-inner {
  position: absolute;
  inset: 0;
  background: url("images/ring_inner.png") center/contain no-repeat;
  transform-origin: center center;
  animation: spinOuter 6.5s linear infinite;
  z-index: 7;
  transition: animation-duration 0.3s ease;
}

/* === Hover: alle Effekte beschleunigen === */
.pokestop:hover .ring-outer  { animation-duration: 2s; }
.pokestop:hover .ring-middle { animation-duration: 1.6s; }
.pokestop:hover .ring-inner  { animation-duration: 1.3s; }

.pokestop:hover .particles1  { animation-duration: 5s; }
.pokestop:hover .particles2  { animation-duration: 4s; }
.pokestop:hover .particles3  { animation-duration: 3.3s; }

.pokestop:hover .particles1,
.pokestop:hover .particles2,
.pokestop:hover .particles3 {
  opacity: 1;
  filter: brightness(1.2) drop-shadow(0 0 3px rgba(150,200,255,0.6));
}

.pokestop:hover {
  filter:
    drop-shadow(0 0 4px rgba(100,200,255,0.4))
    drop-shadow(0 0 10px rgba(200,200,255,0.2));
}

/* === Animationen === */
@keyframes spinOuter {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

@keyframes spinMiddle {
  from { transform: rotateY(360deg); }
  to   { transform: rotateY(0deg); }
}

@keyframes spinParticles {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

  @media (max-width: 1025px) {
    .angemeldete {
      display: none;
    }
  }


.formular {
    max-width: 700px;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: var(--color-text-primary);
    background: var(--color-bg-secondary);
    border-radius: 8px;

    padding: 20px;
}

.formular .title {
  color: #348fcf;
}

.formular form .user-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 16px 0 12px 0;
    max-height: 400px;
    overflow-y: scroll;
}

form .user-details .input-box {
    margin-bottom: 15px;
    width: calc(100% / 2 - 20px);
}

.user-details .input-box input {
    height: 45px;
    width: 100%;
    outline: none;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding-left: 14px;
    font-size: 15px;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}
.user-details .input-box.wunsch input {
    height: 100px;
}
.user-details .input-box .details {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-details .input-box input:required {
    border-color: var(--color-hover-primary);
}

form .gender-details .gender-title {
    font-size: 16px;
    font-weight: 600;
}

form .gender-details .category {
    display: flex;
    margin: .7rem 0;
    gap: 40px;
}

form .agreement-details .agreement-category {
  margin-top: .7rem;
}

.gender-details .category label,
.agreement-details .agreement-category label {
    display: flex;
    align-items: center;
}

.gender-details .category .dot,
.agreement-details .agreement-category .dot,
form .agreement-details .agreement-category input {
    background: #d9d9d9;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-right: 10px;
    border: 5px solid transparent;
    transition: all 0.3s ease;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two {
    border-color: #d9d9d9;
    background: #9b59b6;
}
form input[type="radio"] {
    display: none;
}

form .button {
  display: flex;
  align-items: center;
  justify-content: center;
    height: 45px;
    margin: 45px auto;
}

form .button input {
    height: 100%;
    width: 80%;
    outline: none;
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
  background-color: #ffca28;
      box-shadow: 0 6px 15px rgba(255, 202, 40, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}
form .button input:hover {
  background-color: #e6b820;
  box-shadow: 0 8px 20px rgba(230, 184, 32, 0.9);
  outline: none;
}



/* Mobile */
@media (max-width: 1900px) {
  .liste img {
    display: none;
  }
}

@media (max-width: 820px) {
    .infos {
    flex: none;
    width: 100%;
  }

  .info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten gleich groß */
  }
}

@media (max-width: 1024px) {
    .formular {
        max-width: 100%;
    }

    form .user-details .input-box {
        margin-bottom: 15px;
        width: 100%;
    }

    form .gender-details .category {
        width: 100%;
    }

    .formular form .user-details {
        max-height: 400px;
        overflow-y: scroll;
    }

    .user-details::-webkit-scrollbar {
        width: 0;
    }
}
