@charset "UTF-8";
@font-face {
    font-family: "ds-digit";
    src: url("../fonte/DS-DIGIT.TTF");
}

*{
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background-color: burlywood;
    background-image: url("../imagens/imagem004.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

h1{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: #ffffff;
    margin: 30px auto;
    padding: 20px 10px;

    width: auto;
    background-color: #000000;
}

span{
    font-size: 18px;
    font-style: italic;
}

section{
    max-width: 380px;
    height: 400px;

    display: flex;
    flex-direction: column;
    margin: auto;

    border-radius: 15px;
    background-color: #fefefe;
}

h2{
    text-align: center;
    margin: 20px auto 10px auto;
}

p{
    margin: 0px auto;
    padding: 0;
    display: block;
    flex-direction: column;
}

#digitos{
    width: 250px;
    height: 40px;
    padding: 5px 0 5px 10px;

    border-radius: 6px;
    border:  1px solid #80808083;
}

#botao{
    font-weight: bold;
    margin: 10px auto 0 auto;
    width: 60%;
    padding: 10px 14px;

    border: 1px solid #80808074;
    border-radius: 10px;
}

#botao:hover{
    color: #ffffff;
    border: 1px solid #000000;
    background-color: rgb(21, 181, 21);
}

#botao:active{
    background-color: rgb(2, 87, 2);
}

textarea#resposta{
    text-align: center;
    font-weight: bold;
    color: black;
    
    width: 300px;
    height: 100px;

    padding: 20px;
    margin: 20px auto;
    
    border-radius: 15px;
    background-color: lightgreen;
}

footer{
    color: white;
    margin-top: 10px;
    text-align: center;
}

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

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

a:active{
    color: red;
}

/* UTILITÀRIOS */
.mg-c{
    margin: 0 auto;
}

.mg-t{
    margin-top: 20px;
}

@media screen and (max-width: 400px) {
    h1{
        font-size: 24px;
    }
}