* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/*NAVIGATION STYLE*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 1rem;
    color: white;
    border-bottom: black 2px solid;
}

.menu-icon {
    font-size: 2rem;
    cursor: pointer;
    color: black;
}

.brand-title a {
    font-size: 2rem;
    font-variant: small-caps;
    color: black;
    font-weight: 700;
    text-decoration: none;
}

.blue{
color:#47a0ff;
}

/* The side navigation menu */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 16px 15px;
    text-decoration: none;
    font-size: 1.5rem;
    font-variant: small-caps;
    text-align: center;
    color: black;
    display: block;
    transition: 0.3s;
    font-weight: 500;
}

#special{
  background: #1c89ff;
  color: white;
  width: 60%;
  margin: 0 auto;
  padding: 15px;
  border-radius: 5px;
  transition: all 1s;
}

#special:hover{
   background: #124c86;
}

.sidenav a:hover {
    color: #027bfd;
}

.sidenav .closebtn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* overlay */
.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
    display: none;
}


/* Start Blog */

.blog-header{
    text-align: center;
    font-size: 2.3em;
    font-weight: 700;
    color: #000000;
    padding: 20px;
    margin: 0;
    padding-top: 40px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   }


/*paragraph intro*/
.intro{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro p{
    font-size: 1.3em;
    border-radius: 10px;
    text-align: justify;
    font-family: 'Tahoma', sans-serif;
    width: 70%;
    padding-bottom: 10px;
}


/* Blog section Style */
.Blog{
    padding: 20px;
    margin-bottom: 10px;
   }
   

   .blue{
    color: #027bfd;
   }
  
   .article {
    display: inline-block;
    width: 30%; /* Adjust width as needed */
    margin: 20px;
    text-align: left;
}

.article img {
    max-width: 75%;
    height: 220px;
    display: block;
    border-radius: 15px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

.article img:hover{
  transform: scale(1.03);
}

.article h2 {
    margin-top: 18px;
    font-size: 1.2em;
    text-align: center;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/*Page Buttons Style*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 60px;
}

.page-button {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
  background-color: #fff;
  border: 2px solid #007bff;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.page-button:hover {
  background-color: #007bff;
  color: #fff;
}

/*Footer style*/

footer{
    background-color: #f5f5f5;
    height: auto;
   
  }

  .footer-content{
   display: flex;
   justify-content: center;
   flex-direction: column;
   padding-top: 10px;
  }


  .socials{
   list-style: none;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 2rem 0 2rem 0;
  }

  .socials li a i{
   margin: 0 15px;
   text-decoration: none;
   color: black;
   font-size: 2rem;
   transition: color .4s ease;
  }

  .footer-bottom{
   background: #000;
   padding: 5px 0;
   text-align: center;
   font-family:'Tahoma', sans-serif;
  }

  .footer-bottom p {
    color:white;
  }

  .footer-bottom p:hover{
    text-decoration: underline;
  }
  






/* -------Media Query for mobile view------- */

/*nav icon*/
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }
}

@media (max-width: 700px) {
  .brand-title a {
    font-size: 1.7rem;
  }
  
  .intro p{
      width: 90%;
  }
  
}

/* blog header*/
@media (max-width:700px) {

    .blog-header{
        font-size: 28px;
    }
    
}

/*blog*/
/*Media quary for Blog section*/
@media only screen and (max-width: 1530px){

    .article {
      display: inline-block;
      width: 29%; /* Adjust width as needed */
      margin: 20px;
      text-align: left;
  }
  
  .article img {
      width: 85%;
      height: 199px;
      display: block;
      border-radius: 5px;
      margin: 0 auto;
  }
}
  
  /*2nd Media*/
  @media only screen and (max-width: 1328px){
    .article {
      display: inline-block;
      width: 29%; /* Adjust width as needed */
      margin: 20px;
      text-align: left;
  }
  
  .article img {
      width: 100%;
      height: 200px;
      display: block;
      border-radius: 5px;
      margin: 0 auto;
  }
  }

   /*3rd Media*/
   @media only screen and (max-width: 1145px){
    .article {
      display: inline-block;
      width: 29%; /* Adjust width as needed */
      margin: 20px;
      text-align: left;
  }
  
  .article img {
      width: 100%;
      height: 195px;
      display: block;
      border-radius: 5px;
      margin: 0 auto;
  }
  }

  /*4th Media*/
  @media only screen and (max-width: 1031px){ 
    .article {
      display: inline-block;
      width: 40%; /* Adjust width as needed */
      margin: 30px;
      text-align: left;
  }
  
  .article img {
      width: 100%;
      height: 200px;
      display: block;
      border-radius: 5px;
      margin: 0 auto;
  }

  }
    /*5th Media*/
    @media only screen and (max-width: 868px){ 
      .article {
        display: block;
        width: 80%; /* Adjust width as needed */
        margin: 20px auto;
        text-align: left;
    }
    
    .article img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .article h2{
      margin-bottom: 60px;
    }
}