/* Estilo geral */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #131215;
    height: 100vh;
}

.interface{
    max-width: 1280px;
    margin: 0 auto;
}

.flex{
    display: flex;
}

.btn-contato button{
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color:  #8f38d1;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo{
    color: #fff;
    font-size: 40px;
    text-align: center;
}

h2.titulo span{
    color: #8f38d1;
}

/* Estilo do cabeçalho */

header{
    padding: 30px 3%;
}

header > .interface{
    display: flex;
    align-items: center;
    justify-content: space-between
}

header a{
    color: #7d7d7d;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
    font-size: 20px;
}

header a:hover{
    color: #fff;
    transform: scale(1.05);
}

header nav ul{
    list-style-type: none;
}

header nav ul li{
    display: inline-block;
    padding: 0 80px;
}

.btn-contato button:hover{
    box-shadow: 0px 0px 8px #571c85 ;
    transform: scale(1.05);
}

/* TOPO DO SITE */

section.topo-do-site{
    padding: 30px 1%;
}

section.topo-do-site .flex{
    align-items: center;
    justify-content: center;
    gap: 250px;
}

.topo-do-site h1{
    color: #fff;
    font-size: 38px;
    line-height: 40px;
}

.topo-do-site h1 span{
    color: #8f38d1;
    font-size: 48px;
}

.topo-do-site .txt-topo-site p{
    color: #fff;
    margin: 10px 0px;
    font-size: 20px;
}

.topo-do-site .img-topo-site img{
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
    width: 350px;

}

@keyframes flutuar{
    0%{
        top: 0;
    }
    100%{
        top:30px
    }
}

.topo-do-site .img-topo-site img{
    width: 20vw;
    margin-top: 20px;
    padding: 1px;
    background-color: #131215;
    border-radius: 20px;
    box-shadow: 0 0 20px #571c85;
}

/* ESTILO SERVIÇOS */

section.serviços{
    padding: 40px 4%;
}

section.serviços .flex{
    gap: 60px;
}

.serviços .serviços-box{
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
}

.serviços .serviços-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px #571c85;
}

.serviços .serviços-box i{
    font-size: 70px;
    color:  #8f38d1;
}

.serviços .serviços-box h3{
    font-size: 28px;
    margin: 15px 0;
}

.serviços .serviços-box p{
    font-size: 18px;
}

/* ESTILO SOBRE */

section.sobre{
    padding: 40px 4%;
}

section.sobre .flex{
    align-items: center;
    gap: 10%;
}

.sobre .txt-sobre{
    color: #fff;
}

.sobre .txt-sobre h2{
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 20px;
}

.sobre .txt-sobre h2 span{
    color: #8f38d1;
    display: block;
}

.sobre .txt-sobre p{
    font-size: 20px;
    text-align: justify;
    width: 80%;
}

.sobre .txt-sobre p span{
    color: #8f38d1;
    font-weight: 600;
}

.sobre .img-sobre img{
    width: 500px;
    float: right;
    border-radius: 20px;
    box-shadow: 0 0 20px #571c85;
}

html{
    scroll-behavior: smooth;
}

/* DEDICO */

section.dedico h2{
    padding: 40px 4%;
    text-align: center;
    color: #fff;
}

section.dedico span{
    color: #8f38d1;
}

section.dedico p{
    color: #fff;
    text-align: center;
    font-size:20px;
}

/* RODAPÉ */

footer{
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #8f38d1;
}

footer .flex{
    align-items: center;
    justify-content: space-evenly;
}

footer .flex .redes-sociais-box a{
    color: #fff;
    font-size: 30px;
    transition: .2s;
}

footer .flex .redes-sociais-box a:hover{
    transform: scale(1.2);
}

footer .flex .redes-sociais-box{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVO */

@media screen and (max-width: 1020px){

    /*CLASSES GERAIS */

    .topo-do-site .flex{
        flex-direction: column-reverse;
    }

    .flex{
        flex-direction: column;
    }

    /* CABEÇALHO */
    .menu-desktop, .btn-contador{
        display: none;
    }

    .topo-do-site h1{
        font-size: 30px;
        line-height: 40px;
    }

    .topo-do-site p{
        font-size: 18px;
    }

    .topo-do-site .img-topo-site img{
        width: 300px;
        margin-top: 50px;
        padding: 1px;
        background-color: #131215;
        border-radius: 20px;
        box-shadow: 0 0 20px #571c85;
    }

    /* SERVIÇOS */

    section.serviços{
        padding: 7vw ;
    }

    /*SOBRE*/

    section.sobre .flex{
        flex-direction: column-reverse;
    }

    section.sobre .txt-sobre p{
        width: 100%;
    }

    section.sobre .img-sobre img{
        width: 100%;
        float: none;
        margin-top: 20px;
    }

    .serviços .serviços-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px #571c85;
    }

    /*REDES-SOCIAIS*/

    footer .flex{
        flex-direction:row;
        gap: 20px;

    }
}

