/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Fonts */
  body {
    font-variation-settings: "XHGT" 100, "wdth" 100, "wght" 300;
    background-color: #0f0f0f; /* black background overall */
    color: #fff; /* default text color white */
    line-height: 1.6;
  }
  
  /* Navigation */
  nav {
    font-family: "hackney", sans-serif;
font-weight: 700;
font-style: normal;
    background-color: #000;
    padding: 1rem;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
  
  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #ccc; /* light grey on hover */
  }
  
  /* Header */
  header {
    
    text-align: center;
    padding: 4rem 2rem;
    background: url('../img/bg_test.png') repeat;
    background-size: 960px 540px;
    color: #fff;
  }
  
  header h1 {
    font-family: "hackney", sans-serif;
font-weight: 700;
font-style: normal;
    font-size: 6rem;
    margin-bottom: 1rem;
    color: #ffffff;
  }
  
  p {
    font-family: helvetica-lt-pro, sans-serif;
font-weight: 300;
font-style: normal;
  }
  
  /* Main Content */
  main {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
    font-family: "hackney", sans-serif;
font-weight: 700;
font-style: normal;
    color: #fff; /* white text in main */
  }
  
  /* Each Section */
  section {
    margin-bottom: 4rem;
    padding: 2rem;
   
    border-radius: 12px;
  }
  
  /* Section Titles */
  section h2 {
    text-align: center;
    font-family: "hackney", sans-serif;
font-weight: 700;
font-style: normal;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 3rem;
  }
  
  /* Grid for the links inside each section */
  .link-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  /* Default mobile view: 1 image per row */
  .image-link {
    display: flex;
    flex-direction: column;
    background: #111; /* dark background for image cards */
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
  }
  
  /* Make images responsive */
  .image-link img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Label styling */
  .image-link span {
    padding: 0.5rem;
    text-align: center;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7); /* dark overlay behind text */
  }
  
  /* Hover effect */
  .image-link:hover {
    transform: scale(1.03);
  }

  .exercise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  /* Add this new rule for larger screens */
  @media (min-width: 900px) {
    .exercise-grid {
      flex-wrap: nowrap;
      justify-content: center;
    }
  }
  
  .exercise-card {
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px; /* make it a bit smaller to fit two side-by-side */
    width: 100%;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .exercise-card h3 {
    font-family: "hackney", sans-serif;
font-weight: 700;
font-style: normal;
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }
  
  .exercise-lists {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  
  .list-section {
    flex: 1 1 300px;
    text-align: left;
  }
  
  .list-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
  
  .list-section ul {
    margin-bottom: 0;
  }
  
  .list-section li {
    margin-bottom: 0.5rem;
    font-family: helvetica-lt-pro, sans-serif;
font-weight: 300;
font-style: normal;
  }
  
  .exercise-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  .image-button img {
    width: 100px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .image-button img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
  }
  
  
  
  
  /* Tablet/desktop: 2 or 3 columns */
  @media (min-width: 600px) {
    .link-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 900px) {
    .link-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .image-button img {
      width: 200px;}
  }
  
  /* Footer */
  footer {
    font-variation-settings: "XHGT" 100, "wdth" 100, "wght" 300;
    text-align: center;
    padding: 2rem 1rem;
    color: #fff;
    font-size: 0.9rem;
  }
  
