.snake-border {
  display: flex;
  align-items: center;
  justify-content: center;
}

.snake-border a {
  position: relative;
  padding: 10px 30px;
  color: #12f7ff; /* Helles Grün für den Text */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 20px;
  transition: all 0.5s;
  overflow: hidden;
}

.snake-border a:hover {
  background: #12f7ff; /* Helles Grün beim Hover */
  color: #ffffff;
  box-shadow: 0 0 50px #12f7ff;
  transition-delay: 0.5s;
}

.snake-border a:hover span {
  opacity: 0;
}

.snake-border a span {
  position: absolute;
  background: linear-gradient(to right, #0064b7, #12f7ff); /* Blau verlaufend */
  transition: 0.5s;
  transition-delay: 0.3s;
}

/* Obere Seite */
.snake-border a span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  animation: animate1 2s linear infinite;
}

/* Rechte Seite */
.snake-border a span:nth-child(2) {
  top: 0;
  right: 0;
  height: 100%;
  width: 2.5px;
  animation: animate2 2s linear infinite;
}

/* Untere Seite */
.snake-border a span:nth-child(3) {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  animation: animate3 2s linear infinite;
}

/* Linke Seite */
.snake-border a span:nth-child(4) {
  top: 0;
  left: 0;
  height: 100%;
  width: 2.5px;
  animation: animate4 2s linear infinite;
}

/* Keyframes für die Animationen */
@keyframes animate1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes animate2 {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes animate3 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes animate4 {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

.snake-border-container {
  position: relative;
  padding: 20px 20px;
  overflow: hidden;
  border-radius: 10px; /* Optional: für abgerundete Ecken */
}

/* Die vier Seiten des Randes */
.snake-border-container::before,
.snake-border-container::after,
.snake-border-container span:nth-child(1),
.snake-border-container span:nth-child(2),
.snake-border-container span:nth-child(3),
.snake-border-container span:nth-child(4) {
  content: "";
  position: absolute;
  background: linear-gradient(to right, #12f7ff, #0064b7 ); /* Grün verlaufend */
}

.snake-border-container::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  animation: animate1 2s linear infinite;
}

.snake-border-container::after {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  animation: animate3 2s linear infinite;
}

.snake-border-container span:nth-child(1) {
  top: 0;
  right: 0;
  height: 100%;
  width: 2.5px;
  animation: animate2 2s linear infinite;
}

.snake-border-container span:nth-child(2) {
  bottom: 0;
  right: 0;
  height: 100%;
  width: 2.5px;
  animation: animate4 2s linear infinite;
}

/* Linke Seite des Containers */
.snake-border-container span:nth-child(3) {
  bottom: 0;
  left: 0;
  height: 100%;
  width: 2.5px;
  animation: animate4 2s linear infinite;
}



    :root {
    
      /**
       * colors
       */ --raw-seinna: #12f7ff;
      --sizzling-sunrise: hsl(24, 74%, 58%);
      --scarlet: hsl(13, 96%, 47%);
      --main-color: #12f7ff;
      --white: hsl(0, 0%, 100%);
      --black:#12f7ff;
    
    
       --transition-1: 0.25s ease-in-out;
    
      /**
       * spacing
       */
    
      --section-padding: 80px;
    
      /**
       * radius
       */
    
      --radius-4: 4px;
      --radius-12: 12px;
    
    }
    ---*/
    
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    li { list-style: none; }
    
    a { text-decoration: none; }
    
    a,
    img,
    time,
    span,
    input,
    label,
    select,
    button,
    textarea,
    ion-icon { display: block; }
    
    input,
    button,
    select,
    textarea {
      background: none;
      border: none;
      font: inherit;
    }
    
    button,
    select { cursor: pointer; }
    
    input,
    textarea { width: 100%; }
    
    ion-icon { pointer-events: none; }
    
    :is(a, button, select) {
      outline-color: var(--scarlet);
      outline-offset: 3px;
    }
    
    ::selection {
      background: var(--color-primary);
      color: var(--bg-primary);
    }
    
    
    
    
    body.active { overflow: hidden; }
    
    
    
    
    /*-----------------------------------*\
     * #REUSED STYLE
    \*-----------------------------------*/
    
    .container { padding-inline: 10px; }
    
    .h1 {
      font-size: var(--fs-1);
      line-height: 1.2;
      font-weight: 400;
    }
    
    .h2,
    .h3,
    .h4 {
      color: var(--black);
      line-height: 1.2;
    }
    
    .h2 { font-size: var(--fs-2); }
    
    .h3 { font-size: var(--fs-3); }
    
    .h4 { font-size: var(--fs-5); }
    
    .w-100 { width: 100%; }
    
    .btn {
      max-width: max-content;
      color: var(--color-primary);
      font-weight: var(--fw-700);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 10px 25px;
      border: 1px solid transparent;
      border-radius: var(--radius-4);
      transition: var(--transition-1);
    }
    
    .btn-primary { border-color: var(--color-primary); }
    
    .btn-primary:is(:hover, :focus) {
      background: var(--color-primary);
      color: var(--bg-primary);
    }
    
    .btn-secondary {
      background: var(--raw-seinna);
      border-color: var(--raw-seinna);
      color: var(--black);
    }
    
    .btn-secondary:is(:hover, :focus) { --raw-seinna: hsl(24, 74%, 64%); }
    
    .section-subtitle {
      position: relative;
      color: var(--color-secondary);
      text-transform: uppercase;
      padding-bottom: 5px;
      margin-bottom: 20px;
    }
    
    .section-subtitle::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 0;
      width: 60px;
      height: 2px;
      background: var(--color-secondary);
    }
    
    .section-title {
      max-width: 350px;
      margin-bottom: 30px;
    }
    
    .section-text {
      color: white;
      line-height: 1.8;
      margin-bottom: 30px;
    }
    
    .tooltip {
      position: absolute;
      top: -40px;
      background: var(--raw-seinna);
      min-width: max-content;
      color: var(--white);
      font-size: 15px;
      font-weight: var(--fw-700);
      padding: 5px 10px;
      border-radius: var(--radius-4);
      box-shadow: var(--shadow-1);
      transform: translateY(-10px);
      opacity: 0;
      pointer-events: none;
      transition: var(--transition-1);
      z-index: 1;
    }
    
    
    
    
    
    /*-----------------------------------*\
     * #STATS
    \*-----------------------------------*/
    
    .stats { padding-block: var(--section-padding); font-size: 2rem; }
    
    .stats-list {
      display: grid;
      gap: 30px;
    }
    
    .stats-card {
      background: var(--bg-secondary);
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 25px 25px;
      border-radius: var(--radius-12);
      box-shadow: var(--shadow-1);
      transition: var(--transition-1);
    }
    
    .stats-card:is(:hover, :focus) { transform: translateY(-5px); }
    
    .stats-card .card-icon {
      background: var(--raw-seinna);
      width: 60px;
      height: 60px;
      display: grid;
      place-items: center;
      border-radius: 50%;
    }
    
    .stats-card .card-icon img {
      width: 70%;
      filter: invert(1);
    }
    
    .stats-card .card-title {
      width: calc(100% - 95px);
      color: var(--raw-seinna);
      text-align: center;
    }
    
    .stats-card .card-title strong {
      display: block;
      color: var(--color-primary);
      font-size: initial;
      line-height: 1.3;
      margin-top: 5px;
    }
    
    .stats-card > ion-icon { color: var(--color-secondary); }
    
    
    
    

    
    
    
    
    @media (min-width: 550px) {
    
      /**
       * REUSED STYLE
       */
    
      .container {
        max-width: 550px;
        margin-inline: auto;
      }
    
      .section-title { max-width: 380px; }
    
    
    
      /**
       * PROJECT
       */
    
      .project-list {
        column-count: 2;
        column-gap: 25px;
      }
    
      .project-list > li:first-child { column-span: all; }
    
    }
    
    
    
    
    
    /**
     * responsive for larger than 768px screen
     */
    
    @media (min-width: 768px) {
    
      /**
       * REUSED STYLE
       */
    
      .container { max-width: 720px; }
    
      .section-title { max-width: 430px; }
    
    
    
      /**
       * STATS
       */
    
      .stats-list { grid-template-columns: 1fr 1fr; }
    
    
    
     
    
    }
    /**
     * responsive for larger than 992px screen
     */
    
    @media (min-width: 992px) {
    
      /*
    
    
      /**
       * REUSED STYLE
       */
    
      .container { max-width: 980px; }
    
      .section-content {
        position: relative;
        padding-left: 40px;
      }
    
      .section-subtitle {
        position: absolute;
        top: 0;
        left: 0;
        transform: rotate(0.75turn) translateX(-100%);
        transform-origin: left top;
        margin-bottom: 0;
      }
    
      .section-subtitle::after {
        top: 8px;
        left: auto;
        right: calc(100% + 20px);
      }
    
    
    
      /**
       * HEADER

    
    
      /**
       * HERO
       */
    
      .hero {
        position: relative;
        padding-top: 0;
        height: 100vh;
      }
    
      .hero-banner {
        max-width: unset;
        height: 100%;
        margin-bottom: 0;
      }
    
      .hero img {
        height: 100%;
        width: auto;
        margin-inline: auto;
      }
    
      .hero-content {
        --color-primary: var(--white);
    
        position: absolute;
        top: 50%;
        filter: drop-shadow(2px 4px 10px var(--black));
      }
    
      .hero .btn-primary:is(:hover, :focus) { color: hsl(0, 0%, 12%); }
    
      .hero-social-list {
        display: block;
        position: absolute;
        bottom: 92px;
        left: -30px;
      }
    
      .hero-social-list::after {
        content: "";
        position: absolute;
        bottom: -40px;
        left: 13px;
        width: 2px;
        height: 30px;
        background: var(--color-secondary);
      }
    
      .hero-social-link {
        position: relative;
        color: var(--color-secondary);
        margin-block: 5px;
        padding: 5px;
        font-size: 18px;
        transition: var(--transition-1);
      }
    
      .hero-social-link:is(:hover, :focus) { color: var(--color-primary); }
    
      .hero-social-link .tooltip {
        --trans-x: 10px;
    
        left: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%) translateX(var(--trans-x));
      }
    
      .hero-social-link:is(:hover, :focus) .tooltip {
        --trans-x: 0;
        opacity: 1;
      }
    
    
    
    
      /**
       * STATS
       */
    
      .stats-list { grid-template-columns: repeat(3, 1fr); }
    
      .stats-card { height: 100%; }
    
    
    
    
    
    
    
      /**
       * SKILLS
       */
    
      .skills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 50px;
      }
    
      .skills-content { margin-bottom: 0; }
    
      .skills-toggle { margin-inline: 0; }
    
    
    
      /**
       * PROJECT
       */
    
      .project-list { column-count: 3; }
    
      .project-list > li:first-child {
        column-span: unset;
        margin: 25px;
        margin-left: 0;
      }
    
    
    
      /**
       * CONTACT
       */
    
      .contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
      }
    
      .contact-content { margin-bottom: 0; }
    
      .contact-form { width: 100%; }
    
      .contact-list { margin-left: -40px; }
    
    
    }
    
    
    /**
     * responsive for larger than 1200px screen
     */
    
