@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:
linear-gradient(135deg,#050d1e,#07142c,#0c1f42);
color:white;
overflow-x:hidden;
}

/* GLOW */

.bg-glow{
position:fixed;
width:500px;
height:500px;
border-radius:50%;
filter:blur(150px);
z-index:-1;
}

.glow1{
background:#00c3ff;
top:-150px;
left:-150px;
opacity:.2;
}

.glow2{
background:#0066ff;
bottom:-150px;
right:-150px;
opacity:.2;
}

/* NAVBAR */

.navbar{
background:rgba(5,15,40,.75);
backdrop-filter:blur(15px);
border-bottom:1px solid rgba(255,255,255,.1);
}

.name{
color:white;
text-decoration:none;
}

.nav-link{
color:#d8e6ff !important;
transition:.3s;
}

.nav-link:hover{
color:#55d6ff !important;
}

/* HERO */

.hero{
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:100px 20px;
}

.hero-tag{
background:#0f3d71;
padding:10px 20px;
border-radius:50px;
display:inline-block;
margin-bottom:20px;
}

.hero h1{
font-size:clamp(3rem,8vw,7rem);
font-weight:800;
line-height:1.1;
animation:fadeUp 1.2s ease;
}

.hero h1 span{
display:block;
color:#59d8ff;
text-shadow:0 0 20px #59d8ff;
}

.hero p{
max-width:700px;
margin:30px auto;
font-size:1.2rem;
color:#c8d8f5;
}

.hero-btn{
display:inline-block;
padding:15px 35px;
background:linear-gradient(90deg,#00b7ff,#4c7dff);
border-radius:50px;
text-decoration:none;
color:white;
font-weight:600;
transition:.4s;
}

.hero-btn:hover{
transform:translateY(-5px);
box-shadow:0 0 30px #00b7ff;
}

/* INFO */

.info-section{
padding:80px 10%;
}

.info-section .container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.info-card{
background:rgba(255,255,255,.05);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.1);
padding:30px;
border-radius:25px;
text-align:center;
transition:.4s;
}

.info-card:hover{
transform:translateY(-10px);
}

.info-card i{
font-size:2.5rem;
color:#55d6ff;
margin-bottom:20px;
}

/* PROJEKTE */

.projects-section{
padding:100px 10%;
}

.projects-section h2{
text-align:center;
font-size:3rem;
margin-bottom:60px;
font-weight:700;
}

.projects-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:35px;
}

.project-card{
overflow:hidden;
border-radius:25px;
background:rgba(255,255,255,.05);
backdrop-filter:blur(15px);
transition:.5s;
cursor:pointer;
}

.project-card:hover{
transform:translateY(-12px) scale(1.03);
box-shadow:0 0 40px rgba(0,195,255,.4);
}

.project-card img{
width:100%;
height:280px;
object-fit:cover;
transition:.5s;
}

.project-card:hover img{
transform:scale(1.1);
}

.project-info{
padding:25px;
}

.tag{
background:#00b7ff;
padding:7px 14px;
border-radius:30px;
font-size:.8rem;
}

.project-info h3{
margin-top:15px;
}

/* FOOTER */

footer{
padding:40px;
text-align:center;
border-top:1px solid rgba(255,255,255,.1);
}

footer a{
color:#9ecfff;
text-decoration:none;
margin:0 15px;
}

footer a:hover{
color:#55d6ff;
}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}


.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:40px;
    padding:40px;
}

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.4s;
}

.project-card img{
    width:100%;
    display:block;
    transition:.6s;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    color:white;

    opacity:0;
    transition:.4s;
}

.overlay h3{
    font-size:2rem;
    margin-bottom:10px;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.4);
}

.project-card:hover img{
    transform:scale(1.1);
}

.project-card:hover .overlay{
    opacity:1;
}

.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

/* Burger Linien */
.burger-line {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  margin: 5px 0;
  border-radius: 10px;
  transition: 0.3s;
}

/* X Animation wenn Menü offen ist */
.navbar-toggler[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}