@import url('https://fonts.cdnfonts.com/css/dengxian');
.fst-italic{
  font-style: normal !important;
}
@font-face {
  font-family: 'dengxian' !important;
  src: url(Deng.otf);
}

/*Button*/
.btn{
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    font-size: 16px;
    margin: 20px 0;
  }
  
  .btn:hover{
    background-color: white;
    color: black;
    transition: 0.5s;
  }
  
  /* Slider */
  
  .slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    height: 1100px;
    /* margin-bottom: 100px; */
  }
  
  .slide {
      display: flex;
      flex: 0 0 100%;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 50%; 
      transition: transform 1s ease-in-out;
      transform: translateX(100%);
      margin-top: 100px;
    }
  
  .slide.active {
    transform: translateX(0);
  }
  
  .text-box {
    
  text-align: justify;
    flex: 7;
    display: flex;
    flex-direction: column;
    
    align-items: flex-start;
    color: black;
    padding: 4em;
    box-sizing: border-box;
    width: 100%;
  }
  
  .text-box h2{
    color: black;
  }

  .img-slid {
    object-fit: contain;
    flex: 7;
    width: 70px;
    height: auto;
    box-sizing: border-box;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
  }
  
  #prevBtn {
    left: 10px;
  }
  
  #nextBtn {
    right: 10px;
  }
  
  /* Background colors for each slide*/
  #slide1 { background-color: #fff; }
  #slide2 { background-color: #fff; }
  #slide3 { background-color: #fff; }
  
  
 
  /* Tablet */
  @media screen and (max-width: 768px) {
    .slide {
      flex-direction: column;
      height: 100%;
    }
    .slider-container{
      height: 1550px;
    }
  
    .text-box {
      order: 2;
      width: 100%;
      padding: 2em;
    }
  
    .img-slid {
      width: 100%;
    }
  }
  
  /* Mobile */
  @media screen and (max-width: 480px) {
    .slide {
      flex-direction: column;
      height: 100%;
    }

    .slider-container{
      height: 1550px;
    }
  
    .text-box {
      order: 2;
      width: 100%;
      padding: 1em;
    }
  
    .img-slid {
      width: 100%;
    }
  }
  