* {
  padding: 0;
  margin: 0;
}

body {
  background-color: #ffffff;
  max-width: 100%;
  overflow-x: hidden;
}

#container-imagem {
  display: flex;

  justify-content: center;
  align-items: center;

  height: 100vh;
  width: 100%;

  background: url("./../img/img-pegm/PEGM-PAG.JPG");
  background-size: cover;
  overflow: hidden;
}

#imagem-title {
  font-family: "Krona One", sans-serif;
  font-size: 9vh;
  font-style: normal;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.07em;
}

.Stitle-2 {
  color: #000000;
  display: flex;
  font-family: "Poppins", sans-serif;
  font-size: 3em;
  font-style: normal;
  font-weight: 500;
  justify-content: flex-start;
  letter-spacing: 0.05em;
  line-height: 8vh;
  margin-top: 1em;
  text-align: center;
  text-transform: uppercase;
  width: 40vw;
  margin-bottom: 1em;
}
.container-flex1 {
  margin-top: 2.5rem;
  margin-left: 1.5em;
  display: flex;
  flex-flow: row;
  justify-content: space-around;
  gap: 5vh;
}

.div-flex1 {
  display: flex;
  flex-flow: column wrap;
}

.text2 {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-size: 1.7em;
  line-height: 1.5em;
  letter-spacing: 0.01em;
  color: #000000;
  text-align: justify;
  width: 41vw;
  margin-top: 2em;
}
.textpdf {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-size: 1.6em;
  margin-right: 1em;
  margin-left: 1em;
  letter-spacing: 0.05em;
  color: #000000;
  line-height: 1.5em;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  font-weight: 600;
  width: 5vh;
}
.textpdf:hover {
  opacity: 0.6;
}

.pdf1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 2.2em;
}

.pdf1 a {
  text-decoration: none;
}

#img-pdf1 {
  height: 10vh;
  width: 10vw;
  width: 100%;
  text-align: center;
  transition: all 0.5s ease;
  cursor: pointer;
}
.img1-PEBOT {
  width: 90%;
  margin-right: 2em;
  margin-left: 1.4em;
}


@media screen and (min-width:100px) and (max-width: 1015px) {


  #imagem-title{
    font-size: 5vh;
  }

  .container-flex1 {
    flex-direction: column;
    flex-wrap: wrap;

    width: 90vw;
    margin: auto;
  }


  .Stitle-2 {
    width: fit-content;
    font-size: 1.5em;
    margin-left: 1em;
    margin-right: 1em;
    line-height: 5vh;
  }

  .text2{
    width: fit-content;
    font-size: 1.2em;
  }

  .container-flex1 a.img {
    display: flex;
    align-self: center;
    margin: auto;
  }

  .textpdf{
    font-size: 1.4em;
  }

}

