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

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

/* ===== BODY ===== */
body {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  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: 10px 20px;
  gap:20%;
  border-bottom: 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;
  justify-content: center;
}

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

/* ===== MAIN ===== */
main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 6% 2%;
  gap: 30%;
  position: relative;
  z-index: 1;
}


.texto1 {
  display: flex;
  flex-direction: row;
  color: black;
  text-align: left;
  padding: 10px;
  
}

.texto1 p{
  margin-right:auto;
  margin-bottom: auto;
  text-align: left;
  font-size: 280%;
}

.principal1 {
  font-family: 'Great Vibes', cursive;
  font-weight: 300;
  font-size: 130%;
  color: orangered;
}

.principal {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  font-size: 200%;
}



.texto1 img{
  width: 40%;
  height: auto;
  border: 3px solid gold;
  border-radius: 2%;
}

/* ===== FOOTER ===== */
footer {
  border-top: 2px solid white;
  padding: 10px;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.yt, .instagram {
  width: 40px;
  height: auto;
  transition: transform 0.3s;
}

.yt:hover, .instagram:hover {
  transform: scale(1.1);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
  
  }

  .logotipo {
    width: 100px;
  }

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

  .links a {
    font-size: 1.2rem;
    padding: 5px 10px;
  }

  main {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .texto1 {
    flex-direction: column;
    align-items: center;
  }

  .principal {
    font-size: 1.3rem;
  }

  .texto1 img {
    width: 80vw;        /* ocupa quase toda a largura da tela */
    max-width: none;    /* remove o limite */
    height: auto;
    border: 3px solid gold;
    border-radius: 3%;
    margin-top: 15px;
  }

  footer {
    border: none;
    margin-top: 20px;
  }

  .social {
    gap: 20px;
  }
}