body {
  margin: 0;
  background-color: #030e13; /* cor de fundo do site */
  color: #ffffff; /* cor da fonte do site */
  font-family: "helvetica neue", helvetica, arial, sans-serif;
  text-align: center;
}

@font-face {
  font-family: 'voxel';
  src: url('fonts/voxel.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.voxel {
  font-family: 'voxel', serif;
}

.frame {
  max-width: 900px;
  margin: 60px auto 80px;
}

header {
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative; /* referência para título sobreposto */
}

.header-title {
  position: absolute; /* posso editar o texto pra estar onde eu quiser */
  bottom: -45px;
  left: 70px;
  margin: 0;
  font-size: 5rem;
  font-weight: normal;
  text-align: left;
  z-index: 3;
  color: #88c070; /* cor do título */
  transition: color 0.2s ease; /* transição suave */
}

.header-title:hover {
  color: #eef161; /* cor ao passar o mouse */
}

/* -------------------- WRAPPER DE IMAGEM DO HEADER -------------------- */
.header-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  border: 1px solid #88c070; /* borda */
}

/* imagem normal */
.header-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  transition: opacity 0.4s ease;
}

/* imagem de hover */
.header-img-hover {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* efeito hover */
.header-img-wrapper:hover .header-img-hover {
  opacity: 1;
}

.header-img-wrapper:hover .header-img {
  opacity: 0;
}

/* -------------------- CONTENT -------------------- */
.content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px; /* espaçamento entre sidebar e maincontainer */
  padding: 30px;
}

/* -------------------- SIDEBAR E MAIN -------------------- */
.sidebar,
.main {
  border: 1px solid #88c070;
  background: #204136;
  align-self: start; /* impede a sidebar de crescer mais que o necessário */
  padding: 10px;
}

.main {
  padding: 30px 50px;
  margin-bottom: 0;
}

/* -------------------- TEXTOS -------------------- */
h1 {
  margin: 0 0 0.6rem 0; /* controla só o espaço de baixo */
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.2;
}

h2 {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: normal;
  color: #ccc;
}

p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1em 0;
}

ul {
  list-style: none;
  font-size: 0.9rem;
  padding: 0;
  margin: 0 0 1.2em 0;
}

li {
  margin-bottom: 6px;
}

a {
  color: #ffeb99;
  text-decoration: none;
}

/* links da sidebar */
.sidebar a {
  font-size: 0.85rem;
  color: #88c070;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: #fdff7c;
}

/* imagens da main e sidebar */
.main img,
.sidebar img {
  width: 100%;
  height: auto;
}

/* -------------------- GIF-BOX -------------------- */
.gif-box {
  padding: 10px;
  border: 0px solid #88c070;
  background: transparent;
  margin-top: 15px;
  margin-bottom: 10px;
}

.gif-box a {
  display: inline-block;
  margin-right: 10px;
}

.gif-box a:last-child {
  margin-right: 0;
}

.gif-box img {
  width: 80px;
  height: auto;
  vertical-align: middle;
}

.gif-box p {
  margin: 0;
  text-align: center;
}

/* -------------------- QUOTE -------------------- */
.quote {
  border-left: 2px solid #c4c2c2;
  padding-left: 15px;
  margin: 20px auto;
  max-width: 600px;
  font-family: Georgia, 'Palatino Linotype', 'Times New Roman', serif;
  font-size: 1rem;
  font-style: italic;
  color: #e6e6e6;
  text-align: left;
  line-height: 1.4;
}

/* -------------------- MOBILE -------------------- */
@media (max-width: 768px) {
  .frame {
    margin: 20px 12px 100px;
  }

  .content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .sidebar {
    order: 2;
  }

  .main {
    order: 1;
  }

  .header-img-wrapper {
    width: 80%;
  }
}