* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#div1 {
  height: 40px;
  width: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.animated-text {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 30px;
  background: black;
  color: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.line-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: scrollText 4s infinite;
}

.line {
  text-transform: uppercase;
  font-size: 13px;
  font-family: 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-align: center;
  line-height: 35px;
}

.toptext {
  text-decoration: underline;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.toptext:hover {
  text-decoration: none;
}

@keyframes scrollText {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(-60px);
  }
}


/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  color: black;
  padding: 0 20px;
  /* border-bottom: 2px solid #e4e4e4; */
  background-color: white
}

.header:hover {
  background-color: white;
  transition: all 0.5s ease-in;
}

#right-header {
  display: flex;
  width: 300px;
  justify-content: space-evenly;
}

@media (max-width: 900px) {
  #right-header {
    display: none;

  }
}

/* Header Items */
#hamb,
#baroquetext,
#pakistan,
#arrow,
#person,
#search,
#lock {
  cursor: pointer;
  line-height: 80px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 500;
  text-align: center;
}

#baroquetext {
  margin-top: 20px;
  margin-left: 250px;
}

#pakistan {
  font-size: 20px;
  font-weight: 100;
}

@media (max-width:500px) {
  .header {
    width: 100%;
  }

  #baroquetext {
    margin-left: 0px;
  }
}

/*  */


.flex-con {
  display: flex;
  flex-direction: row;
  margin: 50px auto;
  width: 90%;
  justify-content: space-between;
  align-items: center;
}

@media (max-width:1000px) {
  .flex-con {
    flex-direction: column;

  }

  .item2 img {
    width: 700px;
    height: 400px;
  }

}

@media (max-width:450px) {
  .item2 img {
    width: 250px;
    height: 300px;
  }
}

.container-text {
  width: 40%;
  height: 700px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  align-items: flex-start;
}

#dress-name {
  color: #848383;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#dress-price {
  color: black;
}

@media (max-width:1000px) {
  .container-text {
    width: 80%;
    text-align: center;
    font-size: 20px;
  }
}

#unstitched-btn {
  height: 40px;
  width: 120px;
  margin: 20px auto;
  background: white;
  border: 1px solid #717171;
  color: #2e2d2d;

}

#stitched-btn {
  height: 40px;
  width: 120px;
  margin: 20px auto;
  background: white;
  border: 1px solid #717171;
  color: #2e2d2d;

}

#default-btn {
  height: 40px;
  width: 120px;
  margin: 20px auto;
  margin-bottom: 5px;
  background: white;
  border: 1px solid #717171;
  color: #2e2d2d;

}

#size-btn {
  height: 40px;
  width: 80px;
  background: white;
  border: 1px solid #b7b4b4;
  color: #2e2d2d;
}

.cartbutton {
  height: 40px;
  width: 200px;
  background-color: black;
}

.cartbutton a {
  text-decoration: none;
  color: white;
  font-size: 15px;
}


.cartbutton:hover {
  border: 2px solid black;
  background-color: white;
  color: black;
  transition: 1s all;
}

a:hover {
  color: black;
}



/*  */

#textr {
  margin-top: 100px;
  margin-bottom: 50px;
  text-align: center;
  font-size: 30px;
  color: black;
}

/* 4 samll imges */

.container4 {
  width: 90%;
  margin: 50px auto;
  display: flex;
  column-gap: 10px;
  flex-wrap: wrap;
  row-gap: 10px;
  justify-content: center;
}

.item4 {
  height: 400px;
  width: 300px;

}

.item4 p {
  margin: 5px auto;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  font-family: serif;

}

.containerlast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 200px;
  width: 1250px;
  margin-top: 100px;
  margin-bottom: 130px;
}


@media (max-width:750px) {
  .containerlast {
    height: 700px;
    width: 300px;
    display: flex;
    margin-left: 50px;
    flex-direction: column;
  }
}

.itemlast {
  margin-left: 20px;
  margin-right: 20px;
  height: 180px;
  cursor: pointer;
  line-height: 30px;
  color: rgb(98, 96, 96);
}

@media (max-width:750px) {
  .itemlast {
    width: 250px;
    text-align: center;
  }
}

/*  */
.containerlast {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  width: 90%;
  margin: 50px auto;

}

.itemlast {
  cursor: pointer;
  line-height: 30px;
  color: rgb(98, 96, 96);
  width: 277px;

}

/*  */
.containerlast {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  width: 90%;
  margin: 50px auto;

}

.itemlast {
  cursor: pointer;
  line-height: 30px;
  color: rgb(98, 96, 96);
  width: 277px;

}


@media (max-width: 1000px) {
  .containerlast {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }
}

@media (max-width: 500px) {
  .containerlast p {
    grid-template-columns: 1fr;
    row-gap: 10px;
    justify-content: center;
  }
}