.first-main-container {
  height: 80vh;
  background: url(../img/products/accessories-background.jpg);
  background-position: center;
  background-size: cover;
}

.first-sub-container h1 {
  font-size: 100px;
  color: white;
  text-align: center;
  padding-top: 250px;
}

.first-sub-container p {
  text-align: center;
  font-size: 30px;
  font-weight: 600 !important;
  color: white;
  text-transform: uppercase;
}

.text {
  background: linear-gradient(-45deg, #ffffff, #457dcb, #e89a3e, #e86b3e);
  background-size: 300%;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -5px;
  text-transform: uppercase;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animated_text 10s ease-in-out infinite;
  -moz-animation: animated_text 10s ease-in-out infinite;
  -webkit-animation: animated_text 10s ease-in-out infinite;
}

@keyframes animated_text {
  0% {
    background-position: 0px 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0px 50%;
  }
}

/* second-main-container css starts*/
.second-main-container {
  height: 50vh;
}

.second-main-container h3 {
  text-align: center;
  margin-top: 20%;
  font-size: 50px;
  color: white;
}

/* second-main-container css endss*/

/* accessories css starts */
.acc-main-container {
  margin: 100px 0px;
  overflow: hidden;
}

.item-cont {
  display: flex;
  justify-content: center;
  height: 120vh;
}

.item-1 .img-cont,
.item-2 .img-cont,
.item-3 .img-cont,
.item-4 .img-cont,
.item-5 .img-cont,
.item-6 .img-cont,
.item-7 .img-cont,
.item-8 .img-cont,
.item-9 .img-cont {
  height: 90vh;
  width: 35%;
}

.item-1 .img-cont img,
.item-2 .img-cont img,
.item-3 .img-cont img,
.item-4 .img-cont img,
.item-5 .img-cont img,
.item-6 .img-cont img,
.item-7 .img-cont img,
.item-8 .img-cont img,
.item-9 .img-cont img {
  height: 100%;
  width: 100%;
}


.even {
  flex-direction: row-reverse;
}

.txt-cont h1 {
  text-align: center;
  font-size: 100px;
  color: white;
  margin-top: 50%;
  padding-left: 100px;
}

.even .txt-cont h1 {
  padding-right: 100px;
}

@media (max-width: 1180px) {
  .first-main-container {
    height: 85vh;
  }

  .first-sub-container h1 {
    padding-top: 180px;
  }

  .second-main-container {
    height: 30vh;
  }

  .item-1 .img-cont,
  .item-2 .img-cont,
  .item-3 .img-cont,
  .item-4 .img-cont,
  .item-5 .img-cont,
  .item-6 .img-cont,
  .item-7 .img-cont,
  .item-8 .img-cont,
  .item-9 .img-cont {
    height: 70vh;
    width: 40%;
  }

  .item-cont {
    display: flex;
    justify-content: center;
    height: 90vh;
  }

  .txt-cont h1 {
    width: 100vw;
    margin: 0 auto;
  }

  .txt-cont h1 {
    font-size: 60px;
    padding-left: 0px;
  }

  .even .txt-cont h1 {
    padding-right: 0px;
  }
}

@media (max-width: 811px) {
  .first-main-container {
    height: 60vh;
  }

  .first-sub-container h1 {
    padding-top: 180px;
    font-size: 70px;
  }

  .second-main-container {
    height: 20vh;
  }

  .item-1 .img-cont,
  .item-2 .img-cont,
  .item-3 .img-cont,
  .item-4 .img-cont,
  .item-5 .img-cont,
  .item-6 .img-cont,
  .item-7 .img-cont,
  .item-8 .img-cont,
  .item-9 .img-cont {
    height: 40vh;
    width: 40%;
    margin: 0 auto;
  }

  .item-cont {
    display: flex;
    align-items: last baseline;
    height: 65vh;
  }

  .txt-cont h1 {
    font-size: 60px;
  }

  .txt-cont h1 {
    margin-top: 40px;
    font-size: 40px;
  }
}

@media (max-width: 451px) {
  .first-main-container {
    height: 75vh;
  }

  .acc-main-container {
    margin: 0px;
    overflow: hidden;
  }

  .first-sub-container h1 {
    padding-top: 220px;
    font-size: 50px;
  }

  .second-main-container h3 {
    font-size: 30px;
  }

  .second-main-container {
    height: 15vh;
  }

  .item-1 .img-cont,
  .item-2 .img-cont,
  .item-3 .img-cont,
  .item-4 .img-cont,
  .item-5 .img-cont,
  .item-6 .img-cont,
  .item-7 .img-cont,
  .item-8 .img-cont,
  .item-9 .img-cont {
    height: 65vh;
    width: 90%;
    margin: 0 auto;
  }

  .item-cont {
    display: block;
    margin-bottom: 70%;
    background-color: #21212181;
    height: 100%;
    border-radius: 8px;
  }

  .txt-cont h1 {
    padding-bottom: 30px;
    margin-top: 40px;
    font-size: 40px;
  }

  .first-sub-container p {
    font-size: 30px;
  }
}

@media (max-width: 376px) {

  .first-main-container {
    height: 95vh;
  }
  
  .second-main-container h3 {
    padding-bottom: 30px;
    font-size: 25px;
  }
  
  .second-main-container {
    height: 15vh;
  }
  
  .item-1 .img-cont,
  .item-2 .img-cont,
  .item-3 .img-cont,
  .item-4 .img-cont,
  .item-5 .img-cont,
  .item-6 .img-cont,
  .item-7 .img-cont,
  .item-8 .img-cont,
  .item-9 .img-cont {
    height: 70vh;
    width: 95%;
    margin: 0 auto;
  }
  
  .item-cont {
    position: relative;
    display: block;
    margin-bottom: 70%;
    height: 85vh;
  }
  
  .txt-cont {
    width: 100vw;
  }

  .txt-cont h1 {
    font-size: 30px;
  }
  
  .item-6 h1,
  .item-7 h1 {
    position: absolute;
    left: -20px;
  }
  
  .first-sub-container h1 {
    font-size: 40px;
  }
  
  .first-sub-container p {
    font-size: 22px;
    margin-top: 20px;
  }

  .acc-main-container {
    margin: 100px auto 70px;
    overflow: hidden;
  }

}

@media (max-width: 326px) {
  .item-cont {
    height: 90vh;
  }
  
  
  .first-main-container {
    height: 98vh;
  }

  .first-sub-container h1 {
    font-size: 40px;
    padding-top: 180px;
  }
  .first-sub-container p {
    font-size: 20px;
  }
}

/* accessories css ends */