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

body {
  font-family: "Jersey 10", sans-serif;
  color: white;
  background-color: black;
}

a {
  color: inherit;
  text-decoration: none;
}

#Background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

#Nav {
  width: 100%;
  height: 10vh;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  outline: solid white 1px;
}

#Nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.Navintakes {
  font-weight: 200;
  color: white;
  text-shadow: 2px 2px 4px #000000;
}

.Navintakes button {
  background: none;
  border: none;
  font-family: "Jersey 10", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  color: white;
  cursor: pointer;
  position: relative;
}

.Navintakes button::after {
  content: '';
  display: block;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.Navintakes button:hover::after {
  transform: scaleX(1);
}

#Mainpage {
  margin: 4vh auto 2vh auto;
  width: 90%;
  max-width: 1200px;
  padding: 2rem;
  background: rgba(0,0,0,0.5);
  border-radius: 1.5%;
  outline: solid white 1px;
  position: relative;
}

#TitleDiv {
  text-align: center;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 5rem);
  text-shadow: 2px 2px 4px #000000;
}

#Hamburger{
display: block; 
margin-left: auto; 
margin-right: auto; 
outline: solid black; 
border-radius: 25%; 
min-width: auto;
max-width: 40%;
object-fit: cover;
}

#Tagline {
  text-align: center;
  font-weight: 200;
  font-size: clamp(1rem, 2vw, 2rem);
}

#About {
  margin: clamp(0.5rem, 3vw, 6rem) 0;
  font-size: clamp(1.5rem, 2.5vw, 3.5rem);
}

#Navbar {
  display: flex;            /* Flexbox aktivieren */
  justify-content: center;  /* zentriert die Icons horizontal */
  align-items: center;      /* zentriert die Icons vertikal */
  list-style: none;
  margin: 1rem 0;           /* Abstand nach oben/unten */
  padding: 0;
  flex-wrap: wrap;          /* Icons umbrechen bei kleineren Bildschirmen */
}

.Socials {
  margin: 0.5rem;           /* Abstand zwischen den Icons */
}

.Socials {
  display: inline-block;
  margin-right: 1%;
}

.Socials img {
  display: block;
  max-width: 50px;
  height: auto;
  transition: transform 0.2s ease;
}

.Socials:hover img {
  transform: scale(1.3);
}

#Setup {
  margin: 1rem;
}

#Setup p#About {
  font-size: clamp(1.5rem, 2.5vw, 3.5rem);
  text-shadow: 2px 2px 4px #000000;
  margin: 1rem 0;
}

#PicandStats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

#PCBild, #PCStats {
  flex: 1 1 300px;
}

#PCBild {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10%;
  outline: solid white 1px;
  margin: 0 auto;
}

#PCStats {
  list-style: none;
  padding: 0;
  font-size: clamp(1.5rem, 2vw, 3rem);
  margin: 1rem;
}

#PCStats li {
  margin-bottom: 0.8rem;
  text-shadow: 2px 2px 4px #000000;
}

@media (max-width: 1024px) {
  #Mainpage {
    width: 95%;
    margin: 2vh auto;
  }

  .Navintakes button {
    font-size: 1.5rem;
  }

  #PCStats {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  }
}


@media (max-width: 768px) {   /*Phone Styles*/
  #TitleDiv {
    font-size: clamp(1.5rem, 4vw, 3rem);
  }

  #Tagline {
    font-size: clamp(0.9rem, 2vw, 1.5rem);
  }

  #About {
    font-size: clamp(1rem, 2vw, 2rem);
  }

  #PCBild, #PCStats {
    flex: 1 1 100%;
  }

  #Nav ul {
    flex-direction: column;
    gap: 1rem;
  }
   #Nav {
    height: auto;
    padding: 1rem 0;
  }

  #Nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
  }

  .Navintakes {
    width: 100%;
    text-align: center;
  }

  .Navintakes button {
    width: 100%;
    font-size: 1.4rem;
  }
}

/* ---------- Discord Widget ---------- */
#discord-widget {
    margin: 2rem auto;
    background: rgba(32, 34, 37, 0.95); /* Discord dunkles Theme */
    padding: 1rem 1.5rem;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    font-family: "Jersey 10", sans-serif;
}

#discord-widget-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
}

#discord-presence-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: #ffffff;
}

#status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}


.status-online  { background-color: #23a55a; animation: pulse 2s infinite; }
.status-idle    { background-color: #f0b232; animation: none; }
.status-dnd     { background-color: #f23f43; animation: none; }
.status-offline { background-color: #80848e; animation: none; }


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(35,165,90,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(35,165,90,0); }
    100% { box-shadow: 0 0 0 0 rgba(35,165,90,0); }
}


#presence-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 0 6px rgba(0,0,0,0.6);
    flex-shrink: 0;
}

#presence-text {
    font-weight: 400;
    text-align: left;
    line-height: 1.2;
}

#Badgebox{
   display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#Getmybtn {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertikal */
    text-align: center;
}

#Getmybtn p {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    font-weight: 400;
    text-shadow: 2px 2px 4px #000000;
    margin: 0; /* wichtig, sonst verschiebt <p> */
}