@font-face {
  font-family: 'VCR OCD MONO';
  src: url('VCR_OCD_MONO.ttf') format('truetype');
  font-display: swap;
}

body {
  margin: 0;
  min-height: 100vh;
  background: url("Imagens/bg-blankpng1.gif") repeat;
  color: white;
  font-family: 'VCR OCD MONO', monospace;
  font-size: 20px;
}

#siteWrapper {
  background-color: rgba(0, 0, 0, 0.92);
  min-height: 100vh;
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 40px 20px 0px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#Perfil, #Bio, #Artes {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 60px;
}

#Perfil {
  display: flex;
  align-items: center;
  font-size: 50px;
  gap: 20px;
}
#Bio {
  display: flex;
  align-items: center;
  font-size: 30px;
  gap: 20px;
}
#Bio img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto; 
}
#Perfil img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

#Perfil h1 {
  margin: 0;
  line-height: 1.05;
}

@media (max-width: 600px) {
  #Perfil {
    flex-direction: column;
    text-align: center;
  }
  #Perfil img {
    width: 160px;
    height: 160px;
    object-fit: contain;
  }
  #Bio {
    flex-direction: column;
    text-align: center;
  }
  #Bio img {
    width: 160px;
    height: 160px;
    object-fit: contain;
  }
}

#Artes .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  justify-items: center;
}

@media (max-width: 900px) {
  #Artes .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #Artes .gallery {
    grid-template-columns: 1fr;
  }
}

#Artes .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  grid-auto-rows: 320px;
}

#Artes .gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#Jogo {
  margin-bottom: 40px;
}
#Jogo img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  display: block;
}
#Sociais {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}
#Sociais button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
#Sociais img {
  width: 200px;
  height: auto;
  display: block;
}
#footer {
  text-align: center;
  margin-top: auto;
  font-size: 20px;
}
#lightboxOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#lightboxOverlay.lightbox-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 80px);
  max-height: calc(100vh - 80px);
  min-width: min(500px, calc(100vw - 80px));
  min-height: min(500px, calc(100vh - 80px));
  object-fit: contain;
  display: block;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.lightbox-hidden {
  pointer-events: none;
}

.lightbox-visible {
  pointer-events: auto;
}
