/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* Navbar */
  header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
  }
  
  header .logo {
    font-size: 24px;
  }
  
  header nav ul {
    display: flex;
  }
  
  header nav ul li {
    margin: 0 15px;
  }
  
  header nav ul li a {
    color: white;
    font-size: 18px;
    padding: 10px;
  }
  
  /* Sidebar */
  .container {
    display: flex;
  }
  
  .sidebar {
    width: 200px;
    background-color: #f4f4f4;
    padding: 20px;
  }
  
  .sidebar .category {
    background: none;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    width: 100%;
  }
  
  .sidebar .subcategories {
    display: none;
    padding-left: 20px;
  }
  
  .sidebar .subcategories li {
    padding: 5px 0;
  }
  
  /* Main Content */
  main {
    padding: 20px;
    width: 100%;
  }
  
  main section {
    margin-bottom: 40px;
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
  }
  
  .footer-blog-posts {
    margin-top: 20px;
  }
  
  .footer-blog-posts h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .blog-posts-container {
    display: flex;
    justify-content: space-around;
  }
  
  .blog-item {
    cursor: pointer;
    text-align: center;
  }
  
  .blog-item img {
    /* width: 150px;
    height: 150px; */
    border-radius: 8px;
     /* width: 600px;
    height: 400px; */
    width: 780px;
  height: 348px;
  }
  
  .blog-item h3 {
    margin-top: 10px;
    color: white;
    font-size: 18px;
  }
  
  /* Popup Styles */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 80%;
  }
  
  .popup .close-btn {
    position: absolute;
    /* top: 10px;
    right: 10px;
    font-size: 24px; */
     top: 195px;
  right: 183px;
  font-size: 38px;
  color: red;
    cursor: pointer;
  }
  
  .popup button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  .popup button:hover {
    background-color: #555;
  }
  
@media (max-width: 400px){
.blog-item img{
  width: 271px;
  height: 207px;
}
.blog-item, h3{
  text-align: center;
  overflow-wrap: break-word;
}
}
  