body, html {
  margin: 0;
  padding: 0;
  height: auto; /* statt 100% */
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: #111;
  overflow-x: hidden; /* nur horizontal verstecken */
  overflow-y: auto;   /* vertikal scrollen erlauben */
}

#tsparticles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  padding: 20px;
  text-align: center;
  /* top: 40%; → KOMPLETT entfernen */
  /* transform: translateY(-50%); → KOMPLETT entfernen */
}

.about {
  background: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
  border: 1px solid rgba(255, 255, 255, 0.2); /* feiner weißer Rand */
  border-radius: 12px; /* abgerundete Ecken */
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); /* eleganter Schatten */
  backdrop-filter: blur(8px); /* moderner Blur-Effekt */
  color: #fff; /* weiße Schrift */

  /*background-color: rgba(0, 0, 0, 0.8);*/
  /*margin: 50px auto;*/
  /*padding: 20px;*/
  /*max-width: 600px;*/
  /*border-radius: 10px;*/
  /*text-align: left;*/
}
.about h2 {
  color: #00bfff;
}
/*.about p {*/
/*  color: #ccc;*/
/*  line-height: 1.6;*/
/*}*/

.projects {

  background: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
  border: 1px solid rgba(255, 255, 255, 0.2); /* feiner weißer Rand */
  border-radius: 12px; /* abgerundete Ecken */
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); /* eleganter Schatten */
  backdrop-filter: blur(8px); /* moderner Blur-Effekt */
  color: #fff; /* weiße Schrift */

  /*background-color: rgba(0, 0, 0, 0.8);*/
  /*margin: 50px auto;*/
  /*padding: 20px;*/
  /*max-width: 600px;*/
  /*border-radius: 10px;*/

}
.Skills{
  background: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
  border: 1px solid rgba(255, 255, 255, 0.2); /* feiner weißer Rand */
  border-radius: 12px; /* abgerundete Ecken */
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); /* eleganter Schatten */
  backdrop-filter: blur(5px); /* moderner Blur-Effekt */
  color: #fff; /* weiße Schrift */
}

.text-format {
  text-align: left;
}


.projects h2 {
  color: #00bfff;
}
.projects ul {
  list-style-type: none;
  padding: 0;
}
.projects li {
  margin-bottom: 10px;
}
.projects a {
  color: #00bfff;
  text-decoration: none;
}
.projects a:hover {
  text-decoration: underline;
}
.lang-switcher {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.lang-switcher a {
  color: #00bfff;
  margin: 0 5px;
  text-decoration: none;
}
.lang-switcher a:hover {
  text-decoration: underline;
}

html[lang="ar"] .about,
html[lang="ar"] .projects {
  text-align: right;
  direction: rtl;
}
.footer {
  text-align: center;
  color: #555;
  margin-top: 40px;
  padding: 10px;
  font-size: 0.9em;
}
.footer a {
  color: #00bfff;
  text-decoration: none;
  margin-left: 5px;
  margin-right: 5px;
}
.footer a:hover {
  text-decoration: underline;
}
.cookie-notice {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
  z-index: 9999;
}
.cookie-notice button {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: #00bfff;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
.cookie-notice button:hover {
  background-color: #009acd;
}
.social-icons {
  display: inline-block;
  margin-left: 10px;
}

.social-icons a img {
  vertical-align: middle;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
}
.contact {

  background: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
  border: 1px solid rgba(255, 255, 255, 0.2); /* feiner weißer Rand */
  border-radius: 12px; /* abgerundete Ecken */
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); /* eleganter Schatten */
  backdrop-filter: blur(5px); /* moderner Blur-Effekt */
  color: #fff; /* weiße Schrift */

  /*background-color: rgba(0, 0, 0, 0.8);*/
  /*margin: 50px auto;*/
  /*padding: 20px;*/
  /*max-width: 600px;*/
  /*border-radius: 10px;*/
  /*text-align: left;*/
}
.contact h2 {
  color: #00bfff;
}
.contact p {
  color: #ccc;
  line-height: 1.6;
}
.contact a {
  color: #00bfff;
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}
html[lang="ar"] .about,
html[lang="ar"] .projects,
html[lang="ar"] .contact {
  text-align: right;
  direction: rtl;
}

.section {
  background: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
  border: 1px solid rgba(255, 255, 255, 0.2); /* feiner weißer Rand */
  border-radius: 12px; /* abgerundete Ecken */
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); /* eleganter Schatten */
  backdrop-filter: blur(8px); /* moderner Blur-Effekt */
  color: #fff; /* weiße Schrift */
}
