@import url('https://fonts.googleapis.com/css2?family=Comforter&display=swap');

span {
    display: block;
}

header {
    text-align: center;
}

label {
    margin: 15px;
}

*{
 box-sizing: border-box;
}

body{
    background-image: url(https://wallpaperaccess.com/full/6302897.jpg);
    background-size: auto;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    color: #443b3b;
    font-size: 16pt;
    font-family: Comforter;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

.invisible{
    display: none;
}

.input-valor {
    width: 20%;
    display: flex;
    flex-direction: column;
}

.form-moeda1 {
    padding: 10px;
    box-shadow: 2px 2px 2px;
    background-color: rgba(228, 217, 217, 0.589);
    width: 30%;
    display: flex;
    flex-direction: column;
}

.form-moeda2 {
    padding: 10px;
    box-shadow: 2px 2px 2px;
    background-color: rgba(228, 217, 217, 0.589);
    width: 30%;
    display: flex;
    flex-direction: column;
}

.container-conversor {
    padding: 25px;
    margin: auto;
    width: 750px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(129, 120, 120, 0.027);
    box-shadow: 2px 2px 2px;
}

.resultado-conversao {
    margin: auto;
    width: 750px;
    text-align: center;
}

.container-span-resultado {
    margin: auto;
    width: max-content;
    text-align: left;
    font-size: 30px;
}

#btn-converter {
    height: min-content;
}

input{
    outline: none;
}

button{
    border: none;
    font-family: cursive;
    padding: 8px;
    box-shadow: 0px 5px 2px 1px rgba(0, 0, 0, 0.2);
    color: #443B3B;
}

button:hover{
    background-color: #c4c2c2;
    box-shadow: 0px 5px 2px 1px rgba(0, 0, 0, 0.4)
}

button:active{
    position: relative;
    top: 5px;
    box-shadow: none;
}

.cnt{
    display: flex;
    width: 100vw;
    height: 100vh; 
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    
}

footer{
    margin-top: 15px;    
}

a{
    color: #746b6b;;
}

@media (max-width: 450px){

    *{
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        box-sizing: border-box;
    }
    
    body{
        width: 100vw;
        height: 100vh;
    }
    .cnt{
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 100%;
    }

    

    .filha{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        
     }

     label{
         margin: 0;
     }

    .container-conversor{
        display: flex;
        flex-direction: column;
        max-width: 350px;
        padding: 0;
        margin: 0;


    }
    .input-valor{
        margin: 5px;
    }
    
   h1{
       font-size: 20pt;
       margin: 0;
   }

    .form-moeda1{
        display: flex;
        width: 100%;
       
    }

    .form-moeda2{
        display: flex;
        width: 100%;
        
    }

    .resultado-conversao{
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }


    .container-span-resultado{
        display: none;
    }

    h2{
        font-size: 16pt;
        margin: 5px;
    }

    button{
        margin: 10px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        background-color: #443b3b;
        color: aliceblue;
        font-weight: 600;
    }

    footer{
        font-size: 80%;     
    }
}