* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: white;
}
.main {
  background-color: #02093d;
  width: 100%;
  height: 100vh;
}

/* Header Section */

header {
  width: 85%;
  height: 15%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.title {
  flex-basis: 60%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}
.menu {
  flex-basis: 30%;
  font-size: 20px;
}
.menu > ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
}
a {
  text-decoration: none;
}
.add {
  flex-basis: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.add > a,
.menus > a {
  color: white;
  background-color: #02093d;
  border-radius: 50%;
  border: 1px solid #87cfd0;
  padding: 10px;
}

/* Home Section */

.home {
  height: 469px;
  width: 85%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.left-section-home {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.left-section-home > h1 {
  width: 373px;
  text-transform: capitalize;
  font-size: 70px;
}
.left-section-home > p {
  width: 434px;
  font-size: 18px;
}
.buttons {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}
.buttons > .buy {
  background-color: #8f8edb;
  height: 69px;
  width: 255px;
  border-radius: 50px;
  border: none;
  font-size: 20px;
  font-weight: 400px;
  cursor: pointer;
}
.buttons > .sell {
  background-color: #02093d;
  height: 69px;
  width: 255px;
  border-radius: 50px;
  border: 1px solid #87cfd0;
  font-size: 20px;
  font-weight: 400px;
  cursor: pointer;
}

.right-section-home {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Collection Section */

.collection {
  position: relative;
  width: 100vw;
  height: 85%;
  display: flex;
}
.left-section-collection {
  flex-basis: 25%;
}
.collection-sections {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  background-color: #0b0f42;
}
.collection-sections > .title {
  color: white;
  padding: 10px;
  font-size: 20px;
}
hr {
  border: 1px solid#2B2656;
}
.right-section-collection {
  flex-basis: 75%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding: 1% 3%;
}
.menus {
  display: flex;
  align-items: center;
  gap: 10px;
}
#list-view,
#grid-view {
  cursor: pointer;
}
.item-quantity1,
.item-quantity {
  font-size: 25px;
  font-weight: bold;
}

.grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-view > div {
  height: 434px;
  width: 324px;
  border: 1px solid white;
  border-radius: 20px;
}
.grid-view > div:hover {
  border: 1px solid #87cfd0;
}
.grid-view > .box {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #0b0f42;
}
.grid-view > .box > .image {
  flex-basis: 70%;
}
.grid-view > .box > .image > img {
  border-radius: 20px 20px 0 0;
  height: 300px;
  width: 324px;
}
.grid-view > .box > .image > .id {
  position: absolute;
  top: 16px;
  left: 16px;
}
.grid-view > .box > .info {
  background-color: #2b2656;
  flex-basis: 30%;
  border-radius: 0 0 20px 20px;
  border: none;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.grid-view > .box > .info > .nft-brand {
  font-size: 30px;
  color: gray;
}
.grid-view > .box > .info > a {
  margin: 0 auto;
  color: #f6d5d5;
  text-decoration: underline;
}

/* list view */

.list-view {
  display: block;
  margin-bottom: 10px;
}
.list-view > .box {
  margin: 10px;
  padding: 10px;
  height: 100px;
  width: 100%;
  border: 1px solid #87cfd0;
  display: flex;
  align-items: center;
  gap: 25px;
  border-radius: 20px;
}
.list-view > .box > .image {
  flex-basis: 17%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.list-view > .box > .image > .id{
  flex-basis: 50%;
}
.list-view > .box > .image > img {
  flex-basis: 50%;
  height: 75px;
  width: 75px;
  border-radius: 20px;
  border: 1px solid #8f8edb;
}
.list-view > .box > .info {
  flex-basis: 80%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.list-view > .box > .info > a {
  position: absolute;
  margin-left: 90%;
  text-decoration: underline;
}
.list-view > .box > .info > .nft-brand {
  font-size: 25px;
  color: gray;
}

/* Upload page */

.upload {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.fa-x {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 20px;
  cursor: pointer;
}
.upload > .container > form {
  width: 400px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0b0f42;
  border-radius: 5px;
  position: relative;
}
.container > form > h1 {
  text-align: center;
}
form > input {
  color: black;
  padding: 10px 10px;
  border: 1px solid #eee;
  border-radius: 5px;
  outline: none;
}
form > button {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 400;
  padding: 10px 20px;
  border: none;
  background: #2b2656;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
form > button:hover {
  border: 1px solid #87cfd0;
}

/* About section */

.about-section {
  width: 100%;
}

.info-section {
  margin-bottom: 10px;
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.flip-card {
  background-color: transparent;
  width: 250px;
  height: 275px;
  perspective: 1000px;
  margin: 20px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card-front {
  background-color: #fff;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
h3 {
  color: black;
}
.flip-card-front img {
  width: 175px;
  height: 175px;
  margin-bottom: 15px;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  line-height: 1.4;
}

/* filter options */

.nft-brands {
  margin: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brand-btn {
  background-color: #2980b9;
  color: white;
  border: none;
  padding: 5px;
  border-radius: 15px;
  cursor: pointer;
}
