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

body {
  background-color: black;
  color: white;
  font-family: "Arial", sans-serif;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
a.back-button {
  color: inherit;
  text-decoration: none;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.top-bar span {
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.main-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.text-content {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.title {
  text-transform: uppercase;

  font-size: 42px;
  font-weight: bold;
  line-height: 1.2;
}

.subtitle-cert {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 20px;
}

.tags {
  margin-bottom: 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 400px; /* adjust if needed */
  overflow: auto;
  height: 71vh;
  scrollbar-color: #ff4081 black;
}

.tag {
  font-family: "Roboto Mono", monospace;
  width: 100%;
  text-transform: uppercase;
  background: white;
  color: black;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: bold;
}

/* Optional: Different background for dark tags */
.tag.dark {
  background: rgba(15, 23, 42, 0.55);
  color: white;
  border: 1px solid rgb(148 163 184 / 32%);
}

.about {
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 1px;
}

.description {
  font-size: 12px;
  line-height: 1.5;
  color: #aaa;
  max-width: 400px;
}

.image-section {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.main-image {
  width: 100%;
  border-radius: 25px;
  object-fit: cover;
  height: 81vh;
}

.buy-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  color: black;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.buy-button:hover {
  background: #ccc;
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
}

/* go back -----------------*/
.bracket-left {
  font-size: 20px;
  margin: 6px;
}
.bracket-right {
  font-size: 20px;
  margin: 6px;
}
.nav-right {
  cursor: pointer;
  position: relative;
  display: inline-block;
  font-size: 24px;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-family: "Roboto Mono", monospace;
}
.nav-right:hover {
  text-underline-position: under;
}

.nav-right::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #ff4081;
  transition: width 0.3s ease-in-out;
}

.nav-right:hover::after {
  width: 100%;
}

.nav-left {
  cursor: pointer;
  position: relative;
  display: inline-block;
  font-size: 24px;
  text-decoration: none;
  text-transform: uppercase;
  color: #9d9c9c;
  font-family: "Roboto Mono", monospace;
}
.nav-left:hover {
  text-underline-position: under;
}

.nav-left::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #ff4081;
  transition: width 0.3s ease-in-out;
}

.nav-left:hover::after {
  width: 100%;
}
.bracket-container {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

/*menu tab-------------------------*/
.tab-menu {
  width: 28%;
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 2;
}
#menu-options:hover {
  font-size: 24px !important;
}
.tab-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#menu-options {
  font-size: 14px !important;
}
.tab-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-family: "Roboto Mono", monospace;

  padding: 5px 0;
}

.tab-menu a:last-child {
  border-bottom: none;
}

.image-section {
  position: relative;
}

.tab-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  border-radius: 20px;
}

.tab-overlay.active {
  display: flex;
}

.tab-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.tab-options a {
  color: white;
  font-size: 49px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.3s;
  text-transform: uppercase;
}

.tab-options a:hover {
  /* opacity: 0.7; */
  color: #ff4081;
}

/* .scroll-box {
    position: relative;
    height: 500px;
    overflow-y: auto;
    border-radius: 20px;
    scrollbar-width: none; 
  }
  
  .scroll-box::-webkit-scrollbar {
    display: none; /* Chrome/Safari 
  }
  
  .scroll-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .main-image {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
  } */
