*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial;
  background-image: url("images/Background\ Website_long_version.png");
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-top: 40px;
}

.main{
    flex: 1;
}

.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);
}

.site-logo {
  position: absolute;
  top: 30px;
  left: 20px;
  width: 50px;   /* adjust size */
  height: auto;

  z-index: 1000; /* keeps it above other content */
}

/* ---------------- */
/* HOME GRID */
/* ---------------- */

.title{
text-align:center;
margin-bottom:40px;
}

.project-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
max-width:1400px;
margin:auto;
    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: 20px;
}

.project-card{
text-decoration:none;
color:white;
}

.project-card img{
width:100%;
height:260px;
object-fit:cover;
border-radius:10px;
transition:0.3s;
}

.project-card:hover img{
transform:scale(1.05);
}

.project-card p{
margin-top:10px;
text-align:center;
}


/* ---------------- */
/* PROJECT PAGE */
/* ---------------- */

.project-layout{
display:grid;
grid-template-columns:3fr 1fr;
gap:40px;
max-width:1400px;
margin:auto;
}


/* IMAGE GRID */

.gallery{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.gallery img{
width:100%;
border-radius:8px;
}


/* SIDEBAR */

.sidebar{
position:sticky;
top:40px;
height:max-content;
}

.sidebar h2{
margin-bottom:10px;
}

.sidebar p{
margin-bottom:30px;
line-height:1.6;
}


/* SOFTWARE LIST */

.software{
display:flex;
flex-direction:column;
gap:15px;
}

.software-item{
display:flex;
align-items:center;
gap:10px;
}

.software-item img{
width:24px;
height:24px;
}


/* ---------------- */
/* RESPONSIVE */
/* ---------------- */

@media(max-width:1000px){

.project-layout{
grid-template-columns:1fr;
}

.sidebar{
position:relative;
}

}

@media(max-width:700px){

.project-grid{
grid-template-columns:1fr;
}

.gallery{
grid-template-columns:1fr;
}

}

.portfolio-title{
    font-family: Cabinet Grotesk;
    font-size: 2rem;
    color: #E9E9E9;;
}


.badge-container{
display: flex;
gap: 15px;
margin-bottom: 30px;
margin-top: 10px;
justify-content: center;
flex-wrap: wrap;   /* wichtig */
}

.badge{
display: flex;
align-items: center;
gap: 8px;

background: #30363d;
border: 1px solid #30363d;
padding: 8px 15px;
border-radius: 6px;

font-size: 0.9rem;
color: #E9E9E9;
font-family: Cabinet Grotesk;
}

.badge img{
width:16px;
height:16px;
object-fit:contain;
border-radius:0;
display:block;
}


.site-footer{
width:100%;
padding:18px 20px;
margin-top: 60px;

text-align:center;
font-size:14px;
color:#e9e9e9;

/* Verlauf wie im Screenshot */
background: linear-gradient(
90deg,
#bfa39a,
#7f6c65,
#4b4543
);

border-top:1px solid rgba(255,255,255,0.1);
}