@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  .image-container {
    background: url(./imgVideos/bg6.jpg );
    height: 100vh;
    background-position: top;
    background-repeat: inherit;
    background-size: contain;
    position: relative;
    transition: all 0.6s ease-in-out;
  }
  
  img {
    position: absolute;
    bottom: 20px;
    right: 50px;
    width: 100px;
    cursor: pointer;
    animation-name: bounce;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
  }
  
  @keyframes bounce {
    0% {
      transform: translateY(0);
      animation-timing-function: ease-out;
    }
    50% {
      transform: translateY(-20px);
      animation-timing-function: ease-in;
    }
    100% {
      transform: translateY(0);
      animation-timing-function: ease-out;
    }
  }
  
  .trailer-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.7s;
  }
  
  .trailer-container video {
    position: relative;
    max-width: 900px;
    outline: none;
  }
  
  .close-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    font-family: sans-serif;
    padding: 10px;
    border-radius: 100%;
  }
  
  @media (max-width: 991px) {
    .trailer-container video {
      max-width: 90%;
    }
    .image-container{
      background-size:cover;
    }
  }
  
@media  screen and (max-width:600px) {
  .image-container {
    background: url(./imgVideos/mbg2.jpg);
    background-position: center;
    background-size: cover;
  }  
  
}

  /* JavaScript */
  .active.trailer-container {
    visibility: hidden;
    opacity: 0;
  }