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

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

li {
  list-style-type: none;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  width: 100vw;
  height: 100vh;
  padding: 2rem;
}

.coluna {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* coluna 3: Gardener topo, textoExtra fundo */
.coluna3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* distribui topo/fundo */
  align-items: flex-end;          /* alinhado à direita */
  position: relative;
  height: 100%;
}

.texto1, .texto2 {
  cursor: pointer;
  font-size: 1.5rem;
  width: 100%;
  transition: color 0.3s;
}

.texto1 { text-align: left; }
.texto2 { text-align: right; }

.texto1:hover, .texto2:hover {
  color: #4552ff;
}

/* imagem central */
.imagem {
  opacity: 0;
  position: absolute;
  max-width: 300px;
  max-height: 200px;
  cursor: grab;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

.imagem.visivel {
  opacity: 1;
  pointer-events: auto;
}

/* texto extra dentro da coluna3 */
#textoExtra {
  text-align: right;
  font-size: 1.1rem;
  opacity: 0;
  line-height: 1.7rem;
  transition: opacity 0.4s ease-in-out;
  white-space: pre-line; /* permite \n como parágrafo */
}

#textoExtra.visivel {
  opacity: 1;
}

/* footer fixo */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding:  2rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1000;
}
