*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Zalando Sans SemiExpanded", sans-serif;
}

:root{
    --bg-color: #080808;
    --second-bg-color: #101010;
    --text-color: white;
    --main-color: #7d39eb;
}

html{
    font-size: 60%;
    overflow-x: hidden;
}

body{
    background: var(--bg-color);
    color: var(--text-color);
}

.box {
    animation: fadeUp 1s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
        filter: brightness(0.7);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
}

.header {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    padding:4rem 15%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-family: "Oooh Baby", cursive;
}

.logo:hover{
    transform: scale(1.1);
    text-shadow: 0 0 70px var(--main-color),
                0 0 80px var(--main-color),
                0 0 100px var(--main-color);
}

.logo span {
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.home span {
    color: white;
}

.about span {
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.skills-wrapper span {
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.projekte span {
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.projekte2 span {
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.mehr span {
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.navbar {
    display:flex;
    gap:25px;
}
.navbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.8rem;
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}

.navbar a i {
    font-size: 2.4rem;
    margin-bottom: 5px;
    color: var(--text-color);
    transition: 0.3s ease-in-out;
}

.navbar a:hover i {
    color: var(--main-color);
    transform: scale(1.3);
}


.gardient-btn {
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: white;
    border: none;
    text-wrap: nowrap;
}

.gardient-btn:hover{
    transform: scale(1.05);
}

.menu-toggle {
    display:none;
}

.menu-icon {
    display:none;
    width:28px;
    height:20px;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
}

.menu-icon span {
    display:block;
    height:3px;
    background:white;
    border-radius:2px;
}

@media(max-width:900px){
    .navbar {
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#111;
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:20px 0;
        display:none;  
    }

    .gardient-btn {
        display:none;
    }

    .menu-icon {
        display:flex;
    }

    .menu-toggle:checked + .menu-icon + .navbar {
        display:flex;
    }
}

section{
    min-height: 100vh;
    padding: 10rem 15%;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
    background: #080808;
    background-image: url("Firefly\ \(12\).jpg");
    background-size: cover;         
    background-position: center;    
    background-repeat: no-repeat;
}

.home-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.home-content2{
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
}

.home-content h1{
    font-size: 6rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-content h3{
    margin: 1rem 0;
    font-size: 4rem;
}

.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
}

.home-img img{
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
    image-rendering: auto;
    border: 4px solid #7d39eb;
}

.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}

.btn-group{
    display: flex;
    gap: 1.5rem;
}

.btn{
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    margin-top: 20px;
}

.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
}

.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color:  var(--main-color);
    color: black;
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: var(--second-bg-color);
}

.about-img img{
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
    image-rendering: auto;
    border: 4px solid #7d39eb;
}

.about-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}

.about-content h2{
    font-size: 7rem;
    text-align: left;
    padding-bottom: 20px ;
}

.about-content p{
    font-size: 2rem;
}

.about-content .btn{
    margin: 3rem 0;
}

::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    border-radius: 20px;
    box-shadow: 0 0 50px var(--main-color),
                0 0 700px var(--main-color),
                0 0 100px var(--main-color);
}

::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}

.heading{
    text-align: center;
    font-size: 7rem;
    margin: 5rem 0;
}

.projekte{
    background-color: var(--second-bg-color);
}

.projekte2{
    background-color: var(--bg-color);
}

.projects-box{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
}

.projects-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--second-bg-color);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 5px var(--main-color);
    transition: 0.3s ease-in-out;
}

.projects-card:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
    transform: scale(1.02);
}

.projects-card img{
    max-width: 300px;
    border-radius: 2em;
    object-fit: cover;
    image-rendering: smooth;
}

.projects-card h3{
    font-size: 3rem;
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.projects-card p{
    font-size: 1.6rem;
}

@media(max-width:1200px){
    .home {
        gap: 8rem;
    }
    .home-img img {
        width: 50vw;
    }
    .home-content h1 {
        font-size: 6rem;
    }
    .home-content p {
        font-size: 1.4rem;
    }
}

@media(max-width:900px){
    .home {
        flex-direction: column-reverse;
        text-align: center;
        gap: 4rem;
        padding: 8rem 5%;
    }
    .home-content {
        align-items: center;
    }
    .home-content h1 {
        font-size: 4.5rem;
    }
    .home-content p {
        font-size: 1.9rem;
        text-align: center;
    }
    .home-img img {
        width: 70vw;
    }
    .btn-group {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media(max-width:900px){
    .about {
        flex-direction: column;
        gap: 3rem;
        padding: 8rem 5%;
    }
    .about-img img {
        width: 60vw;
    }
    .about-content h2 {
        font-size: 7rem;
        text-align: center;
    }
    .about-content p {
        font-size: 2.5rem;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
    }
}

.projects-box {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media(max-width:600px){
    .projects-card img {
        max-width: 200px;
    }
    .projects-card h3 {
        font-size: 2rem;
    }
    .projects-card p {
        font-size: 2rem;
}
}

@media(max-width:600px){
    html {
        font-size: 50%;
    }
}

@media(max-width:400px){
    html {
        font-size: 45%;
    }
}

.contact-wrapper {
  position: relative;
  background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
  padding: 60px 20px 20px; 
  max-width: 2000px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.contact-wrapper h2 {
  margin-bottom: 15px;
  font-size: 3em;
  color: var(--text-color);
  text-align: center;
}

.contact-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-wrapper li {
  margin-bottom: 10px;
  font-size: 2em;
  text-align: center;
}

.contact-wrapper a {
  color: white;
  text-decoration: none;
}

.contact-wrapper a:hover {
  text-decoration: underline;
}

.skills-wrapper {
  max-width: 600px;
  background-color: var(--bg-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 0 auto;
  margin-bottom: 50px;
  margin-top: 50px;
  text-align: center;
}

.skills-wrapper h2 {
  margin-bottom: 20px;
  font-size: 6em;
  color: var(--text-color);
  text-align: center;
}

.skill {
  margin-bottom: 15px;
}

.skills{
     background: #080808;
    background: linear-gradient(139deg,rgba(8, 8, 8, 1) 50%, rgba(125, 57, 235, 1) 100%);
}

.skill-name {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--text-color);
  font-size: 2.5rem;
  padding-bottom: 3px;
}

.skill-bar {
  background-color: #ddd;
  border-radius: 8px;
  overflow: hidden;
  height: 20px;
  transition: 0.3s ease-in-out;
}

.skill-bar:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 30px var(--main-color);
    transform: scale(1.02);
}

.skill-progress {
  height: 100%;
  background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
  width: 0;
  border-radius: 8px;
  transition: width 1s ease-in-out;
}

.steck{
    background-color: var(--second-bg-color);
}

.steck h1{
    font-size: 3rem;
    text-align: center;
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.steck h3{
    font-size: 5rem;
    text-align: center;
    background: linear-gradient(270deg, #cd39eb 20%, #7d39eb 50%);
    background-clip: text;
    color: transparent;
    padding-bottom: 20px;
    padding-top: 35px;
}

.steck h2{
    text-align: center;
    font-size: 2.5rem;
    padding-top: 15px;
    padding-bottom: 15px;
}

.mehr h1{
    text-align: center;
    font-size: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.mehr h2{
    padding-bottom: 20px;
    font-size: 5rem;
    text-align: center;
    background: linear-gradient(270deg, #cd39eb 10%, #7d39eb 100%);
    background-clip: text;
    color: transparent;
}

.home {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expanding-gallery {
  display: flex;
  gap: 12px;
  height: 60vh;
  background: #080808;
  background: linear-gradient(139deg,rgba(8, 8, 8, 1) 50%, rgba(125, 57, 235, 1) 100%);

}

.card {
  flex: 1;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  transition: flex 0.6s ease;
}

.expanding-gallery {
  display: flex;
  height: 80vh;
}

.card {
  flex: 1;
  overflow: hidden;
  transition: flex 0.5s ease;
}

.card.active {
  flex: 5;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.card:hover{
    transform: scale(1.02);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.card.active {
  flex: 5;
}

@media (max-width: 768px) {
  .expanding-gallery {
    flex-direction: column;
    height: auto;
  }

  .card {
    height: 320px;
    flex: none;
  }

  .card.active {
    height: 260px;
  }
}

