@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

/* Código Alura */

body{
    font-family: "Roboto Mono",  monospace;
    background-color: rgb(33, 35, 44);

    text-align: center;
    background-image: url("https://caelum-online-public.s3.amazonaws.com/assets-imersaodev/background_mentalista.png");
    background-color: #000000;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    height: 100vh;
}

.container {
  text-align: center;
  padding: 20px;
}

.page-title {
  color: #ffffff;
  margin: 0 0 5px;
}

.page-subtitle {
  color: #ffffff;
  margin-top: 5px;
}

.page-logo {
  width: 200px;
}

.alura-logo {
  width: 40px;
  position: absolute;
  top: 10px;
  right: 10px;
}

body > img {
  margin: 0 10px;
}

img {
  max-height: 350px;
}

/* fim código Alura*/

h1{
    color: rgb(255, 255, 255);
    text-align: center;
    text-decoration: underline;
    font-size: 24px;

    margin: 50px auto;
}

main{
    width: 300px;
    height: 300px;
    
    margin: auto;
    padding: 20px;

    border-radius: 25px;
    background-color: white;
}

main > div{
    margin: 30px 0 30px;
}

p{
    font-size: 14px;
    text-align: center;
    line-height: 20px;

    width: 100%;
    margin: 10px auto 20px auto;
}

p > input{
    width: 80px;
    height: 20px;
    padding: 10px 5px;

    outline: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0 , 0.3);
}

p > button{
    border-radius: 8px;
}

#p-btc > button{
    display: block;
    margin: 0 auto 10px auto;
}

button{
    font-weight: bold;

    width: 120px;
    height: 40px;
}

button#jogar:hover{
    color: white;
    background-color: rgb(2, 165, 2);
}

button#jogar:active{
    background-color: green;
}

button#resetar:hover{
    background-color: yellow;
}

button#resetar:active{
    background-color: rgb(182, 182, 4);
}

main > p > a{
    color: rgb(43, 43, 43);
    line-height: 30px;
}

a{
    font-style: italic;
    text-decoration: none;
}

a:hover{
    color: blue;
    text-decoration: underline;
}

footer > p{
    color: white;
    font-size: 12px;
    padding: 5px;
}

footer > p > a{
    color: rgb(171, 171, 171);
}

footer > p > a:hover{
    color: yellow;
}

main > p > a:active, footer > p > a:active{
    color: red;
}
