/* Nav */
* {
  box-sizing: border-box;
  text-decoration: none;
  font-family: sans-serif;
}

.project-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 350px;
  margin: 0 auto;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #2B2D31;
  padding: 10px 14px;
  margin-top: 25px;
  border-radius: 10px;
  max-width: 350px;
  flex: 1 1 300px; /* wächst gleichmäßig */
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: transform 0.15s ease;
  font-size: 13.5px;
}

.project-card:hover {
  transform: scale(1.005);
}

.project-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.project-title {
  font-size: 1.8rem;
  color: white;
  margin: 4px 0 6px;
  text-align: center;
}

.project-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 16px;
}

.text {
   text-align: justify;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    font-size: 14px;
    padding-left: 3%;
    padding-right: 3%;
}

.fa {
  transform: scale(1.3);
  display: inline-block;
}

#nav-profiles {
  display: flex;
  gap: 14px;
  margin-left: auto;
  padding-right: 20px;
  align-items: center;
}

.profile-link {
  color: currentColor;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.profile-link:hover {
  opacity: 1;
}

.fa {
  font-size: 1.2rem !important;
  line-height: 1;
}

nav {
  /*background-color: #282828;*/
  padding: 0 20px;
  display: flex;
  justify-content: end;
  overflow: hidden;
  overflow-x: auto;
  position: relative;
  max-width: 900px;
  margin: auto;
}


.nav-item {
  color: gray;
  font-family: Arial, sans-serif;
  padding: 20px;
  margin: 0 6px;
  position: relative;
}

.nav-item:before {
  content: "";
  position: absolute;
  bottom: -6px;
  background-color: gray;
  height: 5px;
  width: 100%;
  border-radius: 8px 8px 8px 8px;
  left: 0;
  transition: .3s;
}

.nav-item:not(.is-active):hover:before {
  bottom: 0;
}
.nav-item:not(.is-active):hover {
  color: #dfe2ea;
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  transition: .4s;
  border-radius: 8px 8px 8px 8px;
  background-color: white;
}

body {
    /*background-color: #121212;*/
    background-color: #1D1E22;
    color: white;
    font-family:Arial, Helvetica, sans-serif;
    margin: 0px;
}

.link {
  color: white;
  text-decoration: underline;
}

.link:hover {
  color: #847661;
  text-decoration: underline;
}

.center {
  text-align: center;
}

.hl {
    font-size: 200%;
    font-style:normal;
    font-weight: bold;
}

.de {
    font-size: 120%;
    font-style: normal;
    font-weight: normal;
}

.bu {
    background-color: #282828;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 10px;
}

.bu:active {
    background-color: #202020;   
}

#disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.disclaimer-box {
  background-color: #1D1E22;
  color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
}

#accept-btn {
  margin-top: 20px;
  padding: 10px 28px;
  background-color: #3b342f;
  color: #d8cfc4;
  border: 1.5px solid #6b6155;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  box-shadow:
    inset 0 0 6px #5c5349,
    0 2px 4px rgba(0,0,0,0.6);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  outline: none;
}

#accept-btn:hover {
  background-color: #534938;
  border-color: #847661;
  box-shadow:
    inset 0 0 8px #6f6456,
    0 4px 8px rgba(0,0,0,0.7);
  color: #f0e9dd;
}

#accept-btn:active {
  background-color: #2f2a26;
  border-color: #4a453f;
  box-shadow:
    inset 0 0 4px #3e3834;
}

#accept-btn:focus-visible {
  outline: 2px solid #bfb197;
  outline-offset: 2px;
}

#reset-btn {
  margin-top: 20px;
  padding: 10px 28px;
  background-color: #5c2e2e;
  color: #f0e9dd;
  border: 1.5px solid #7a4545;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  box-shadow:
    inset 0 0 6px #4a2323,
    0 2px 4px rgba(0,0,0,0.6);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  outline: none;
}

#reset-btn:hover {
  background-color: #7a3d3d;
  border-color: #a36262;
  box-shadow:
    inset 0 0 8px #653535,
    0 4px 8px rgba(0,0,0,0.7);
  color: #fff3ea;
}

#reset-btn:active {
  background-color: #3a1c1c;
  border-color: #5a2f2f;
  box-shadow:
    inset 0 0 4px #2f1818;
}

#reset-btn:focus-visible {
  outline: 2px solid #e6b5a3;
  outline-offset: 2px;
}

#picture {
  border-radius: 20px;
  text-align: center;
  display: block;
  margin: auto;
  width: 60%;
  height: 60%;
  box-shadow:
    inset 0 0 8px #6f6456,
    0 4px 8px rgba(0,0,0,0.7);
}

#post {
  border-radius: 20px;
  background-color: #1e1e1e;
  color: white;
  padding: 0 20px;
  max-width: 900px;
  margin: auto;
  margin-top: 20px;
  display: flex;
  overflow: hidden;
  overflow-x: auto;
  position: relative;
}

#limit-width {
  max-width: 700px;
  margin: auto;
  margin-top: 20px;
}

.profile-image {
  margin-top: 25px;
  width: 50%;
  border-radius: 8px;
  margin-bottom: -3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
