/* style.css */

/* Basic resets */
* {
    box-sizing: border-box;
  }
  body {
    margin: 0; 
    padding: 0; 
    font-family: Arial, sans-serif;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* “Go to Top” button pinned at bottom-right */
  .go-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0.7;
  }
  .go-top-btn:hover {
    opacity: 1.0;
  }
  
  /* Simple nav index for experiments */
  nav.exp-index {
    margin-bottom: 30px;
  }
  nav.exp-index a {
    display: block;
    margin-bottom: 10px; /* spacing between links */
  }
  nav.exp-index a:hover {
    text-decoration: underline;
  }
  
  /* Headings */
  h1 {
    text-align: center;
    margin-bottom: 1em;
  }
  h2 {
    margin-bottom: 0.3em;
  }
  .subtitle {
    margin-bottom: 2em;
  }
  
  /* 2x2 grid for each experiment */
  .experiment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-gap: 20px;                
    margin-bottom: 40px;
  }
  .section {
    text-align: center;
  }
  .section h3 {
    margin-bottom: 0.5em;
  }
  .section img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }
  .section audio {
    display: block;
    margin: 0 auto 15px auto;
  }
  
  .slider-container {
    margin-bottom: 10px;
    text-align: left;
  }
  .slider-container label {
    display: inline-block;
    width: 120px;
  }
  .slider-container input[type="range"] {
    vertical-align: middle;
    width: 60%;
  }
  .slider-value {
    margin-left: 8px;
    font-weight: bold;
  }
  