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

/* ===== BODY ===== */
html, body {
  background:
    url(mariambg.png),
    linear-gradient(to bottom, #ffffff, #FDB777,#FDA766,#FD9346);
  background-repeat: no-repeat;
  background-size: contain;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Libre Baskerville', serif;
}

/* ===== HEADER ===== */
header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  width: 100%;
  padding: 1px 1px;
  gap: 20%;
  border: 1px solid orange;
}

.logotipo {
  width: 120px;
  height: auto;
}

/* ===== LINKS ===== */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.links a {
  text-decoration: none;
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: orangered;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background-color 0.3s;
  text-align: center;
  align-content: center;
}

.links a:hover {
  background-color: #ffd49f;
}

/* ===== MAIN ===== */
main {
  border: 1px solid orange;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== TÍTULOS ===== */
.alcance {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: orangered;
  font-weight: 400;
  text-align: center;
}

.int p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  text-align: center;
}

/* ===== SEÇÕES DE POEMAS ===== */
.poemas {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2%;
}

/* Cada bloco de poema */
.nunca-fomos,
.esperaria,
.sem-arrependimentos,
.você-escolheu {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  border-radius: 20px;
  padding: 10px 10px 10px 10px;
  max-width: 150%;
  min-height: 200%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 4px solid gold;
}

.nunca-fomos img{
  border-radius: 5%;
  border: 2px solid black;
}
.esperaria img{
  border-radius: 5%;
  border: 2px solid black;
}
.sem-arrependimentos img{
  border-radius: 5%;
  border: 2px solid black;
}
.você-escolheu img{
  border-radius: 5%;
  border: 2px solid black;
}


/* ===== TEXTOS DOS POEMAS ===== */
.nunca-fomos h2,
.esperaria h2,
.sem-arrependimentos h2,
.você-escolheu h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: black;
  font-weight: 600;
  font-style: italic;
  text-decoration: underline;
  text-align: center;
  margin-bottom: 10px;
}

.nunca-fomos p,
.esperaria p,
.sem-arrependimentos p,
.você-escolheu p {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  border: 1px solid orange;
  padding: 15px;
  text-align: center;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .links {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    text-align: center;
  }

  .alcance {
    font-size: 2rem;
  }

  .links a {
    font-size: 1.2rem;
    padding: 8px 12px;
  }

  .int p {
    font-size: 1.1rem;
  }

  .poemas {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nunca-fomos,
  .esperaria,
  .sem-arrependimentos,
  .você-escolheu {
    max-width: 90%;
    min-height: auto;
    padding: 10px;
  }
}

@media (min-width: 1600px) {
  .alcance {
    font-size: 3rem;
  }

  .nunca-fomos,
  .esperaria,
  .sem-arrependimentos,
  .você-escolheu {
    max-width: 500px;
  }
}
