@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Kranky&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --fonte01: 'Roboto', sans-serif;
  --fonte02: 'Kranky', cursive;
}

* {
  margin: 0px;
  padding: 0px;
  font-size: 1em;
}

html,
body {
  min-height: 100vh;
  background-color: darkgray;
  font-family: var(--fonte01);
}

header {
  background-color: #C1BC63;
  color: black;
  text-align: center;
}

header>h1 {
  font-family: var(--fonte02);
  font-size: 10vw;
  padding-top: 50px;
  font-variant: small-caps;
}

header>p {
  padding-bottom: 50px;
}

a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

section {
  padding-top: 10%;
  padding-bottom: 10%;
  line-height: 2em;
  padding-left: 30px;
  font-size: 3.5vw;
}

section>p {
  padding-bottom: 2em;
}

section.normal {
  background-color: #EFE995;
  color: black;
}

section.imagem {
  background-color: rgb(51, 51, 51);
  color: white;
  box-shadow: inset 6px 6px 13px 0px rgba(0, 0, 0, 0.450);
  background-size: cover;
  background-attachment: fixed;
}

section.imagem>p {
  display: inline-block;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 0px black;
}

section#img01 {
  background-image: url("../imagens/background001.jpg");
  background-position: right center;
}

section#img02 {
  background-image: url("../imagens/background002.jpg");
  background-position: left bottom;
}

footer {
  background-color: #C1BC63;
  color: black;
  text-align: center;
  padding: 10px;
}

@media (max-width: 768px) {
  header>h1 {
    font-size: 8vw;
    padding-top: 30px;
  }

  /* Reduz tamanho em tablets/mobile */
  section {
    padding-left: 15px;
    font-size: 4vw;
    line-height: 1.5em;
  }

  /* Ajusta padding e fonte */
  section.imagem {
    background-attachment: scroll;
  }

  /* Evita background fixo em mobile para performance */
  section#img01,
  section#img02 {
    background-size: contain;
  }

  /* Ajusta imagens para caber na tela */
}

@media (max-width: 480px) {
  body {
    font-size: 0.9em;
  }

  /* Fonte menor em smartphones */
  header>p {
    padding-bottom: 20px;
  }

  footer {
    padding: 5px;
    font-size: 0.8em;
  }
}