*{
    margin: 0;
    padding: 0;
}

body{
    background-color: black;
}

           /*logo facebook e zap flutuante*/

nav{
    width: 100px;
    background-color: rgb(240, 240, 240);
    border-radius: 30px;
    box-shadow: 3px 3px 5px rgb(200, 200, 200) ;
    overflow: hidden;
    margin-left: 5%;
    position: fixed;
    top: 100px;
}

li:hover{
    background-color: rgb(220, 220, 220);
    transition: 2s;
}

/*logo imperio*/
.imp {
    overflow: hidden;
    }
.imp img{
    width: 100%;
}

                    /*logo e slide*/

.capa{
    width: 100%;
    height: 200px;
    background-image: url(imagens/logo-m.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: silver;
}

                    /* texto principal*/

h1{
    margin-top: 40px;
    width: 100%;
    text-align: center;
    color: rgb(169, 118, 75) ;
    font-size: 170%;
    text-shadow: 1px 1px 1px white;
    padding: 10px 0 20px 0;
}


                    /* formulario de contato */

.calculadora{
    width: 100%;
    margin-top: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: silver;
    padding: 40px 0;
}

.calculadora p{
    color: white;
    font-size: 130%;
    font-weight: bold;
}

form{
    background-color: rgba(0,0,0, 0.8);
    border-radius: 30px;
    box-shadow: 1px 5px 5px white;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 80%;
}

.form input,
.form textarea,
.form button{
    font-size: 100%;
}

.form label,
.form input,
.form textarea,
.form button{
    display: block;
    padding: 6px 10px;
    margin: 2px auto;
    font-weight: bold;
    color: black;
    width: 80%;
    text-align: center;
}

.form button{
    margin: 10px auto;
    margin: 15px auto;

}

.formulario {
    box-sizing: border-box;
}

.form label{
    color: white;
    font-size: 150%;
    font-family: "Gravitas One"';
}


                    /*slide*/

                    /*rodapé */

footer{
    width: 100%;
    background-color: rgb(9, 0, 0);
    color: white;
    font-size: 150%;
    height: 100px;
    border-top: dotted 2px white;
    text-align: center;
    padding: 20px 0;
    box-sizing: border-box;
}

                        /*reponsivo*/

@media screen and (max-width: 539px) {


                    /* logo flutuante*/
body{
nav {
        width: 50px;
    }
nav img{
    width: 100%;
}

}
}