* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  height: 100vh;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #222;
  text-align: center;
  /* padding: 15px; */
}
main{
  height: 90vh;
}
.header{
    width: 100%;
    height: 80px;
     display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5260FF;
    text-align: center;
}

.headline h1, .headline h2 {
  font-size: 1.8rem;
  color: #333;
}

#newsImg {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  /* box-shadow: 4px 2px 2px 2px #5260FF; */
}

#newsImg img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* box-shadow: 4px 2px 2px 2px #5260FF; */
}

#details {
  max-width: 800px;
  margin: auto;
  text-align: justify;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

#menu-btn{
    height: 30px;
    width: 30px;
     /* position: relative; */
     position: absolute;
     left: 0px;
     top: 10px;
     cursor: pointer;
}
#menu-div{
    height: 100vh;
}


  /* Navbar Styling */
        .header {
          
          position: relative;
            z-index: 100;
        }
        
        /* Menu Section */
#menu-box {
    position: fixed; /* Menu को फिक्स रखने के लिए */
    top: 0;
    left: -250px; /* Menu को initially छिपाने के लिए */
    height: 100%;
    width: 250px;
    background-color: #fff;
    border-right: 2px solid #ddd;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    transition: left 0.3s ease-in-out; /* Smooth transition effect */
}

#menu-box.open {
    left: 0; /* Menu को दिखाने के लिए */
}

#menu-box h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
}

#menu-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

#menu-box ul li {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

#menu-box ul li:hover {
    background-color: #f4f4f4;
}

#menu-box ul li div {
    display: flex;
    align-items: center;
    width: 100%;
}

#menu-box ul li img.menu-btn {
    height: 24px;
    width: 24px;
    margin-right: 15px;
}

#menu-box ul li span {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}

/* Main Content Section */
/* Main Content Section */
main {
    margin-left: 0; /* Default margin जब मेनू बंद हो 
    flex-wrap: wrap; /* Content को Wrap करें */
    
    transition: margin-left 0.3s ease-in-out; /* Smooth transition */
}

main.menu-open {
    margin-left: 250px; /* जब मेनू खुला हो */
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    height: auto; /* पहले वाला height: 90vh हटा दे */
}



#shareBtn{
    height: 30px;
    width: 30px;
    position: fixed;
    top: 50vh;
    right: 10px;
    cursor: pointer;
  filter: brightness(0) saturate(100%) invert(12%) sepia(97%) saturate(7480%) hue-rotate(0deg) brightness(101%) contrast(108%);   ;
}


.about-writer-div{
    display: flex;
    align-items: center;
   height: 80px;

   width: 90%;
   background-color: transparent;
   margin-bottom: 10px;
   display: flex;
   justify-content: space-between;
   margin: 0 auto;
   box-shadow: #5260FF #525252 black gray;
}
.about-writer-div img{
    height: 50px;
    border-radius: 50%;
}
.name-date-div{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-left: 10px;
}
.name-date-div p{
    margin-left: 10px;
}
.name-date-div div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.name-date-div div img{
  height: 15px;
  margin-left: 5px;
}
#newsFilBtn{
    background: #5260FF;
    height: 40px;
    border-radius: 5px;
    outline: none;
    font-size: medium;
    cursor: pointer;
}


.footer {
    background-color: #5260FF; /* अपने theme के हिसाब से color */
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    position: relative; /* पहले वाला position हटा दे */
}
