@import url("https://fonts.googleapis.com/css2?family=Staatliches&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:ital@1&display=swap");
@media only screen and (min-device-widht: 300px) {
  .infos {
    width: 100%;
  }
}
@font-face {
  font-family: bebas, sans-serif;
  src: url(fontes/BebasNeue-Regular.otf);
}

@keyframes myAnim {
	0%,
	100% {
		transform: translateX(0%);
		transform-origin: 50% 50%;
	}

	15% {
		transform: translateX(-30px) rotate(-6deg);
	}

	30% {
		transform: translateX(15px) rotate(6deg);
	}

	45% {
		transform: translateX(-15px) rotate(-3.6deg);
	}

	60% {
		transform: translateX(9px) rotate(2.4deg);
	}

	75% {
		transform: translateX(-6px) rotate(-1.2deg);
	}
}

:root {
  --fontnormal: "Staatliches", cursive;
  --fonttitle: "PT Sans", sans-serif;
  --whithe: rgb(254, 255, 254);
  --bleu: #1895ed;
  --blackin: rgb(0, 0, 0);
}

* {
  margin: 0;
  padding: 0;
}

nav{
    margin-top: 10px;
}

.voltar{
    color: white;
    margin-left: 8px;
    font-family: var(--fontnormal);
}

.animation{
color: white; 
text-align: center;
animation: myAnim 14s ease 0s infinite normal forwards;
}

body {
  background-color: #1274cc;
}

header {
  background-color: var(--bleu);
  height: 13vh;
  box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.181);
}

header > h1 {
  padding-top: 20px;
  text-align: center;
  font-family: var(--fonttitle);
  font-size: 30px;
  color: white;
}

main {
  margin: auto;
  margin-top: 90px;
  margin-bottom: 90px;
  background-color: white;
  width: 560px;
  height: 450px;
  border-radius: 12px;
  -webkit-box-shadow: 9px 10px 5px 3px rgba(0, 0, 0, 0.14);
  -moz-box-shadow: 9px 10px 5px 3px rgba(0, 0, 0, 0.14);
  box-shadow: 9px 10px 5px 3px rgba(0, 0, 0, 0.14);
}

main > h1 {
  font-family: var(--fonttitle);
  text-align: center;
  font-size: 23px;
  padding-top: 10px;
}

main > p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  padding: 20px;
  text-indent: 20px;
  text-align: justify;
}

a{
    color: white;
    background-color: #1274cc;
    padding: 2px;
}

@media screen and (max-width: 500px) {
  main{
    width: 350px;
  }

  main > p{
    font-size: 16px;
  }
}