@import url("./globals/footer.css");
@import url("./globals/header.css");
@import url("./globals/global.css");
@import url("./globals/global2.css");
@import url("./globals/sidebar.css");
:root {
  --bg-color: #131732;
  --sec-color: #282c47;
  --sec-color-2: #2a2d35;
  --green: rgb(86, 222, 147);
  --white: #ffffff;
  --border-radius: 12px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --timeline-line-color: #4a4f78; 
}

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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--white);
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
}

h1 {
  color: var(--green);
  font-size: 2rem;
  word-wrap: break-word;
}

a,
b {
  color: var(--green);
  text-decoration: none;
  font-weight: bold;
}

.subtitle {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  backdrop-filter: blur(4px);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  padding: 1rem;
  border-radius: 6px;
}

select {
  font-size: 1.5rem;
  padding: 1rem;
  background: var(--bg-color);
  color: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  max-width: 90vw;
}

/* Art Section */
.artwork-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  max-width: 100%;
}

.art-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--sec-color);
  transition: transform 0.3s ease;
  max-width: 100%;
}

.art-item:hover {
  transform: scale(1.02);
}

.art-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.art-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  color: var(--white);
  z-index: 2;
  box-sizing: border-box;
}

.art-rank {
  font-weight: bold;
  color: var(--green);
}

.art-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media (min-width: 600px) {
  .artwork-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .artwork-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .art-text {
    font-size: 1.5rem;
    padding: 0.4rem 0.6rem;
  }

  .social-bar {
    gap: 1rem;
  }

  select {
    font-size: 1.2rem;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .art-text {
    font-size: 1.2rem;
    padding: 0.3rem 0.5rem;
  }

  .social-icon {
    width: 2rem;
    height: 2rem;
  }
}

/* New Nav Tabs Styles */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
}

.nav-tab {
  background-color: var(--sec-color-2);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 9999px; /* Makes it rounded */
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.nav-tab:hover {
  background-color: var(--green);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.nav-tab.active {
  background-color: var(--green);
  color: var(--bg-color);
  box-shadow: 0 4px 8px rgba(86, 222, 147, 0.3);
}

ul {
  display: block;
  visibility: visible;
  margin: 1em 0; 
  padding-left: 40px; 
  z-index: auto; 
  position: static; 
}


li {
  display: list-item; 
  visibility: visible;
  margin-left: 30px;
  color: var(--green);
  font-weight: bold;
  list-style-type: disc;
  list-style-position: outside;
}