@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  --primary-color: #ec4899;
}
body {
  font-family: "Poppins", system-ui;
  background-color: #f6f3f9;
}
header {
  background-color: black;
}
a {
  text-decoration: none;
  color: black;
}
#header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header > a {
  font-weight: 600;
  color: white;
}

#header > button {
  background-color: transparent;
  border: none;
}
#header > ul {
  position: absolute;
  background-color: var(--primary-color);
  top: 0;
  padding: 10px;
  left: 0;
  display: none;
  height: 100%;
  z-index: 2;
}
li {
  list-style-type: none;
  margin: 20px;
}
li > a {
  color: white;
}

#error {
  position: absolute;
  top: 50%;
  left: 20%;
  text-align: center;
  margin: 0 auto;
  z-index: 1;
}
#profile-image {
  height: 100px;
  width: 100px;
  background-color: white;
  display: inline-block;
  border-radius: 50%;
  margin: 10px 15px;
  margin-bottom: 2px;
}
#wallet-address {
  color: var(--primary-color);
  display: inline-block;
}
#address-conatiner {
  margin: 0 40px;
  margin-bottom: 10px;
}
#view-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#body {
  padding: 20px;
  position: relative;
}
.view-btn {
  font-size: 18px;
  padding: 10px;
  border-radius: 10px;
  background-color: var(--primary-color);
  border: none;
  color: white;
  cursor: pointer;
}
#listed-nft-btn {
  background-color: black;
}
#profile-image {
  display: flex;
  overflow: hidden;
}
#profile-image > image {
  width: 100%;
  height: 100%;
}
#items-container {
  display: flex;
  flex-direction: row;
  justify-content: start;
  padding: 10px 0;
  flex-wrap: wrap;
  gap: 10px;
}
#title {
  font-size: 20px;
  margin-top: 10px;
}

#items-container > div {
  border: 2px solid black;
  border-radius: 5px;
}
.listed-nft-container {
  position: relative;
}
.more {
  color: white;
  position: absolute;
  border: none;
  top: -10px;
  right: 0;
  background-color: transparent;
  font-size: 30px;
  margin-right: 10px;
  font-weight: 800;
  color: black;
}
.listed-nft-container > p {
  font-weight: 600;
  padding: 5px;
}

.unlist-btn {
  color: white;
  background-color: black;
  padding: 5px;
  position: absolute;
  top: 20px;
  right: 0;
  margin: 10px;
  font-size: 20px;
  padding: 5px 20px;
  border: none;
  border-radius: 5px;
  transition: opacity 3s ease-in-out;
  opacity: 0;
}
.show-more {
  opacity: 1;
}
.remove-more {
  opacity: 0;
}
.nft-image {
  display: block;
  height: 150px;
  width: 100%;
}
.nft-name {
  padding: 5px;
  font-weight: 500;
}
.footer {
  background-color: black;
  margin: 0;
  padding: 10px 0;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.footer-title {
  color: var(--primary-color);
}
.error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
#connect-wallet-btn {
  background-color: var(--primary-color);
  color: white;
  font-size: 24px;
  border: none;
  padding: 10px;
}
#image-main-container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
#image-main-container > button {
  background-color: transparent;
  border: none;
  margin-right: 10px;
}
#wallet-icon {
  height: 30px;
}

.hide-wallet-balance {
  min-height: 0;
  background-color: #252525;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: fixed;
  overflow: hidden;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transition: width 0.5s ease-in-out, 0.5s ease-in-out, opacity 0.5s ease-in-out;
  visibility: hidden;
}

.hide-wallet-balance-onclicked {
  min-height: 0;
  opacity: 0;
  width: 0;
  visibility: hidden;
}

.show-wallet {
  display: block;
  min-height: 200px;
  opacity: 1;
  visibility: visible;
}
#amount-usd-mobile {
  color: white;
  font-size: 24px;
}
#top-wallet-balance-container-mobile {
  background-color: #303339;
  padding: 12px;
  padding-bottom: 30px;
  margin-bottom: 20px;
}
#wallet-balance-mobile {
  font-size: 16px;
  color: #b3b3b3;
}
h4 {
  font-size: 24px;
  color: white;
  margin: 12px;
}
#contract-balance-main-container {
  display: flex;
  justify-content: space-around;
}
#contract-balance-main-container > img {
  height: 60px;
  display: block;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.08);
}
.wallet-balance-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
}
.wallet-balance-value {
  font-size: 14px;
  color: #b3b3b3;
}
#withdraw-btn-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
#withdraw-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  font-size: 20px;
  padding: 10px 0;
  margin: 10px;
  border-radius: 10px;
  cursor: pointer;
}
#balance-btn {
  cursor: pointer;
}
@media screen and (min-width: 700px) {
  #error {
    left: 30%;
  }
  .footer {
    justify-content: space-around;
  }
  #header > ul {
    position: relative;
    display: block;
    background-color: transparent;
  }
  #header > button {
    display: none;
  }

  .nav-items {
    display: inline-block;
    margin: 0 20px;
  }
}
@media screen and (min-width: 1000px) {
  .nft-image {
    height: 200px;
  }

  /* #balance-btn {
    display: none;
  } */
  .hide-wallet-balance {
    bottom: 20%;
    width: 0;
    right: 0;
    margin: 10px;
  }
  .show-wallet {
    opacity: 1;
    min-height: 100px;
    width: 400px;
  }
}
