@charset "UTF-8";
body {
  background-color: rgb(41, 41, 41);
  color: #D9D9D9;
  font-family: Inter, sans-serif;
  padding-top: 70px;
}

section, header {
  scroll-margin-top: 70px;
}

#scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #87cc93, #46a758, #2f713c);
  border-radius: 2px;
  transition: width 0.2s;
  z-index: 2000;
}

nav {
  overflow: visible;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgb(41, 41, 41);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: end;
  gap: 2rem;
  padding-left: 5vw;
  padding-right: 5vw;
  padding-block: 2.5vh;
}
nav a {
  cursor: pointer;
  font-size: 1.15rem;
  text-decoration: none;
  color: #D9D9D9;
}
nav a.active, nav a.selected {
  font-weight: 600;
  color: #46a758;
}
nav a:hover {
  color: #46a758;
}

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

h1 {
  letter-spacing: 1rem;
  font-size: 3rem;
  font-weight: 600;
  color: #46a758;
}

h3 {
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.25rem;
}

header {
  display: flex;
  flex-direction: column;
  margin-inline: 10vw;
  min-height: 80vh;
  gap: 5vh;
}
header div {
  display: flex;
  flex-direction: column;
}

.left {
  gap: 3rem;
}

.flip-container {
  perspective: 1000px; /* sorgt für den 3D-Effekt */
  width: 20rem;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
}

.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.flip-container:hover .flip-card {
  transform: rotateX(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px; /* optional für weiche Kanten */
  overflow: hidden;
}

.flip-front img, .flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rückseite */
.flip-back {
  transform: rotateX(180deg);
}

.image {
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}
.image a {
  color: #D9D9D9;
  text-decoration: none;
}
.image i {
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  aspect-ratio: 1/1;
  border-radius: 0.8rem;
  transition: all 0.2s ease;
}
.image i.fa-youtube, .image i.fa-instagram, .image i.fa-github, .image i.fa-envelope {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.5s;
  z-index: 1;
}
.image i.fa-youtube:hover, .image i.fa-instagram:hover, .image i.fa-github:hover, .image i.fa-envelope:hover {
  transform: scale(1.08);
}
.image i.fa-youtube:hover::before, .image i.fa-instagram:hover::before, .image i.fa-github:hover::before, .image i.fa-envelope:hover::before {
  opacity: 1;
}
.image i.fa-youtube {
  background-color: #FF7575;
}
.image i.fa-youtube:hover {
  background: linear-gradient(45deg, #ff7575, #ff9a75, #ff7575);
  box-shadow: 0 0 18px 4px rgba(255, 117, 117, 0.7);
  transform: scale(1.08);
}
.image i.fa-instagram {
  background-color: #FC75FF;
}
.image i.fa-instagram:hover {
  background: linear-gradient(45deg, #fc75ff, #ff75d4, #fc75ff);
  box-shadow: 0 0 18px 4px rgba(252, 117, 255, 0.7);
  transform: scale(1.08);
}
.image i.fa-github {
  background-color: #B275FF;
}
.image i.fa-github:hover {
  background: linear-gradient(45deg, #b275ff, #8f75ff, #b275ff);
  box-shadow: 0 0 18px 4px rgba(178, 117, 255, 0.7);
  transform: scale(1.08);
}
.image i.fa-envelope {
  background-color: #7583FF;
}
.image i.fa-envelope:hover {
  background: linear-gradient(45deg, #7583ff, #75a0ff, #7583ff);
  box-shadow: 0 0 18px 4px rgba(117, 131, 255, 0.7);
  transform: scale(1.08);
}
@keyframes youtubeGlow {
  0% {
    box-shadow: 0 0 15px 5px rgba(255, 117, 117, 0.6);
  }
  50% {
    box-shadow: 0 0 25px 10px rgba(255, 117, 117, 0.8);
  }
  100% {
    box-shadow: 0 0 15px 5px rgba(255, 117, 117, 0.6);
  }
}
@keyframes instaGlow {
  0% {
    box-shadow: 0 0 15px 5px rgba(252, 117, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 25px 10px rgba(252, 117, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 15px 5px rgba(252, 117, 255, 0.6);
  }
}
@keyframes gitGlow {
  0% {
    box-shadow: 0 0 15px 5px rgba(178, 117, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 25px 10px rgba(178, 117, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 15px 5px rgba(178, 117, 255, 0.6);
  }
}
@keyframes mailGlow {
  0% {
    box-shadow: 0 0 15px 5px rgba(117, 131, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 25px 10px rgba(117, 131, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 15px 5px rgba(117, 131, 255, 0.6);
  }
}
.image div {
  gap: 1rem;
}

section {
  min-height: 90vh;
  margin-block: 5vh 10vh;
}
section h2 {
  width: 100%;
  color: #D9D9D9;
  background-color: #333333;
  letter-spacing: 0.25rem;
  font-size: 3rem;
  text-align: center;
  padding-block: 0.5rem;
  font-weight: 600;
}
section .nav {
  margin-block: 5vh;
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-inline: 0.5rem;
  font-size: 1.5rem;
}
section .nav div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  width: 20rem;
  flex-direction: row;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #D9D9D9;
  border-radius: 0.5rem;
  color: #111111;
  transition: 0.2s ease all;
  font-size: 1.25rem;
}
section .nav div i {
  font-size: 1rem;
}
section .nav div.active, section .nav div.selected {
  background-color: #46a758;
}
section .nav div:hover {
  background-color: #63bd73;
}

#projects .header1 {
  margin-top: 5vh;
}

.header1 {
  width: 60%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3vh;
  font-size: 1.5rem;
  border-bottom: 1px solid #404040;
  padding-bottom: 0.5rem;
}

#projects > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#projects button {
  padding: 0.5rem 1rem;
  margin-bottom: 5vh;
  cursor: pointer;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #46a758;
  transition: 0.2s ease all;
  background-color: #333333;
  border: 1px solid #404040;
}
#projects button:hover {
  background-color: #63bd73;
  color: #111111;
}

.content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  margin-inline: 10vw;
}

.project {
  background-color: #333333;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  cursor: pointer;
}
.project:hover {
  box-shadow: 0 4px 24px 0 var(--project-shadow, rgba(0, 0, 0, 0.18));
  transform: scale(1.02);
}
.project .description {
  font-size: 0.9rem;
  color: #A6A6A6;
}
.project div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.project img {
  width: 100%;
  height: 80%;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  border: 1px solid rgb(41, 41, 41);
  object-fit: cover;
  object-position: top;
}
.project p {
  font-size: 1.15rem;
}
.project a {
  text-decoration: none;
  color: #46a758;
  transition: 0.2s ease all;
  background-color: #404040;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
.project a:hover {
  text-decoration: underline;
}

.stars::after {
  content: attr(data-tooltip);
  margin-top: 0.25rem;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(41, 41, 41);
  color: #D9D9D9;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  text-align: center;
  white-space: pre-line;
}

.stars:hover::after {
  opacity: 1;
}

.skill .stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  z-index: 2;
  min-height: 1rem;
  background-color: #404040;
  padding: 0.25rem 0.5rem;
  width: fit-content;
  border-radius: 0.5rem;
  cursor: pointer;
  position: relative;
}
.skill .stars .star {
  font-size: 1.15rem;
  color: #46a758;
}
.skill .stars .star.empty {
  color: lightgray;
}
.skill .stars .star.half {
  background: linear-gradient(90deg, #46a758 50%, lightgray 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills {
  display: grid;
  gap: 0.5rem;
  margin-inline: 10vw;
  margin-block: 2.5vh 5vh;
  grid-template-columns: repeat(6, 1fr);
}

.skill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #333333;
  border-radius: 0.5rem;
  padding: 1rem 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.skill p {
  font-size: 1.25rem;
}
.skill div.skill-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 90%;
  height: 100%;
}
.skill div {
  display: flex;
  align-items: center;
  width: 60%;
}
.skill img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

@keyframes popBack {
  0% {
    transform: scale(0.8) rotateY(180deg);
  }
  60% {
    transform: scale(1.08) rotateY(180deg);
  }
  100% {
    transform: scale(1) rotateY(180deg);
  }
}
.bottom {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 5vw;
}

.right {
  background: #333333;
  border-radius: 1.2rem;
  padding: 1rem 1.5em;
  margin: 0 auto;
  color: #D9D9D9;
  font-size: 1.08rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.right p {
  margin-bottom: 1.2em;
}

.right strong {
  color: #46a758;
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  margin-inline: 10vw;
}
.gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}
.gallery img:hover {
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  .image {
    flex-direction: column;
    gap: 1rem;
  }
  .image .flip-container {
    width: 25vw;
  }
  .image div {
    flex-direction: row;
  }
  .image div i {
    font-size: 2vw;
    width: 4vw;
    border-radius: 1vw;
  }
  h1 {
    letter-spacing: 0.5rem;
  }
  .bottom {
    flex-direction: row;
    align-items: start;
    gap: 5vh;
  }
  .header1 {
    width: 95%;
  }
  .content {
    width: 95%;
    grid-template-columns: 1fr 1fr;
    margin-inline: auto;
    gap: 1rem;
  }
  .skills {
    width: 95%;
    margin-inline: auto;
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery {
    width: 95%;
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .bottom {
    flex-direction: column;
  }
  .image {
    flex-direction: row;
    gap: 2rem;
  }
  .image .flip-container {
    width: 60vw;
  }
  .image div {
    flex-direction: column;
    gap: 1rem;
  }
  .image div i {
    font-size: 4vw;
    width: 8vw;
    border-radius: 2vw;
  }
}
@media (max-width: 800px) {
  .skills {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 650px) {
  #projects .header1 {
    margin-top: 2vh;
  }
  .content {
    width: 95%;
    margin-inline: auto;
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 450px) {
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
  section .nav {
    gap: 1rem;
  }
  section .nav div {
    justify-content: center;
  }
  section .nav i {
    display: none;
  }
}
.photo-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.photo-wrapper:hover {
  transform: scale(1.05);
}

/*# sourceMappingURL=index.css.map */
