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

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100vw;
  height: 60px;
  padding: 20px;
  align-items: center;
  background-color: plum;
}

header .logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  width: 10%;
}

header .logo i {
  font-size: 20px;
  display: none;
}
header .logo img{
  width: 50px;
  height: 80%;
  border: solid white;
  border-radius: 50%;
}


header .desktopNav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: 60px;
  width: 60%;
}

header .desktopNav ul {
  display: flex;
  justify-content: left;
  align-items: center;
  height: 60px;
  width: 100%;
  gap: 30px;
  padding: 20px;
}

header .desktopNav ul li {
  list-style-type: none;
  
}

.desktopNav ul li a {
  text-decoration: none;
  color: black;
}

ul :hover {
  text-decoration: underline;
}
header .user {
  display: flex;
  justify-content: space-between;
  width: 10%;
  height: 60px;
  align-items: center;
}

.hero {
  width: 100vw;
  height: 90vh;
  display: flex;
  justify-content: space-between;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 20px;
  background-color: snow;
}
.hero .heroImage {
  display: flex;
  width: 60%;
  height: 100%;
}
.hero .heroImage img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 10px;
}

.hero .blockText {
  display: flex;
  flex-direction: column;
  width: 40%;
  align-items: flex-start;
  justify-content: space-around;
  padding-left: 30px;
}

.blockText .text {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 35%;
  flex-direction: column;
  gap: 10px;
}

.blockText h1 {
  text-align: left;
  font-family: sans-serif;
  font-size: larger;
  font-weight: 200px;
}

.blockText .but {
  display: flex;
  flex-direction: column;
  width: 30%;
  height: 20%;
  justify-content: center;
  align-items: center;
}

button {
  width: 50px;
  height: 30px;
  color: black;
  border: solid plum;
  border-radius: 5px;
  background-color: plum;
}

.blockText a {
  text-decoration: none;
  position: fixed;
  top: 76%;
  right: 15%;
  color: black;
}
.blockText a i {
  color: green;
  position: fixed;
  right: 10%;
  top: 75%;
  font-size: 50px;
}
section {
  text-align: left;
  background-color: plum;
  border-radius: 10%;
  height: 30px;
  width: 130px;
  padding: 5px;
  border: solid black;
  border-radius: 10px;
}

.product-card {
  width: 100vw;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.product-card .pcard {
  display: flex;
  height:450px;
  width: 25%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 15px;
  gap: 7px;
  z-index: 10;
  box-shadow: 20px;
  border: solid plum;
  margin-left: 30px;
  margin-right: 30px;
}

 .im {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.im img {
  width: 80px;
  height: 100px;
  object-fit: contain;
  align-items: right;
object-fit: contain;
}

.amount {
  width: 80%;
  height: 80px;
  border: solid plum;
  border-radius: 10px;
  opacity: 0.7;
  padding: 5px;
}

.category {
  
  width: 80%;
  height: 80px;
  border: solid plum;
  border-radius: 10px;
  opacity: 0.7;
  padding: 10px;
}

.description {
  width: 80%;
  height: 90px;
  margin-bottom: 5px;
  padding: 10px;
  opacity: 0.7;
  padding: 5px;
  border-radius: 10px;
}
.mobileNav {
  display: none;
}

@media (max-width: 500px) {
  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100vw;
    height: 60px;
    padding: 20px;
    align-items: center;
    background-color: plum;
    gap: 20px;
  }

  header .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 10%;
  }

  header .logo i {
    font-size: 20px;
    display: none;
  }

  header .desktopNav {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 30%;
  }
  header .logo img{
    width: 50px;
    height: 80%;
    border: solid white;
    border-radius: 50%;
  }

  .mobileNav {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 70%;
    padding: 15px;

  }

  header .mobileNav ul {
    display: flex;
    justify-content: space-between;
    align-items: left;
    flex-direction: column;
    height: 60px;
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
  }

  header .mobileNav ul {
    list-style-type: none;
  }

  header .mobileNav ul li a {
    text-decoration: none;
    color: black;
  }

  ul :hover {
    text-decoration: underline;
  }

  header .user {
    display: flex;
    justify-content: space-between;
    width: 20%;
    height: 60px;
    align-items: center;
  }

  #menu-btn{
    font-size: 20px;
    position: absolute;
    right: 100px;
    top: 20px;


  }
  #close{
    font-size: 20px;
    position: absolute;
    left: 70px;
    top: 30px;


  }
  

  /* Hero section */

  .hero {
    width: 100vw;
    height: 75%;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
    gap: 1px;
    background-color: snow;
    flex-direction: column;
  }
  .hero .heroImage {
    display: flex;
    width: 90%;
    height: 60%;
  }
  .hero .heroImage img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 10px;
  }

  .hero .blockText {
    display: flex;
    flex-direction: column;
    width: 90%;
    align-items: flex-start;
    justify-content: space-around;
    padding-left: 10px;
  }

  .blockText h1 {
    text-align: left;
    font-family: sans-serif;
    font-size: larger;
    font-weight: 200;
  }

  button {
    width: 100px;
    height: 50px;
    background-color: plum;
    border-radius: 30px;
    gap: 30px;
  }

  .blockText a {
    text-decoration: none;
    position: fixed;
    top: 76%;
    right: 15%;
    color: black;
  }
  .blockText a i {
    color: green;
    position: fixed;
    right: 10%;
    top: 75%;
    font-size: 50px;
  }
  section {
    text-align: left;
    background-color: plum;
    border-radius: 10%;
    height: 30px;
    width: 130px;
    padding: 5px;
    border: solid black;
    border-radius: 10px;
  }

  .product-card {
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;

  }

  .product-card .pcard {
    display: flex;
    height: 80%;
    width: 60%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
    gap: 7px;
    z-index: 10;
    box-shadow: 20px;
    border: solid plum;
  }

   .im {
    height: 80%;
    width: 100%;
  }
  .im img {
    width: 100px;
    height: 150px;
    object-fit: contain;
    align-items: center;
    padding-left: 10px;
  }

   .amount {
    width: 90%;
    height: 10%;
    border: solid plum;
    border-radius: 10px;
    opacity: 0.8;
    padding: 5px;
  }

   .category {

    width: 90%;
    height: 60px;
    border: solid plum;
    border-radius: 10px;
    opacity: 0.8;
    padding: 10px;
  }

  .description {
    width: 90%;
    height: 70px;
    margin-bottom: 30px;
    padding: 10px;
  }
}
