h2 {
    margin-top: 40px;
    margin-left: 25dvw;
    text-align: left;
}

h3, h4, h5, h6{
    margin-left: 15dvw;
    margin-right: 15dvw;
    text-align: left;
}
p, h3, h4, h5, h6 {
    line-height: 1.8;
}

.text-box {
    background-color: #3a3a3a;
    margin: 50px auto;    
    /*max-width: 1050px;*/
    border-radius: 10px;
}

.code-block {
    position: relative;
    background-color: black;
    border-radius: 8px;
    padding: 12px;
    margin: 24px auto;
    max-width: 1000px;
    color: #eee;
    font-family: monospace;
    font-size: 0.95rem;
    overflow-x: auto;
    text-align: left
}

.copy-btn {
    position: absolute;
    top: 5px;
    right: 12px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.copy-btn:hover {
    background-color: #555
}

.screenshot {
    text-align: center;
    margin: 32px auto;
}

.screenshot img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.figure0, figure05, figure1, figure2, figure3 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.figure0 img {
    border-radius: 20px;
    width: 1800px;
}

.figure05 img {
    border-radius: 20px;
    width: 1000px;
}

.figure1 img {
    border-radius: 20px;
    width: 800px;
}

.figure2 img {
    border-radius: 20px;
    width: 600px;
}

.figure3 img {
    border-radius: 20px;
    width: 400px;
}

.caption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

/* Video Loader stuff */

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 60px;
    /* background-color: #f9f9f9; Light background for contrast */
  }
  
  /* Individual video block */
  .video {
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .video:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  
  /* Video thumbnails */
  .video img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid #ddd;
  }
  
  /* Video title */
  .video-title {
    font-size: 16px;
    margin-top: 10px;
    color: white;
  }
  
  /* Loader Styling (if using a spinner) */
  .loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #ff9800; /* Orange */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
