/* Gemeinsame Styles für die Website */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Cascadia Code', monospace;
  background-color: #ffffff;
  color: #000000;
  min-height: 100vh;
  padding: 60px 20px;
}

/* Hamburger-Icon oben links */
.menu-icon {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
  line-height: 1;
}

/* Ausklappbares Menü Overlay */
.overlay-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 260px;
  height: 100%;
  background-color: #ffffff;
  border-right: 2px solid #000000;
  transition: left 0.3s ease;
  z-index: 999;
  padding-top: 80px;
}
.overlay-menu.open { left: 0; }

.menu-items { display: flex; flex-direction: column; }
.menu-items a {
  padding: 16px 30px;
  color: #000000;
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}
.menu-items a:hover { background-color: #000000; color: #ffffff; }

.profile-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
  display: inline-block;
}

.card, main { max-width: 720px; margin: 0 auto; text-align: center; }

h1 { font-size: 2.2rem; font-weight: bold; margin-bottom: 8px; color: #000000; }
.subtitle { font-size: 1.1rem; color: #000000; font-weight: normal; margin-bottom: 32px; text-transform: uppercase; letter-spacing: 0.05em; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: inline-block; color: #000000; text-decoration: none; font-size: 1.05rem; padding: 12px 20px; background-color: #ffffff; border-radius: 0px; border: 1px solid #000000; transition: all 0.2s ease; }
.contact-item:hover { background-color: #000000; color: #ffffff; }

.project { border: 1px solid #eee; padding: 12px; margin-bottom: 12px; text-align: left; }

form { display: flex; flex-direction: column; gap: 8px; max-width: 480px; margin: 0 auto; }
input, textarea { padding: 8px; border: 1px solid #ccc; font-family: inherit; }
button { padding: 10px 14px; border: none; background: #000; color: #fff; cursor: pointer; }

@media (max-width: 600px) {
  body { padding: 40px 12px; }
  .menu-items a { font-size: 1rem; padding: 12px 20px; }
  .profile-img { width: 120px; height: 120px; }
  h1 { font-size: 1.8rem; }
}
a {
  color: #000000;
  text-decoration: none;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item:hover a {
  color: #ffffff;
}