:root {
  --primary-color: rgb(141, 141, 212);
  --secondary-color: rgb(120, 120, 190);
  --third-color: rgb(255, 255, 255);
  --alt-color: rgb(241, 241, 255);
  --text-color: rgb(0, 0, 0);
  --background-clr: linear-gradient(135deg, 
    rgb(192, 192, 240) 0%, 
    rgba(85, 85, 139, 0.8) 50%, 
    rgb(39, 39, 71) 100%);
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background: var(--background-clr);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden; /* wichtig: horizontales Scrollen verhindern */
}

.ct-header {
  height: 150px;
  margin: 40px auto;
  max-width: 1000px;
  transition: all .55s ease;
}

.profile-pic-area {
  height: 80%;
  display: flex;
  justify-content: center;
}

.profile-pic-area img {
  height: 100%;
  border-radius: 100%;
}

.social-area {
  position: relative;
  background-color: var(--primary-color);
  height: 80px;
  margin: 40px auto;
  max-width: 1000px;
  transition: all .55s ease;
  display: flex;
  align-items: center;
  justify-content: center; /* zentriert den Text */
  text-decoration: none;
  border-radius: 1rem;
}

.social-area i {
  position: absolute;
  left: 16px; /* Abstand von links */
  font-size: 64px;
  color: white;
  top: 50%;
  transform: translateY(-50%);
}

.social {
  color: white;  
  text-decoration: none;
}

.social-area p {
  font-size: 24px;
  color: white;
  margin: 0;
}

h1 {
  text-align: center;
}

.ct-footer {
  text-align: center;
}

.ct-footer a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
}

.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 11. Dark Mode */
body.dark-mode {
  background: linear-gradient(152deg, #2b2b3a, #3b3b5a, #5b5b7a);
  color: #eee;
}

body.dark-mode .social-area {
  background-color: #444476;
}

body.dark-mode .social-area i,
body.dark-mode .social-area p {
  color: #ddd;
}

body.dark-mode .ct-footer a {
  color: #bbb;
}

/* Tooltip styles */
.tooltip {
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Für Social Text animation */
.social-text p {
  transform: translateX(10px);
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Dark Mode */
body.dark-mode {
  background: #121212;
  color: #eee;
}

body.dark-mode .social-area {
  background-color: #333;
}

body.dark-mode .social-area i,
body.dark-mode .social-text p {
  color: #eee;
}


@media only screen and (max-width: 1100px) {
  .ct-header {
    margin: 40px 100px;
  }

  .social-area {
    margin: 40px 100px;
  }
}

@media only screen and (max-width: 700px) {
  .ct-header {
    margin: 40px 50px;
  }
  
  .social-area {
    margin: 40px 50px;
  }
}

@media only screen and (max-width: 500px) {
  .social-area i {
    font-size: 32px;
  }

  .social-area p {
    font-size: 16px;
    right: 0;
  }
}
