/* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */
#page_info{
  width: 80%;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 15px;
}
#page_info span{
  color: rgb(221, 145, 158);
}
#front_poster{
  width: 80%;
  margin: auto;

}
#front_poster > img{
  width: 100%;
}

#price_sort{
  width: 80%;
  margin: auto;
  text-align: right;
  margin-top: 10px;
  margin-bottom: 40px;
  margin-top: 20px;
}
#filter_div{
margin-right: 30px;
}
#product_display > div{
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;

}
#sort_price{
  font-size: 17px;
  padding: 7px 15px;
  color: grey;
  border: 2px solid black;
  cursor: pointer;
}

#parent{
  display: flex;
  width: 80%;
  margin: auto;

}
#filter_div select{
  display: block;
}

#filter_div select{
  font-size: 17px;
  padding: 10px 15px;
  width: 100%;
  width: 220px;
  color: grey;
  border: 2px solid black;
  margin-top: 25px;
  cursor: pointer;
}

#product_display{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
  gap: 10px;
}
#product_display > div > img{
width: 70%;
}

#product_display img{
  width: 100%;
}

#product_display > div{
  padding: 20px;
}

#product_display > div >*{
  margin-bottom: 10px;
}
.cart_bag{
  margin:10px 30px 10px 30px; /*change */
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  color: white;
  background-color: #ff339a;
  cursor: pointer;
}

.cart_bag:hover{
  background-color: turquoise;
}
/* footer */


#btn > button{
  font-size: 17px;
  padding: 1rem;
  color:black;
  background-color: rgb(134, 176, 8);
  border: none;
  display: flex;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

#tag{
  margin: 0;
  text-align: center;
  justify-content: center;
  display: flex;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1.7px;
  font-weight:lighter;
  background-color: rgb(235, 235, 244);

}
#tag > h2{
  font-weight:800;
  padding-top: 10px;
}
#input{
  justify-content: center;
  display: flex;
  background-color: rgb(235, 235, 244);
  padding-bottom: 10px;
  padding-top: 10px;
}

#input > input{
  font-size: 17px;
  padding: 1rem;
  border: none;
}
#input > input[type=button]{
  background-color: black;
  color: white;
  font-weight: bold;
 
}
.style1,
.style2 {
padding: 20px 120px;
}
.style1 > h2 {
text-align: center;
color: #656565;
margin: 0 0 20px;
width: 100%;
padding: 0 15px;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
letter-spacing: 2px;
font-size: 0.88rem;
font-weight: 900;
}
.style1 > p,
.style2 > p {
margin: 0;
width: 100%;
padding: 0 0 15px;
font-size: 0.78rem;
line-height: 1.7;
color: #656565;
text-align: center;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.style2 > h3 {
text-align: center;
color: #656565;
margin: 0 0 20px;
width: 100%;
padding: 0 15px;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
letter-spacing: 2px;
font-size: 1.32rem;
letter-spacing: 0.2px;
font-weight: 490;
}
ul {
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
}

li {
list-style: none;
margin: auto 18px;
padding: 3px 3px;
}
a {
text-decoration: none;
font-weight: bold;
font-size: 20px;
color: black;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
#btn > button{
  margin-bottom: 0px;
}

.style5 > ul > li > a {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding-right: 6px;
cursor: pointer;
font-size: 15px;
color: #000;
text-decoration: none;
letter-spacing: 0.2px;
font-weight: lighter;
}

.style6 {
padding: 20px 120px;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.style6 > h3 {
text-align: center;
font-size: medium;
margin-bottom: 7px;
}

.style6 > p {
text-align: center;
letter-spacing: 1px;
line-height: 1.7rem;
color: #000;
margin-bottom: 13px;
}

.style2 {
  padding-top: 0;
}
.style3 > ul > li > a{
  font-size:medium;
}
.style1{
  margin-top: 20px;
}

@media only screen and (min-width : 0px) and (max-width : 960px) {
  #parent{
      display: grid;
      grid-template-columns: repeat(1,1fr);
      width: 80%;
      margin: auto;
  
  }
  #product_display{
      display: grid;
      grid-template-columns: repeat(2,1fr);
      text-align: center;
  }
}

/* new code*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#nav-bg > div {
  background-color: rgb(253, 247, 247);
  height: 50px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.96667rem;
}
#navbar {
  width: 80%;
  margin: auto;
  display: flex;
  height: 50px;
  justify-content: space-around;
}

#drop_down {
  width: 80%;
  margin: auto;
}
input {
  width: 15vw;
  height: 5vh;
  /* border-radius: 7px; */
  border: none;
  border-bottom: 1px solid black;
  /* border-style: unset; */
}
i {
  color: #f38;
}
.str > i:first-child {
  text-decoration: none;
  color: darkmagenta;
}
.str > i:nth-child(2) {
  text-decoration: none;
  color: orange;
}
.str > i:last-child {
  text-decoration: none;
  color: mediumvioletred;
}
.star > i:first-child,
.search,
.cart,
.user {
  text-decoration: none;
  color: mediumvioletred;
}
.star > i:nth-child(2) {
  text-decoration: none;
  color: orange;
}
.star > i:last-child {
  text-decoration: none;
  color: darkmagenta;
}

#navbar > img ~ p,
span {
  margin-top: 15px;
  color: #000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.search {
  font-size: large;
  padding: 5px;
  padding-top: 20px;
}
#drop_down > ul > li > a {
  text-decoration: none;
  color: black;
  font-size: 20px;
}

.brand > h1 {
  font-size: 50px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 470;
}

#head_bar {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  margin-bottom: 20px;
}
div > h1 {
  text-align: center;
}
#login_des span {
  text-align: right;
  margin-right: 20px;
}

#login_des #space_for {
  margin-left: 100px;
}

/*second navbar*/
#menubar {
  text-align: center;
  background-color: rgb(244, 216, 220);
}

#menubar ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

#menubar ul li {
  width: 120px;
  margin: 15px;
  padding: 5px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: medium;
}

#menubar ul li a {
  text-decoration: none;
}

#menubar ul li:hover {
  background-color: rgb(244, 216, 220);
  /* border-radius: 4px; */
}

#submenu {
  display: none;
}

#menubar ul li:hover #submenu {
  display: block;
  position: absolute;
  margin-top: 15px;
  margin-left: -15px;
  background-color: rgb(244, 216, 220);
}

#menubar ul li:hover #submenu ul {
  display: block;
  /* margin: 10px; */
}
#menubar ul li:hover #submenu ul li {
  width: 100px;
  padding: 1px;
  background: transparent;
  border-radius: 0;
  text-align: center;
}

#menubar ul li:hover #submenu ul li a:hover {
  color: black;
  background-color: pink;
}
#top_bar {
  display: flex;
  margin-top: 15px;
}
#tools {
  width: auto;
  margin-right: -50px;
}
#top_bar p {
  margin-left: 10px;
}
.fa-solid {
  margin-right: 10px;
}
.nav_bg1 {
  display: flex;
  margin-top: 15px;
  gap: 30px;
}
#active > li > a {
}
@media only screen and (min-width: 670px) and (max-width: 1000px) {
  #top_bar {
    display: none;
  }
  #menubar ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  #head_bar {
    display: block;
    text-align: center;
  }
  #head_bar > div {
    margin-top: 30px;
  }
}

@media only screen and (min-width: 0px) and (max-width: 669px) {
  #top_bar {
    display: none;
  }
  #menubar ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  #head_bar {
    display: block;
    text-align: center;
  }
  #head_bar > div {
    margin-top: 30px;
  }
  .nav_bg1 {
    display: none;
  }
}

