/* Any css code relating to theme (color scheme) and logo design has been provided by ChatGPT, I take no credit for those specific elements*/

    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #121212;
      color: #ffffff;
    }
    /* Header CSS*/
    .main-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #1f1f2e;
      padding: 20px 40px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.6);
    }
  
    .logo-container {
        display: flex;
        align-items: center;
        transition: filter 0.3s ease-in-out;
      }
    
      .logo-container:hover {
        filter: drop-shadow(0 0 10px #00ffe5) brightness(1.2);
      }

      .logo-text {
        font-size: 36px;
        font-weight: 800;
        font-family: 'Orbitron', sans-serif; /* Futuristic, digital feel */
        color: #00ffe5;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 8px rgba(0, 255, 229, 0.8);
      }
      
      .logo-text span {
        color: white; /* Emphasize "Watch" separately */
      }
      
      .logo-container svg {
        margin-right: 15px;
      }

      @keyframes shieldPulse {
        0% { stroke: #00ffe5; }
        50% { stroke: #00b3a6; }
        100% { stroke: #00ffe5; }
      }
      
      @keyframes globeSpin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }

      .logo-container svg .shield {
        animation: shieldPulse 3s infinite ease-in-out;
      }
      
      .logo-container svg .globe {
        transform-origin: 50% 50%;
        animation: globeSpin 20s linear infinite;
      }
      
      .logo {
        font-size: 40px;
        font-weight: 700;
        color: #00ffe5;
        font-family: 'Share Tech Mono', monospace;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 0 5px rgba(0, 255, 229, 0.7);
        animation: flicker 2s infinite;
      }
  
    .nav-menu a {
      margin: 0 15px;
      text-decoration: none;
      color: #cccccc;
      font-weight: 500;
      transition: color 0.2s;
    }
  
    .nav-menu a:hover {
      color: #ffffff;
    }
  
    .search-container input {
      padding: 8px 12px;
      border: none;
      border-radius: 4px;
      outline: none;
      font-size: 14px;
      background-color: #2e2e3d;
      color: white;
    }
  
    .search-container input::placeholder {
      color: #aaaaaa;
    }
  
    @media (max-width: 768px) {
      .news-header {
        flex-direction: column;
        align-items: flex-start;
      }
  
      .nav-menu {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
      }
  
      .nav-menu a {
        margin: 5px 10px 0 0;
      }
  
      .search-container {
        margin-top: 10px;
        width: 100%;
      }
  
      .search-container input {
        width: 100%;
      }
    }
    /* end Header CSS*/
    .news-section {
      margin: 0 auto;
      max-width: 2000px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300, 1fr));
      gap: 30px;
    }  
    

    /* News Section CSS */
    .news-section {
      max-width: 1200px;
      padding: 40px 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      align-items: start;
    }

    /* Articles */
    .news-article {
      background-color: #1f1f2e;
      border-radius: 10px;
      padding: 20px;
      width: 320px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .news-article:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.5);
    }

    /* Article Header */
    .article-header {
      margin-bottom: 15px;
    }

    /* Article Title */
    .article-title {
      font-size: 22px;
      font-weight: bold;
      margin: 0;
    }

    .article-title a {
      text-decoration: none;
      color: #66f2e4; 
      transition: color 0.3s;
    }

    .article-title a:hover {
      color: white;
    }

    .article-info {
      font-style: normal;
      font-size: 12px;
      color: #aaa;
      margin-top: 5px;
    }

    /* Article Content */
    .article-content {
      max-height: 120px;
      overflow: hidden;
      position: relative;
      transition: max-height 0.5s ease;
    }

    .article-content p {
      margin-bottom: 12px;
      font-size: 14px;
      line-height: 1.6;
      color: #ddd;
    }

    .article-footer {
      margin-top: auto;
      text-align: right;
    }

    .read-more-button {
      text-decoration: none;
      color: #00ffe5;
      font-weight: bold;
      font-size: 14px;
      transition: color 0.3s;
    }
    /*
    .read-more-button:hover {
      color: white;
    }
    */
    .expand-button {
      display: none;
      background-color: transparent;
      color: #00ffe5;
      font-size: 12px;
      font-weight: bold;
      text-align: center;
      padding: 4px 0;
      border-top: 1px solid #00ffe5;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 0 0 10px 10px;
      margin-top: 10px;
    }

    .news-article:hover .expand-button {
      display: block;
    }

    .expand-button:hover {
      background-color: #00ffe5;
      color: #121212;
    }