/* General Reset/Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  /* Header and Footer */
  header, footer {
    background-color: #f8f8f8;
    text-align: center;
    padding: 1rem 0;
  }
  
  /* Header Content (Logo + Title) */
  .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Make the logo responsive */
  .logo {
    /* The logo will never exceed 150px in width, but will shrink as needed */
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
  }
  
  header h1 {
    margin: 0.5rem 0 0;
  }
  
  footer p {
    font-size: 0.9rem;
    color: #777;
  }
  
  /* Courses */
  .course {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
  }
  
  .course h2 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }
  
  .video-container {
    margin-bottom: 1rem;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
  }
  
  .course-details {
    display: flex;
    flex-direction: column;
  }
  
  .price {
    font-weight: bold;
    color: #000;
    margin-bottom: 0.5rem;
  }
  
  .description {
    margin-bottom: 1rem;
  }
  
  /* Buy Button */
  .buy-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: fit-content;
  }
  
  .buy-button:hover {
    background-color: #0056b3;
  }
  
  /* Telegram Link */
  .telegram-link {
    text-align: center;
    margin-top: 2rem;
  }
  
  .telegram-link a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
  }
  
  .telegram-link a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Design */
  @media (min-width: 768px) {
    .header-content {
      flex-direction: row;
    }
  
    /* On wider screens, place the logo to the left and the title to the right */
    .logo {
      margin-bottom: 0;
      margin-right: 1rem;
    }
  
    .course {
      flex-direction: row;
    }
    
    .video-container {
      width: 40%;
      margin-right: 1rem;
    }
    
    .course-details {
      width: 60%;
    }
  }
  