@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 (max-device-widht: 900px) {
  .infos {
    width: 100%;
  }
}
@font-face {
  font-family: bebas, sans-serif;
  src: url(fontes/BebasNeue-Regular.otf);
}

: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;
}

header {
  background-color: var(--bleu);
}

.title {
  color: white;
  font-family: bebas, sans-serif;
  font-size: 30px;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 35px;
  text-shadow: 3px 3px 2px rgba(8, 8, 8, 0.289);
  
}

.links {
  background-color: #1274cc;
}
nav {
  display: inline;
}
nav > a {
  text-decoration: none;
  font-family: var(--fontnormal);
  font-size: 1.1em;
  color: rgb(253, 250, 250);
  padding: 6px;
  margin: 10px;
}

nav > a:hover {
  transition-duration: 0.6s;
  background-color: #1274cc;
}

main {
  display: flexbox;
  justify-content: center;
  margin: auto;
  margin-top: 50px;
  width: 100px;
  min-width: 320px;
  padding: 30px;
  height: 330px;
  text-align: center;
  border-radius: 10px 10px;
  border: ridge rgba(0, 0, 0, 0.547);
  font-family: var(--fontnormal);
}

.operacoes {
  margin-top: 30px;
}

.operacoes > label {
  padding: 8px;
}

.operacoes > .numbers {
  margin-top: 25px;
  height: 20px;
  width: 150px;
  margin: 8px;
  text-align: center;
  font-size: 1.1em;
  font-family: var(--fontnormal);
  border-style: inset;
  border-radius: 8px;
}

label{
  font-size: 20px;
}


.button-calc {
  height: 4vh;
  width: 120px;
  font-size: 16px;
  font-family: var(--fontnormal);
  background-color: #1274cc;
  color: white;
  border-style: none;
  border-radius: 5px;
}

.button-reset {
    height: 4vh;
    width: 120px;
    font-size: 16px;
    font-family: var(--fontnormal);
    background-color: #cc2812;
    color: white;
    border-style: none;
    border-radius: 5px;
    margin: 8px;
  }

.button-calc:hover{
    background-color: white;
    color: #1274cc;
    border-style: ridge;
    border-color: #1274cc;
}

.button-reset:hover{
    background-color: white;
    color: #cc2812;
    border-style: ridge;
    border-color: #cc2812;
}

#res{
    margin-top: 20px;
    font-size: 22px;
    margin-bottom: 15px;
}

footer {
  margin-top: 200px;
  padding-bottom: 20px;
  text-align: center;
  font-family: var(--fonttitle);
  font-size: 20px;
  background-color: #1274cc;
  color: white;

}

footer > p{
    padding-top: 20px;
    padding-left: 4vw;
    padding-right: 4vw;
    
}

footer > a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

@media screen  and (max-width: 500px){
  label{
    font-size: 15px;
  }

 .infos > h2{
    font-size: 15px;
  }
}