:root {
    font-size: 16px;
    font-family: 'Open Sans';
    --text-primary: hsl(0, 0%, 71%);
    --text-secondary: #ececec;
    --bg-primary: hsl(240, 65%, 46%);
    --bg-secondary: hsl(240, 84%, 22%);
    
    --transition-speed: 600ms;

    --clr-primary-400: 240, 65%, 46%;
    --clr-secondary-400: 240, 84%, 22%;
    --clr-secondary-500: 219 29% 14%;
    --clr-neutral-100: 0 0% 100%;
    --clr-neutral-200: 210 46% 95%;
    --clr-neutral-300: 0 0% 81%;
    --clr-123: 192 100% 33%;

    --ff-primary: "Barlow Semi Condensed", sans-serif;

    --fw-400: 500;
    --fw-700: 600;

    --fs-300: 0.6875rem;
    --fs-400: 0.8125rem;
    --fs-500: 1.25rem;
  }

  body {
    color: black;
    background-color: #a0a0a0;
    margin: 0;
    padding: 0;
    scroll-snap-type: mandatory;
    overflow-y: scroll;
  }

  body::-webkit-scrollbar {
    width: 0.25rem;
  }

  body::-webkit-scrollbar-track {
    background: hsl(240, 83%, 39%);
  }

  body::-webkit-scrollbar-thumb {
    background: hsl(240, 84%, 22%);
  }

  main {
    margin-left: 5rem;
    padding: 1rem;
  }

  section {

    height: 100vh;
    /* max-width: 50rem; */
    color: hsl(0, 0%, 20%);
    scroll-snap-align: start;
  }

  .navbar {
    position: fixed;
    background-color: var(--bg-primary);
    transition: width 600ms ease;
    overflow: hidden;
  }

  .navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }

  .nav-item {
    width: 100%;

  }

  .nav-item:last-child {
    margin-top: auto;
  }

  .nav-link {
    display: flex;
    align-items: center;
    height: 4rem;
    color: var(--text-primary);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
  }

  .nav-link:hover {
    filter: grayscale(0%) opacity(1);
    background: var(--bg-secondary);
    color: var(--text-secondary);
  }

  .link-text {
    display: none;
    margin-left: 1rem;
  }

  .nav-link svg {
    width: 2rem;
    min-width: 2rem;
    margin: 0 1.5rem;
  }

  .fa-primary {
    color: #24bdd8;
  }

  .fa-secondary {
    color: #1c11b3;
  }

  .fa-primary,
  .fa-secondary {
    transition: var(--transition-speed);
  }

  .logo {
    font-weight: var(--fw-700);
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.3ch;
    width: 100%;
  }

  .logo svg {
    transform: rotate(0deg);
    transition: var(--transition-speed);
  }

  .logo-text {
    display: inline;
    position: absolute;
    left: -999px;
    transition: var(--transition-speed);
  }

  .navbar:hover .logo svg {
    transform: rotate(90deg);
  }

  /* Download Page Styles */
  .downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .download-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-primary);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
  }

  .download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--clr-123)), var(--bg-primary));
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    border-color: hsl(var(--clr-123));
  }

  .download-card:hover::before {
    opacity: 1;
  }

  .download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, hsl(var(--clr-123)), var(--bg-primary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .download-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
  }

  .version {
    color: hsl(var(--clr-123));
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .description {
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .download-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .file-size, .file-type {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
  }

  .download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 300ms ease;
    background: hsl(var(--clr-123));
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
  }

  .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
  }

  .btn-icon {
    width: 20px;
    height: 20px;
  }

  /* Features Grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-primary);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--clr-123)), var(--bg-primary));
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    border-color: hsl(var(--clr-123));
  }

  .feature-card:hover::before {
    opacity: 1;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, hsl(var(--clr-123)), var(--bg-primary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
  }

  .feature-card p {
    color: var(--text-primary);
    line-height: 1.6;
  }

  /* Requirements Grid */
  .requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .requirement-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-primary);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 300ms ease;
  }

  .requirement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    border-color: hsl(var(--clr-123));
  }

  .requirement-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    text-align: center;
    position: relative;
  }

  .requirement-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: hsl(var(--clr-123));
    border-radius: 1px;
  }

  .requirement-card ul {
    list-style: none;
    padding: 0;
  }

  .requirement-card li {
    color: var(--text-primary);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
  }

  .requirement-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--clr-123));
    font-weight: bold;
  }

  /* Contact Content */
  .contact-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, hsl(var(--clr-123)), var(--bg-primary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
  }

  .contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
  }

  .contact-item p {
    color: var(--text-primary);
    margin: 0;
  }

  .contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  /* Responsive Design for Download Page */
  @media (max-width: 768px) {
    .downloads-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .requirements-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .contact-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .contact-actions {
      flex-direction: row;
      justify-content: center;
    }
    
    .download-card,
    .feature-card,
    .requirement-card {
      padding: 1.5rem;
    }
    
    .download-icon {
      width: 64px;
      height: 64px;
    }
    
    .feature-icon {
      width: 48px;
      height: 48px;
    }
  }

  @media (max-width: 480px) {
    .contact-actions {
      flex-direction: column;
      width: 100%;
    }
    
    .contact-actions .btn {
      width: 100%;
    }
    
    .download-info {
      flex-direction: column;
      gap: 0.5rem;
    }
  }

  .testimonial-grid {
    display: grid;
    gap: 2rem;
    grid-auto-columns: 1fr;
    grid-template-areas:
    'one one'
    'two three'
    'four five'
    'six seven'
    'eight ten'
    'eleven eleven'
    'nine nine';
  
    padding-block: 2rem;
    width: min(95%, 90rem); 
    margin-inline: auto;
  }
  .testimonial {
    font-size: var(--fs-400);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 2.5rem 3.75rem 3rem -3rem hsl(var(--clr-secondary-400) / 0.25);
  }
  
  .testimonial:nth-child(1) {
    grid-area: one;
  }
  .testimonial:nth-child(2) {
    grid-area: two;
  }
  .testimonial:nth-child(3) {
    grid-area: three;
  }
  .testimonial:nth-child(4) {
    grid-area: four;
  }
  .testimonial:nth-child(5) {
    grid-area: five;
  }
  .testimonial:nth-child(6) {
    grid-area: six;
  }
  .testimonial:nth-child(7) {
    grid-area: seven;
  }
  .testimonial:nth-child(8) {
    grid-area: eight;
  }
  .testimonial:nth-child(9) {
    grid-area: nine;
  }
  .testimonial:nth-child(10) {
    grid-area: ten;
  }
  .testimonial:nth-child(11) {
    grid-area: eleven;
  }
  .testimonial img {
    width: 30rem;
    /* aspect-ratio: 1; */
    border-radius: 1rem;  /* bild rund machen */
  }
  
  .testimonial .name {
    font-size: var(--fs-400);
    font-weight: var(--fw-400);
    line-height: 1;
  }
  
  .testimonial .position {
    font-size: var(--fs-300);
    opacity: 0.6;
    /* dadurch scheint es durch die navbar */
  }
  
  .testimonial > p:first-of-type {
    font-size: var(--fs-500);
    line-height: 1.2;
  }
  
  .testimonial > p:last-of-type {
    font-size: var(--fs-500);
    opacity: 0.8;
  }

  /* Small screens */
  @media only screen and (max-width: 600px) {
    .navbar {
      top: 0;
      width: 100vw;
      height: 3rem;
    }
    
    .nav-item {
      width: 20%;
    }

    .nav-item:last-child {
      margin-top: 0px;
    }
    svg {
      width: 24px;
      height: 24px;
    }

    .logo {
      display: none;
    }

    .navbar-nav {
      flex-direction: row;
    }

    .nav-link {
      justify-content: center;
    }

    main {
      margin: 0;
    }
   h1 {
     margin-top: 5em;
   }
  .testimonial{
    padding: 1rem;
    width: 85%;
   }
   .testimonial img {
     width: 100%;
   }
   .testimonial-grid {
    grid-template-areas:
    "one"
    "two"
    "three"
    "four"
    "five"
    "six"
    "seven"
    "eight"
    "nine"
    "ten"
    "eleven";
}

  }

  /* Large screens */
  @media only screen and (min-width: 600px) {
    .navbar {
      top: 0;
      width: 5rem;
      height: 100vh;
    }

    .navbar:hover {
      width: 18rem;
    }

    .navbar:hover .link-text {
      display: inline;
    }

    .navbar:hover .logo svg
    {
      margin-left: 14rem;
    }

    .navbar:hover .logo-text
    {
      left: 0px;
    }
    section {
      padding: 1em;
    }
    .testimonial-grid {
      min-width: 20rem;
      grid-template-areas:
      'one one'
      'two three'
      'four five'
      'six seven'
      'eight ten'
      'eleven eleven'
      'nine nine';
  }
  }

  
    /* Large screens */
    @media only screen and (min-width: 1600px) {
      .navbar {
        top: 0;
        width: 18rem;
        height: 100vh;

        left: 0px;
        display: inline;

      }
      .link-text {
        display: inline;
      }
      .logo-text
      {
        left: 0px;
      }
      .logo svg
      {
        margin-left: 14rem;
      }
      .child {
        margin-left: 10rem;
      }
      section {
        padding: 1em;
       
      }
      .testimonial-grid {
      grid-template-areas:
      'one one one'
      'two two three'
      'four five five'
      'six six seven'
      'eight eight ten'
      'eleven eleven eleven'
      'nine nine nine';
  }

    }

  /* .dark {
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-primary: #a558ec;
    --bg-secondary: #6307a0;
  }

  .light {
    --text-primary: #1f1f1f;
    --text-secondary: #000000;
    --bg-primary: #ffffff;
    --bg-secondary: #e4e4e4;
  } */

  .blue {
    --text-primary: #c3d4d9;
    --text-secondary: #b7cad0;
    --bg-primary: hsl(238, 78%, 40%);
    --bg-secondary: hsl(238, 78%, 30%);
  }

  .theme-icon {
    display: none;
  }

  /* .dark #darkIcon {
    display: block;
  }

  .light #lightIcon {
    display: block;
  } */

  .blue {
    display: block;
  }



/* utilities */
.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, 1em);
}

.bg-primary-400 {
  background: var(--bg-primary);
}
.bg-secondary-400 {
  background: hsl(var(--clr-secondary-400));
}
.bg-secondary {
  background: var(--bg-secondary);
}
.bg-secondary-500 {
  background: hsl(var(--clr-secondary-400));
}

.bg-neutral-100 {
  /* background: hsl(var(--clr-neutral-100)); */
  background: var(--bg-primary);
}

.text-neutral-100 {
  color: var(--text-primary);
}
.text-secondary-400 {
  color: var(--text-secondary);
}


/* components */







