@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 9999;
  }

  main {
    padding-top: 200px;
  }

  .logo1 {
    width: 125px;
    height: auto;
  }

  nav {
    margin-top: 10px;
  }

  .navbar {
    flex-direction: row;
    gap: 50px;
    font-size: 18px;
    padding-bottom: 20px;
  }

  .icons {
    gap: 10px;
  }

  .icons .icon {
    width: 30px;
  }

  .ending {
    flex-direction: column;
    font-size: 18px;
    gap: 20px;
    align-items: center;
  }

  .logo3 {
    width: 250px;
    height: auto;
  }

  .shopnow {
    font-size: 20px;
    padding: 10px 20px;
  }
}

@media (max-width: 350px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  main {
    padding-top: 250px;
  }

  .logo2 {
    width: 70%;
  }
}

/* Individual Product Page Media Queries */
@media (max-width: 900px) {
  .mainpart {
    flex: 1;
    flex-direction: column;
    justify-content: center;
  }

  .product {
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .productcontent {
    border-radius: 20px;
    padding-left: 1px;
    margin: 0 auto;
    max-width: 500px;
  }

  .addtocart,
  .productprice,
  .colors-product,
  .sizes,
  .sizes span,
  .sizeoutofstock,
  .instockdotdiv {
    font-size: 15px;
    gap: 15px;
  }


  .productcontent,
  .productdescription {
    font-size: 15px;
  }


  .productname {
    font-size: 30px;
  }

  .dotproduct1,
  .dotproduct2,
  .dotproduct3,
  .dotproduct4,
  .dotinstock {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
  }

  .product img {
    height: 500px;
    width: auto;
  }
}

/* Individual Product Page Media Queries */
@media (max-width: 1268px) {

  .product {
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    justify-content: center;
  }
}