.main-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }
  .main-heading h1{
     
      text-align: center;
      padding-top: 125px;
      color: rgb(247, 242, 242);
      font-size: 35px;
      margin-bottom: 25px;
  }

  .main-heading button {
    width: 300px;
    height: 40px;
    font-size: 15px;
    background-color: rgb(188, 109, 109);
    font-weight: bold;
    cursor: pointer;
  }
  
  .main-heading p {
   
    text-align: center;
    margin-bottom:55px;
    color: rgba(247, 242, 242, 0.76);
    font-size: 17px;
  }


  
  
  .course {
    min-height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(../images/Farmak2.jpg) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    overflow: hidden;

  }
  
  
  
  .course .box-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width:1300px ;
    margin: auto;
   
  }
  
  .course .box-container .box {
    min-height: 25rem;
    width: 35rem;
    height: auto;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
    margin: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  
  .course .box-container .box h3 {
    font-size: 17px;
    color: var(--blue);
    transition: 0.2s;
    text-transform: none;
    margin: 17px 0 ;
    padding: 18px 15px;
    text-decoration: underline;
    
  }
  
  .course .box-container .box p {
    font-size: 1.3rem;
    padding: 0.7rem 2rem;
    color: #666;
    margin-bottom: 8px;
  }
  .course .box-container .box img {
    max-height: 14.5rem;
    max-width: 25rem;
    line-height: 6rem;
    text-align: center;
    border-radius: 10px;    
    margin-bottom: 2rem;
    transition: 0.2s;
    object-fit: cover;
   
  }

  .course .box-container .box button {
    font-size: 1.4rem;
    padding: 7px;
    color: white;
    border-radius: 10px;
    border: 1px red solid;
    box-shadow: 3px 7px #888888;;
  
    background: red;
    width: 180px;
    cursor: pointer;
  }
  
  .course .box-container .box:hover i {
    transition: 1s;
    background: var(--blue);
    transform: scale(1.2);
  }
  
  .course .box-container .box:hover h3 {
    color: var(--red);
  }
  
  .course .box-container .box button:hover {
    transition: 1s;
    background: var(--blue);
    box-shadow: none;
    border: 1px blue solid;
  }
  
  
  
  @media (max-width: 430px){
      .main-heading h1{
          font-size: 25px;
          padding-left: 3px;
        padding-right: 3px;
      }

      .main-heading p{
        font-size: 17px;
        padding-left: 3px;
      padding-right: 3px;
    }
    .main-heading button{
      width: 240px;
      font-size: 15px;
    }

      .filter-input{
          width: 270px;
      }
      .one-student {
          
          width: 270px;    
      }
      .course .box-container .box button{
        width: 140px;
      }
      .course .box-container .box h3{
        font-size: 15px;
      }
  }

  @keyframes fromTop{
    0%{
      opacity: 0;
      transform: translateY(-50px);
  }
  
    100%{
      opacity: 1;
      transform: translateY(0px);
  }
  }
  
  @keyframes fromLeft{
    0%{
      opacity: 0;
      transform: translateX(-50px);
  }
  
    100%{
      opacity: 1;
      transform: translateX(0px);
  }
  }

  .pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 13px;
    margin: 5px 4px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #ddd;
}

.pagination a:hover {
  transition: 0.5s;
  background-color: rgb(98, 98, 211);
  border: 1px solid rgb(98, 98, 211);
  color: white;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}