:root {
  /* Colors */
  --blue: #2874f0;
  --pink: #ff3e6c;
  --red: #dc3545;
  --yellow: #e2b032;
  --lightgreen: #42b72a;
  --purple: #7952b3;
  --lightOrange: #ff9f00;
  --orange: #fb641b;
  --greenishBlue: #17a2b8;
  --grey: #f0e9e6;
  --maroon: #cd486b;
  --black: #111827;
  --darkBlue: rgb(20, 110, 180);
}

/* Buttons */
/* Primary Button */
.primary-button {
  cursor: pointer;
  padding: 0.8rem 2rem;
  color: white;
  font-size: medium;
  box-shadow: 0px 2px 4px 1px rgb(0 0 0 / 20%);
  border: none;
  border-radius: 0.2rem;
}
.primary-button.purple {
  background-color: var(--purple);
}
.primary-button.greenishBlue {
  background-color: var(--greenishBlue);
}
.primary-button.blue {
  background-color: var(--blue);
}
.primary-button.pink {
  background-color: var(--pink);
}
.primary-button.red {
  background-color: var(--red);
}
.primary-button.lightOrange {
  background-color: var(--lightOrange);
}
.primary-button.yellow {
  background-color: var(--yellow);
}
.primary-button.lightgreen {
  background-color: var(--lightgreen);
}
.primary-button.orange {
  background-color: var(--orange);
}
.primary-button.grey {
  background-color: var(--grey);
}
.primary-button.maroon {
  background-color: var(--maroon);
}
.primary-button.black {
  background-color: var(--black);
}
.primary-button.darkBlue {
  background-color: var(--darkBlue);
}

/* icon button */
.icon-button {
  cursor: pointer;
  background-color: var(--grey);
  border: none;
  padding: 0.5rem;
}

.icon-button > img {
  height: 30px;
  width: 30px;
}

.transparentBtn {
  cursor: pointer;
  padding: 0.2rem 1rem;
  background-color: white;
  color: black;
  border: 2px solid var(--grey);
  outline-style: none;
}

/* social media icon */
.socialIcon > img {
  height: 3rem;
  width: 3rem;
}

/* Avatar */
.faceavatar {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.avatar-alphabet {
  width: 3rem;
  height: 3rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 2rem;
  align-content: center;
  font-weight: 900;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* alert */
.alert {
  display: flex;
  align-items: center;
}

.alertText {
  background-color: white;
  border: 1px solid black;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  width: 20rem;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem 1rem 0.5rem;
  align-items: center;
}

.alertText.success {
  color: green;
}
.alertText.failure {
  color: red;
}
.alertText.warning {
  color: #d97706;
}
.alertText.info {
  color: var(--blue);
}

.alertIcon {
  height: 42px;
  padding: 0.3rem 0.5rem;
}

.alertIcon.success {
  background-color: #42b72a;
}
.alertIcon.failure {
  background-color: rgb(179, 11, 11);
}
.alertIcon.warning {
  background-color: #d97706;
}
.alertIcon.info {
  background-color: var(--blue);
}

.alert > div > img {
  width: 40px;
  height: 40px;
}

.cross {
  cursor: pointer;
}

@media screen and (max-width: 520px) {
  .alertText {
    width: 14rem;
  }
}

/* Navbar */
.nav1__navList {
  max-width: 100%;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111827;
  color: white;
  padding: 1rem;
}

.nav1__navEnd {
  display: flex;
}

.nav1__navStart > a {
  margin-right: 1rem;
  text-decoration: none;
  color: inherit;
}

.nav1__navEnd > span {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.nav1__navEnd > span > button {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid white;
  color: white;
  background-color: #111827;
}

.nav1__navEnd > span > button:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}

@media screen and (max-width: 564px) {
  .nav1__navEnd > span > input {
    display: none;
  }
}

.nav2__navList {
  background-color: #111827;
  display: flex;
  list-style-type: none;
  padding: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.nav2__navStart > a {
  margin-right: 1rem;
  text-decoration: none;
  color: white;
  font-size: larger;
}

@media screen and (max-width: 400px) {
  .nav2__navStart > a {
    margin: 0 0.3rem;
  }
}

@media screen and (max-width: 480px) {
  .nav2__navStart > a {
    font-size: medium;
  }
}

.primaryInput {
  padding: 0.75rem 1rem;
  font-size: 100%;
  border-radius: 0.3rem;
  outline: none;
  border: solid 2px var(--grey);
  max-width: 50%;
  width: 400px;
}

.focus:focus {
  border: var(--blue) solid 2px;
}

.roundInput {
  padding: 0.75rem 1rem;
  font-size: 100%;
  border-radius: 2rem;
  outline: none;
  border: solid 2px var(--grey);
  max-width: 50%;
  width: 400px;
}

.searchInput {
  padding: 0.75rem 1rem;
  font-size: 100%;
  border-radius: 0.3rem;
  outline: none;
  border: solid 2px var(--grey);
  max-width: 70%;
  width: 100px;
}

.searchInput:focus {
  width: 300px;
}

.searchInput-NonExpand {
  padding: 0.75rem 1rem;
  font-size: 100%;
  border-radius: 0.3rem;
  outline: none;
  border: solid 2px var(--grey);
  max-width: 70%;
  width: 100px;
}

@media screen and (min-width: 720px) {
  .searchInput-NonExpand {
    width: 300px;
  }
}

.passwordInput {
  padding: 0.75rem 1rem;
  font-size: 100%;
  border-radius: 0.3rem;
  outline: none;
  border: solid 2px var(--grey);
  max-width: 50%;
  width: 400px;
}

.card {
  border: 2px solid var(--grey);
  width: 15rem;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  word-break: break-all;
}

.card:hover {
  box-shadow: 2px 4px 8px 2px rgb(0 0 0 / 25%);
}

.card > img {
  width: 15rem;
  max-width: 100%;
  height: 16rem;
}

.card > button {
  width: 100%;
}

.card2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid 1px rgb(197, 194, 194);
  background-color: #ebecf0;
  width: fit-content;
  padding: 0.3rem;
  font-family: "Poppins", sans-serif;
}

.card2 > img {
  max-width: 20rem;
  height: 15rem;
  border-radius: 1rem;
}

.productInfo {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.productInfo > p {
  margin: 0;
}

.badge {
  background-color: var(--red);
  color: white;
  font-size: small;
  padding: 0.1rem 0.2rem;
  border-radius: 0.5rem;
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
}

.heart {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
}

.ecomm__icon {
  height: 2rem;
  width: 2rem;
}

.iconWithNum {
  position: relative;
}

.iconWithNum > span {
  position: absolute;
  background-color: var(--red);
  color: white;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 50%;
  bottom: 1.5rem;
  left: 1.5rem;
}
