@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    margin: 0;
    background-color: #000;
    color: #eee;
    font-family: Poppins;
    font-size: 12px;
}
a{
    text-decoration: none;
}
header{
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}
header a{
    color: #eee;
    margin-right: 40px;
}
/*weapon section starts*/

.carousel{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    margin-top: -50px;
  }
  
  .carousel .list .item{
    position: absolute;
    inset: 0 0 0 0;
  }
  
  .carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .carousel .list .item .content{
    position: absolute;
    top: 38%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
  }
  
  .carousel .list .item .content .title{
    font-weight: bold;
    letter-spacing: 5px;
  }
  
  .carousel .list .item .content .title{
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .type{
  color: #f80000;
  font-weight: bold;
    font-size: 3em;
    list-style: 1.3em;
  }
  
  .carousel .list .item .content .des{
    font-size: 1.5em;
  }
  
  .carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
  }
  
  .carousel .list .item .buttons button{
    border: none;
    background-color: red;
    letter-spacing: 3px;
    font-weight: 500;
  }
  
  .thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }
  
  .thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
  }
  
  .thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }
  
  .thumbnail .item .content{
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  
  .thumbnail .item .content .title{
    font-weight: 500;
  }
  
  .thumbnail .item .content .description{
    font-weight: 300;
  }
  
  .arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    font-family: monospace;
    color: #fff;
    font-weight: bold;
    font-size: large;
    transition: .5s;
    z-index: 100;
  }
  
  .arrows button:hover{
    background-color: #eee;
    color: #555;
  }
  
  .carousel .list .item:nth-child(1){
    z-index: 1;
  }
  
  .carousel .list .item:nth-child(1) .content .title,
  .carousel .list .item:nth-child(1) .content .type,
  .carousel .list .item:nth-child(1) .content .des,
  .carousel .list .item:nth-child(1) .content .buttons{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }
  
  @keyframes showContent{
    to{
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }
  
  .carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.3s;
  }
  
  .carousel .list .item:nth-child(1) .content .type{
    animation-delay: 1.4s;
  }
  
  .carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s;
  }
  
  .carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s;
  }
  
  .carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 20px;
    animation: showImage .5s linear 1 forwards;
  }
  
  @keyframes showImage{
    to{
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }
  
  .carousel.next .thumbnail .item:nth-last-child(1){
    width: 0;
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
  }
  
  .carousel.prev .list .item img{
    z-index: 100;
  }
  
  @keyframes showThumbnail{
    to{
      width: 150px;
    }
  }
  
  .carousel.next .thumbnail{
    transform: translateX(150px);
    animation: transformThumbnail .5s linear 1 forwards;
  }
  
  @keyframes transformThumbnail{
    to{
      transform: translateX(150px);
    }
  }
  
  
  .carousel.prev .list .item:nth-child(2){
    z-index: 2;
  }
  
  .carousel.prev .list .item:nth-child(2) img{
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  
  @keyframes outImage{
    to{
      width: 150px;
      height: 220px;
      border-radius: 20px;
      left: 50%;
      bottom: 50px;
    }
  }
  
  .carousel.prev .thumbnail .item:nth-child(1){
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  
  .carousel.prev .list .item:nth-child(2) .content .title,
  .carousel.prev .list .item:nth-child(2) .content .type,
  .carousel.prev .list .item:nth-child(2) .content .des,
  .carousel.prev .list .item:nth-child(2) .content .buttons{
    animation: contentOut 1.5s linear 1 forwards;
  }
  
  @keyframes contentOut{
    to{
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }
  
  .carousel.next .arrows button,
  .carousel.prev .arrows button{
    pointer-events: none;
  }
  
  .carousel .time{
    width: 0%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }
  
  .carousel.next .time,
  .carousel.prev .time{
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  
  @keyframes timeRunning{
    from{ width: 100%}
      to{width: 0}
  }
  
  /*weapon section ends*/
  
/* media queries starts*/

@media (max-width:1200px){

  section{
      padding: 3rem 5%;
  }
}

@media (max-width:991px){

  html{
      font-size: 55%;
  }

  section{
      padding: 3rem 2rem;
  }

  .index .slide .content h3{
      font-size: 10vw;
  }
}

@media (max-width: 768px){

  .heading h1{
      font-size: 4rem;
  }

  #menu-btn{
      display: inline-block;
      transition: .2s linear;
  }

  #menu-btn.fa-times{
      transform: rotate(180deg);
  }

  .header .navbar{
      position: absolute;
      top: 99%; left: 0; right: 0;
      background-color: var(--black);
      border-top: var(--border);
      padding: 2rem;
      transition: .2s linear;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  .header .navbar.active{
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
  }

  .header .navbar a{
      display: block;
      margin: 2rem;
      text-align: center;
  }

  .content-section {
    flex-direction: column;
    padding: 20px;
}

.video-container, .text-container {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
}

.text-container h1, .text-container h2 {
    text-align: center;
}

.text-container p {
    text-align: center;
}
}

@media (max-width:450px){

  html{
      font-size: 50%;
  }

  .heading-title{
      font-size: 3.5rem;
  }
}

/* media queries end*/

