html,
body {
  min-height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  background-color: #0c0c0e;
  background-image:
    /* grade fina e sutil */
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    /* brilho esverdeado suave vindo do topo, harmoniza com a galeria */
    radial-gradient(ellipse 80% 40% at 50% 5%, rgba(80,120,100,0.3) 0%, transparent 70%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  padding: 10px;
}

footer {
  width: 100%;
  text-align: center;
  padding: 24px;
  color: rgba(255,255,255,0.7);
  font-family: var(--fontMain);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

:root {
  --fontMain: JetBrains Mono, monospace;
  --fontSec: Montserrat, sans-serif;
  --bg-dark: rgba(0, 0, 0, 0.5);
  --border-light: rgba(255, 255, 255, 0.2);
  --text-light: rgba(255, 255, 255, 0.2);
  --text-light-hover: rgba(255, 255, 255, 0.4);
  --text-light-border: rgba(255, 255, 255, 0.6);
}


/* Scrollbar customization */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.8em;
}

h1 {
  color: white;
  text-align: center;
  font-size: 2rem;
}

.header-center {
  flex: 1;
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  font-family: var(--fontMain);
}

/* Main layout */
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  padding: 20px;
}

img {
  width: 100%;
  height: 100%;
  z-index: 1;
  grid-area: 1/1;
  object-fit: cover;
  transition: opacity 300ms ease;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  z-index: 1;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
}

.icon {
  margin-inline: auto;
  margin-bottom: 15px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  font-family: var(--fontMain);
}

/* Cards */
.cont-items {
  color: white;
  background-color: transparent;
  min-height: 35vh;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  user-select: none;
  isolation: isolate;
  font-family: var(--fontSec);
}

.cont-items:nth-child(odd) {
  margin-inline: 0 auto;
}

.cont-items:nth-child(even) {
  margin-inline: auto 0;
}

.info {
  width: 100%;
  z-index: 2;
  display: block;
  padding: 25px;
  background: var(--bg-dark);
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Art pieces / galeria */
.art-pieces {
  margin-top: 40px;
  width: 100%;
  padding: 0 20px 40px;
  z-index: 1;
}