* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ---------------------NAVBAR CSS------------------------ */

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: blue;
  color: #fff;
    position: fixed;
    top: 0;
    z-index: 10000;

}

.logo {
  font-size: 22px;
  font-weight: bold;
}

/* MENU */
.menu {

  display: flex;
  list-style: none;
  gap: 25px;

}

.menu a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;

}

/* TOGGLE */
.toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.close-btn{
  display: none;
}

/* MOBILE */
@media (max-width: 768px) {

  .toggle {
    display: block;
    border: 2px solid #222;
    padding: 0;
    margin: 0;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background: green;
    flex-direction: column;
    padding-top: 60px;
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .menu li {
    margin: 15px 20px;
  }

  .menu.active {
    right: 0;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
  }

  .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }

  .close-btn{
  display: block;
}
}

/* ---------------------END NAVBAR CSS Start Pc Code------------------------ */
.container{
  width: 100%;
  height: auto;
  padding: 20px;
  padding-top: 100px;
  margin: 0;
  float: left;
  box-sizing: border-box;
}

.coursebox{
  width: 29%;
  height: 200px;
  border: 2px solid red ;
  float: left;
  margin: 20px;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 0;
  border-radius: 10px;
  cursor: pointer;
  /*display: flex;
  justify-content: center;
  align-items: center; */
  overflow: hidden;
  font-size: 25px;
  font-weight: bold;
  font-family: Cambria;
}

.hindi-title{
  font-size: 20px;
  margin-top: 15px;
}


.coursearea{
  width: 75%;
  height: auto;
  padding: 20px;
  margin: 0;
  float: left;
  box-sizing: border-box;
   
}

.sidebar{
  width: 25%;
  height: auto;
  margin: 0;
  padding: 10px;
  margin-top: 20px;
  box-sizing: border-box;
  float: right;
  border: 2px solid red;
  border-radius: 5px;

}



.button {
  display: inline-block;
  padding: 5px 10px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #04AA6D;
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px #999;
  margin-top: 50px;

}

.button:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

/*---------------Tablet Responsive Code --------------------------*/
@media(max-width: 1024px){
  
.coursearea{
  width: 100%;
  height: auto;
  padding: 20px;
  margin: 0;
  float: left;
  box-sizing: border-box;
  
}

  .coursebox{
  width: 30%;
  height: 100x;
  border: 2px solid red ;
  float: left;
  margin: 10px;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 0;
}


.sidebar{
  width: 30%;
  height: 1000px;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  float: right;
  border: 2px solid red;
  border-radius: 5px;
  display: none;

}

.button {margin-top: 20%;}
}


/*---------------Mobile Responsive Code --------------------------*/

@media(max-width: 767px){
  .coursebox{
  width: 45%;
  height: 100x;
  border: 2px solid red ;
  float: left;
  margin: 5px;
  padding: 5px;
  box-sizing: border-box;
  margin-top: 20px;
  margin-left: 20px;

}

.coursearea{
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  float: left;
  box-sizing: border-box;
 
}

}

@media(max-width: 550px){
  .coursebox{
  width: 40%;
  height: 100x;
  border: 2px solid red ;
  float: left;
  margin: 5px;
  padding: 5px;
  box-sizing: border-box;
  margin-top: 20px;
  margin-left: 20px;

}

.coursearea{
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  float: left;
  box-sizing: border-box;
 
}

.coursebox{
  font-size: 20px;
}


}

/*---------------Small Mobile Responsive Code --------------------------*/

@media(max-width: 426px){
 
.container{
  width: 100%;
  height: auto;
  padding: 0;
  padding-top: 100px;
  margin: 0;
  float: left;
  box-sizing: border-box;
}

.coursearea{
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  float: left;
  box-sizing: border-box;

}

  .coursebox{
  width: 95%;
  height: 100x;
  border: 2px solid red ;
  float: left;
  margin: 10px;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 0;
}


}

/* ---------------------START FOOTER---------------- */
.footer{
  width: 100%;
  height: 100px;
  float: left;
  margin: 0;
  padding: 20px;
  background-color: #323232;
  box-sizing: border-box;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
