

body {
  background-image: url("images/Background\ Website_long_version.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 100vh;


  

  overflow: auto;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height:100vh;
  padding:10px 10%;
  overflow: hidden;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Full screen height */
  position: relative;
  /* TO MOVE EVERYTHING UP: */
  margin-top: -50px; /* Adjust this value to pull it up */
}

/* Background Text */

.background-text{
  white-space: nowrap;
  bottom: -10%;
}

.background-text span{
  position: relative;
  white-space: nowrap;
}

.background-text span:before{
    content: "software Developer";
    color: #E9E9E9;
    animation: words 20s infinite;
}

.background-text span::after{
    content: "";
    position: absolute;
    width: calc(80% + 8px);
    height: 80%;
    border-left: 6px solid #FF4D00;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #E9E9E9;
    }
}

@keyframes words{
    0%, 20%{
        content: "creating Characters.";
    }
    21%, 40%{
        content: "animating 3D Models.";
    }
    41%, 60%{
        content: "drawing Concepts.";
    }
    61%, 80%{
        content: "coming up with ideas.";
    }
    81%, 100%{
        content: "creating.";
    }
}


/* Background Text */

.foreground-text{
  position: relative;
  font-size: 8vw; /* Responsive font size based on screen width */
  z-index: 1;
  bottom: 5%;
}
.text-group {
  text-align: center;
  /* MOVES EVERYTHING UP */
  transform: translateY(25%);
}


.site-logo {
  position: absolute;
  display: inline-block;
  top: 30px;
  left: 20px;
  width: 50px;   /* adjust size */
  height: auto;

  z-index: 1000; /* keeps it above other content */
}

header {
  display: flex;
  position: fixed;         
  top: 20px;               
  left: 50%;              
  padding: 10px 20px;      
  background: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px);        
  -webkit-backdrop-filter: blur(10px); 
  border-radius: 20px;     
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: white;
  font-weight: bold;
  white-space: nowrap;      
  cursor: default;
  transform: translateX(-50%);
  z-index: 1000;  /* ensure it’s above content */
}


header nav a {
  color: #E9E9E9;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;          
  margin: 0px 20px;
}


header nav a:hover {
    text-decoration: underline;
}

h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  text-align: center;
  color: #FF4D00;
  font-family: Quanta Grotesk Pro;

  font-weight: 700;
  font-size: clamp(4rem,6vw,6rem);
}

h2 {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);

  text-align: center;
  color: #E9E9E9;
  font-family: Cabinet Grotesk;
  font-style: normal;
  font-size: clamp(2rem,6vw,4rem);

}

h3 {
  position: relative;
  color: #E9E9E9;
  font-family: Cabinet Grotesk;
  font-style: bold;
  font-weight: 400;
  font-size: clamp(4rem,6vw,8rem);;
}

h4{
            font-size: 2.8rem;
            margin: 0;
            font-weight: 700;
}

h5 {
  color: #E9E9E9;
  font-family: Cabinet Grotesk;
  font-style: normal;
  font-size: clamp(4rem,6vw,6rem);
}

p {
  position: relative;
  color: #E9E9E9;
  font-family: Arial;
  font-style: normal;
  font-size: clamp(1rem,6vw,2rem);;
}

.social-icons {
  position: fixed;
  top: 50%;                 /* center vertically */
  left: 20px;               /* distance from left edge */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;   /* stack vertically */
  gap: 20px;                /* space between icons */
  z-index: 1000;
}

.social-icons a img {
  width: 2rem;
  height: auto;
  transition: transform 0.2s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
}


.about{

            color: #E9E9E9;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            margin: 0;
            display: flex;
            justify-content: center;
            padding: 40px 20px;
}

.about-card {
            display: flex; /* Aktiviert das Nebeneinander-Layout */
            flex-direction: row; /* Elemente nebeneinander */
            align-items: center; /* Oben ausrichten */
            gap: 50px; /* Abstand zwischen Bild und Text */
            max-width: 1000px;
            width: 100%;
            background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px);        
    -webkit-backdrop-filter: blur(10px); 
    border-radius: 20px;     
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
    padding: 2rem 3rem;
}

.about-me-pic{
              flex-shrink: 0; /* Verhindert, dass das Bild schrumpft */
}

.avatar {
            width: 250px;  /* Feste Breite für das Bild */
            height: 300px;
            border-radius: 1em;
            object-fit: cover;
            scale: 120%;
        }


        .bio {
            line-height: 1.6;
            font-size: 1.5rem;
            color: #E9E9E9;
        }

        .btn-contact {
            display: inline-block;

            padding: 12px 25px;
            border: 1px solid #E9E9E9;
            border-radius: 8px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: background 0.3s;
        }

        .btn-contact:hover {
            background: #E9E9E9;
            color: black;
        }

        /* 5. RESPONSIVE (Handy-Ansicht) */
        @media (max-width: 850px) {
            .profile-card {
                flex-direction: column; /* Bild über Text auf kleinen Bildschirmen */
                align-items: center;
                text-align: center;
                gap: 30px;
            }

            .badge-container {
                justify-content: center;
            }
        }


.about-text {
            flex-grow: 1; /* Nimmt den restlichen Platz ein */
}

.contact-me-page{
  height: 50vh;
}


/* ── Section ────────────────────────────────────────────── */
.artworks {
  padding: 4em 2em;
  position: relative;
}

/* ── Titel ──────────────────────────────────────────────── */
.artworks__header {
  text-align: center;
  margin-bottom: 2em;
}

.artworks__header a {
  text-decoration: none;
}

.artworks__header h3 {
  font-size: 2rem;
  color: white;
  letter-spacing: 0.05em;
}

/* ── Slider-Wrapper (Pfeile + Track) ────────────────────── */
.artworks__slider-wrapper {
  display: flex;
  align-items: center;
  gap: 1em;
}

/* ── Track: zeigt 3 Cards, scrollt den Rest ─────────────── */
.artworks__track {
  display: flex;
  gap: 1.5em;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  /* Scrollbar verstecken */
  scrollbar-width: none;
  -ms-overflow-style: none;

  flex: 1;
  padding: 1em 0.5em;
}

.artworks__track::-webkit-scrollbar {
  display: none;
}

/* ── Pfeil-Buttons ──────────────────────────────────────── */
.artworks__arrow {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artworks__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* ── Einzelne Card ──────────────────────────────────────── */
.item {
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: white;

  /* Größe & Snap */
    width: 360px;
  min-width: 360px;
  height: 360px;
  scroll-snap-align: start;
  flex-shrink: 0;

  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
  flex-direction: column;
}

.item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

/* Vorschaubild */
.item__image {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.item:hover .item__image img {
  transform: scale(1.05);
}

/* Text-Bereich */
.item__content {
  padding: 1em 1.2em 0.8em;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.item__title {
  margin: 0 0 0.4em;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: Cabinet Grotesk;
}

/* Beschreibung abschneiden mit "..." */
.item__desc {
  margin: 0 0 0.8em;
  font-size: 0.875rem;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-top: auto; /* schiebt Tags ans Ende des Contents */
}

.item__tag {
    padding:6px 12px;
    font-size:13px;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px);        
    -webkit-backdrop-filter: blur(10px); 
    border-radius: 20px;     
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
  white-space: nowrap;
  font-family: Cabinet Grotesk;
}


/* ── Responsivität ──────────────────────────────────────── */
@media (max-width: 600px) {
  .artworks__arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .item {
    width: 280px;
    min-width: 280px;
    height: 280px;
  }

  .item__image {
    height: 150px;
  }
}