h2 {
    color: #333;
  }

  section {
    margin-bottom: 30px;
    padding: 20px;
  }

  .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-gap: 20px;
  }

  .article {
    background-color: #fbfbfb;
    padding: 10px;
  }

  .news {
    padding: 20px;
  }

  .news h2 {
    text-align: center;
    text-decoration: underline;
    margin-bottom: 20px;
  }

  .news1 {
    background-color: #06fbdaeb;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

  .news-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-right: 20px;
  }

  .news-details {
    font-size: 18px;
    flex-grow: 1;
  }

  .news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .news-date {
    font-size: 12px;
    color: #161515
  }

  .news-description {
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.5;
  }

  .news-btn {
    display: flex;
    justify-content: right;
    margin-top: 20px;
  }

  .news-btn button {
    cursor: pointer;
    color: rgb(227 9 37);
    /* border: solid black; */
    background-color: #f1f1f1;
    border-radius: 7px;
    float: right;
    padding: 5px;
  }

  /* Global Styles */
body {
    background-image: url('../images/homePageImage.jpeg');
    /* background-position: center; */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* height: 100vh; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Header Styles */
header {
    text-align: center;
    background-color: #0a0a0a;
    padding: 10px;
    color: #1a8ba0d4;
}

header h1 {
    font-size: 80px;
    margin: 0;
}
/* .head_back{
    display:flex;
    justify-content: space-between;
} */

a{
    color: #f1f1f1;
    text-decoration: none;
}
div div .dropdown-content{
    padding: 5px;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 30px;
    color: #fff;
}



.login{
    border: none;
    background-color: #0a0a0a;
    flex-direction: column;
    display: flex;
    justify-content: center;
    /* margin-right: 10px; */
    text-decoration: none;
    color: white;
    font-size: 30px;
}
.login a{
    border-radius: 10px;
    padding: 10px;
    color: #fff;
    background-color: #a1a92dd4
}


/* Footer Styles */
footer {
    margin-top: 30px;
    font-size: 1.5rem;
    background-color: #0a0a0a;
    color: #c6891a;
    padding: 5px;
    padding-right: 0%;
    text-align: center;
    /* position: fixed; */
    left: 0;
    bottom: 0;
    width: 100%;
}
@media screen and (max-width: 1000px){
    header{
        width: 100%;
    }
    header h1 {
        font-size: 1.5em;
        margin: 0;
    }

    h2{
        font-size: 1.5em;
        margin: 0;
    }

    footer{
        font-size: 10px;
    }
}

.dropbtn {
    display: none;
  }

@media screen and (max-width: 1000px) {
    div div .dropdown-content{
        display: none;
    }
    .dropbtn {
        display: block;
      }
    .head {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .head h1 {
      font-size: 2.5em;
      margin: 0;
    }
  
    /* .login {
      display: none;
    } */
  
    .head_back {
      text-align: left;
    }
  
    .dropdown {
      position: relative;
      display: inline-block;
    }
  
    .dropbtn {
      background-color: #0a0a0a8c;
      color: #a1a92dd4;
      font-size: 30px;
      border: none;
      cursor: pointer;
      padding: 15px 20px;
    }
  
    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #93d99a;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
    }
  
    .dropdown-content a {
      color: #0207e7;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }
  
    .dropdown-content a:hover {
      background-color: #f1f1f1;
    }
  
    .dropdown:hover .dropdown-content {
      display: block;
    }
  
    .dropdown:hover .dropbtn {
      background-color: #0a0a0a8c;
    }
  }
  