* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}


/* navbar */

nav {
  background: #1a1a1a;
  height: 80px;
  width: 100%;
  position: sticky;
  top: 0;
  padding-left: 30px;
  padding-right: 30px;
}

nav img {
  margin: 20px;
}

nav ul {
  float: right;
  margin-right: 15px;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
  color: white;
}

nav ul li a {
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
}

nav img {
  width: 150px;
}

a.active,
a:hover {
  color: rgb(255, 50, 120);
  transition: 0.5s;
}

.checkbtn {
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

@media (max-width: 952px) {
  label.logo {
    font-size: 30px;
    padding-left: 50px;
  }
  nav ul li a {
    font-size: 16px;
  }
}

@media (max-width: 858px) {
  .checkbtn {
    display: block;
  }

  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 16px;
  }

  a:hover,
  a.active {
    background: none;
    color: rgb(255, 50, 120);
  }

  #check:checked ~ ul {
    left: 0;
  }
}

/* container */


#container {
  display: flex;
  width: 85%;
  margin: auto;
  gap: 100px;
  margin-top: 50px;
}

#product {
  display: flex;
  gap: 20px;
  border: 1px solid #9e9e9e;
  margin-top: 10px;
}

#form{
  margin-top: 10px;
}

.innerLeft{
    margin-top: 15px;
}

.productLeft img {
  height: 100%;
}

.productRight {
  padding: 20px;
}

.productRightTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.productRightTop button {
  border: none;
  font-weight: bold;
  font-size: 20px;
  background-color: white;
  cursor: pointer;
}

img {
  width: 150px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.qty button {
  padding: 3px 10px;
  font-weight: bold;
  font-size: 20px;
  border: 2px solid rgb(255, 50, 120);
  background-color: white;
  color: rgb(255, 50, 120);
  cursor: pointer;
}

.qty button:hover {
  background-color: rgb(249, 224, 232);
}

.brand {
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
}

.category {
  font-size: 16px;
  margin-top: 5px;
}

.price {
  font-size: 18px;
  margin-top: 5px;
}

.cartTotal {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  /* right */

.first input {
  padding: 10px 10px 8px 10px;
  font-size: 16px;
  margin-top: 20px;
  width: 100%;
}

.second input {
  display: block;
  padding: 10px 10px 8px 10px;
  margin-top: 20px;
  font-size: 16px;
  width: 100%;
}

.third {
  display: flex;
  gap: 20px;
}

.third input {
  padding: 10px 16px 8px 10px;
  font-size: 16px;
  width: 100%;
  margin-top: 20px;
}

.four input {
  padding: 10px 10px 8px 10px;
  font-size: 16px;
  margin-top: 20px;
}

.style3 {
  background-color: black;
  padding: 15px;
  color: white;
  margin-top: 20px;
  border: none;
  width: 50%;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: bold;
}

.style3:hover {
  background-color: rgb(50, 48, 48);
}

@media all and (min-width: 481px) and (max-width: 768px) {
  #container {
    display: flex;
    flex-direction: column;
    width: 85%;
    margin: auto;
    gap: 40px;
  }
}

@media all and (min-width: 50px) and (max-width: 480px) {
  #container {
    display: flex;
    flex-direction: column;
    width: 85%;
    margin: auto;
    gap: 40px;
  }

  .third {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* footer */

#footer {
  display: flex;
  width: 100%;
  padding: 30px;
  background-color: rgb(25, 21, 21);
  color: whitesmoke;
  justify-content: space-around;
  margin-top: 100px;
}

#footer div {
  width: 25%;
}

#footer div img {
  width: 190px;
}

#footer div p {
  margin-top: 20px;
}

.android {
  margin-top: 20px;
  margin-bottom: 10px;
}

#social {
  display: flex;
  gap: 10px;
  color: grey;
  align-items: center;
  font-size: 20px;
  margin-top: 20px;
}

@media all and (min-width: 481px) and (max-width: 768px) {
  #footer {
    flex-direction: column;
    display: flex;
    width: 100%;
    padding: 30px;
    background-color: rgb(25, 21, 21);
    color: whitesmoke;
    justify-content: space-around;
    margin-top: 100px;
  }

  #footer div {
    width: 70%;
  }
}

@media all and (min-width: 50px) and (max-width: 480px) {
  #footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px;
    background-color: rgb(25, 21, 21);
    color: whitesmoke;
    justify-content: space-around;
    margin-top: 100px;
  }

  #footer div {
    width: 80%;
  }
}
