
.swiper {
    width: 100%;
    height: auto;
    padding: 90px 30px;
    background-color:  #212121;
  }
 

  .swiper-slide {
    background-color: none;
    width: 400px;
    height: 400px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 5px 5px 10px rgb(25, 25, 25),
              -5px -5px 10px rgb(44, 44, 44);
  }
  

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .swiper-slide a{
    position: absolute;
    bottom: 20px;
    background-color: var(--orange);
    padding: 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    z-index: 1;
  }

  .slide1{
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/assets/course1.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .slide2{
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/assets/course2.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .slide3{
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/assets/course3.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .slide4{
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/assets/course4.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .slide5{
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/assets/course5.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }


  /* From Uiverse.io by Yaseen549 */ 

  @media screen and (max-width: 768px){
    /* Swiper Slider - Index Page */
    .swiper {
      width: 100%;
      height: auto;
      padding: 80px 20px;
    }
    .swiper-slide{
       width: 180px;
       height: 180px;
       padding: 10px;
    }
    .swiper-slide img {
      width: 100%;
      height: auto;
       display: block;
       object-fit: cover;
     }

   .swiper-slide a{
       font-size: 12px;
   }
  }
 
 