 /* Global Reset */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }

  /* Body Styling */
  body {
    background-color: #121212; /* Dark background */
    color: #ffffff; /* White text */
    line-height: 1.6;
  }

  /* Container */
  .container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
  }

  /* Header */
  header {
    padding: 20px 0;
    text-align: center;
  }

  header h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffffff;
  }

  header p {
    font-size: 1.2em;
    color: #b3b3b3;
  }

  p { padding-bottom:20px;}

  /* Navigation */
  nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #1c1c1c;
    border-radius: 8px;
    margin-bottom: 20px;
  }

  nav ul li {
    margin: 0 15px;
  }

  nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1em;
    transition: color 0.3s;
  }

  nav ul li a:hover {
    color: #007acc; /* Hover color */
  }

  /* Main Content */
  main {
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 8px;
  }

  main h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #ffffff;
  }

  main p {
    font-size: 1em;
    color: #cccccc;
  }

  /* Footer */
  footer {
    padding: 20px;
    text-align: center;
    color: #666666;
    font-size: 0.9em;
  }

   a {
    color: #007acc;
    text-decoration: none;
  }

   a:hover {
    text-decoration: underline;
  }


  /* news*/


  .news-container {
   
}


  /* Individual story container */
  .news-story {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #666;
}

/* Image styling */
.news-image {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}

/* Headline and author styling */
.news-content {
    flex-grow: 1;
}

.headline {
    font-size: 1.2em;
    color: #fff;
    margin: 0;
}

.author {
    font-size: 0.9em;
    color: #bbb;
    margin-top: 5px;
}

.body-image {
  float:right;
  border:none;
  padding-left:5px;
  padding-bottom:5px;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .container {
    width:95%;
  }
}
@media (max-width: 800px) {
  .body-image {
    
    width:50%;
  }
}

@media (max-width: 600px) {
  
  
    .news-story {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-image {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
}