/* Estilo geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

html{
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    height: 80vh;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}


button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 10px #d45013;
    transform: scale(1.05);
}

.btn-social {
    display: flex;
    width: 200px;
    justify-content: space-between;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #d45013;
    font-size: 22px;
    cursor: pointer;
    transition: .2s;
}

.btn-social button i {
    color: #fff;
}

h2.titulo {
    color: #fff;
    font-size: 38px;
    text-align: center;
}

h2.titulo span {
    color: #d45013;
}

/* Estilo do Cabeçalho */

header {
    padding: 20px 4%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav a{
    color: #7d7d7d;
    text-decoration: none;
    display: inline-block;

}

header nav.menu-desktop a:hover {
    color: #ffffff;
    transform: scale(1.05);
    transition: .2s;

}

header nav ul {
    list-style-type: none;
}

header nav.menu-desktop li {
    display: inline-block;
    padding: 0 20px;

}

/* ESTILO DO MENU MOBILE */

.btn-abrir-menu{
    background-color: #242424;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 5px;
    height: 3rem;
    cursor: pointer;
    
}

.btn-abrir-menu i{
    color: #ffffff;
    font-size: 40px;
    margin-bottom: -4px;
}

.menu-mobile{
    background-color: #000000e1;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 900;
    width: 0%;
    overflow: hidden;
    transition: .8s;
}

.menu-mobile.abrir-menu{
    width: 70%;
}

.menu-mobile.abrir-menu ~ .overlay-menu{
    display: block;

}

.menu-mobile .btn-fechar{
    padding: 20px 5%;
    cursor: pointer;
}

.menu-mobile .btn-fechar i{
    color: #d45013;
    font-size: 30px;
}

.menu-mobile nav ul{
    text-align: right;
}

.menu-mobile nav ul li a{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 10%;
    display: block;
}

.menu-mobile nav ul li a:hover{
    background-color: #d45013;
}

.overlay-menu{
    background-color: #000000ba;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 850;
    display: none;
}

/* ESTILO DO TOPO DO SITE */

section.topo-do-site {
    padding: 20px 4%;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: center;
}

.topo-do-site .txt-topo-do-site h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 800;
    line-height: 3rem;
}

.topo-do-site .txt-topo-do-site h1 span {
    color: #d45013;
    font-size: 60px;
}

.topo-do-site .txt-topo-do-site p {
    color: #ffffff;
    margin: 20px 0px;
}

.topo-do-site .img-topo-do-site img {
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar {
    0% {
        top: 0;
    }

    100% {
        top: 30px
    }
}

/* ESTILO DAS ESPECIALIDADES */

section.especialidades {
    padding: 20px 4%;
}

section.especialidades .flex {
    gap: 60px;
}

.especialidades .especialidades-box {
    color: #fff;
    padding: 20px;
    margin-top: 25px;
    border-radius: 20px;
    transition: .2s;
}

.especialidades .especialidades-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px #ffffff85;
}

.especialidades .especialidades-box i {
    font-size: 70px;
    color: #d45013;
}

.especialidades .especialidades-box h3 {
    font-size: 28px;
    margin: 15px 0px;
}

/* ESTILO DO SOBRE */

section.sobre {
    padding: 80px 4%;
}

section.sobre .flex {
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre {
    color: #fff;
}

.sobre .txt-sobre h2 {
    font-size: 40px;
    line-height: 3rem;
    margin-bottom: 20px;
}

.sobre .txt-sobre h2 span {
    color: #d45013;
    display: block;
}

.sobre .txt-sobre p {
    margin-bottom: 20px;
    text-align: justify;
}

/* ESTILO DA SEÇÃO DE PROJETOS */

section.projetos {
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff3d;
}

section.projetos .flex {
    justify-content: space-between;
    padding: 25px 0;
}

.img-prj {
    width: 360px;
    height: 460px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 0;
    transition: 4s;
    border-radius: 30px;
    position: relative;

}

.img-prj:hover {
    background-position: 100% 100%;
    transition: 8s;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000063;
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .5s;
}

.overlay:hover {
    opacity: 1;
}

/* ESTILO DA SEÇÃO DE CONTATO */

section.contato {
    padding: 40px 4%;
    margin-bottom: 40px;
}

form {
    max-width: 500px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

form input,
form textarea {
    width: 100%;
    background-color: #242424;
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 20px;
    color: #fff;
    font-size: 18px;
}

form textarea {
    resize: none;
    max-height: 250px;
}

form .btn-enviar {
    margin-top: 20px;
    text-align: center;
}

form .btn-enviar input {
    width: 95%;
    background-color: #EC7237;
    color: #000000;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

form .btn-enviar input:hover{
    background-color: #d45013;
}

/* ESTILO DO FOOTER */

footer {
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff3d;
}

footer .flex {
    justify-content: space-between;
    align-items: center;
}

footer .line-footer {
    padding: 20px 0;
}

.borda {
    border-top: 2px solid #d45013;
}

footer .line-footer p i {
    color: #d45013;
    font-size: 22px;
    vertical-align: middle;
}

footer .line-footer p a {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 1020px) {

    /* CLASSES GERAIS */
    .flex {
        flex-direction: column;
    }

    h2.titulo {
        font-size: 32px;
    }

    /* CABEÇALHO */
    header{
        padding: 20px 8%;
    }

    .menu-desktop,
    .btn-contato {
        display: none;
    }

    /* MENU MOBILE */

    .btn-abrir-menu{
        display: flex;
    }

    /* TOPO DO SITE */
    section.topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    .topo-do-site .img-topo-do-site {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .topo-do-site .img-topo-do-site img {
        width: 70%;
        height: 70%;
    }

    .topo-do-site .txt-topo-do-site h1 {
        font-size: 42px;
        text-align: center;
    }

    .topo-do-site .txt-topo-do-site p {
        font-size: 16px;
        text-align: center;
    }

    /* ESPECIALIDADES */
    section.especialidades {
        padding: 20px 8%;
    }

    /* SOBRE */
    section.sobre {
        padding: 40px 8%;
    }

    .img-sobre {
        display: flex;
        justify-content: center;
    }

    .img-sobre img {
        width: 80%;
    }

    .sobre .txt-sobre {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sobre .txt-sobre h2 {
        font-size: 32px;
        text-align: center;
        line-height: 2.5rem;
    }

    .sobre .txt-sobre p {
        font-size: 14px;
    }

    /* PROJETOS */
    section.projetos {
        padding: 40px 8%;
    }

    section.projetos .flex {
        justify-content: center;
        align-items: center;
        row-gap: 20px;
    }

    /* CONTATO */
    section.contato {
        padding: 40px 8%;
        margin-bottom: 40px;
    }

    /* FOOTER */
    footer {
        padding: 40px 8%;
    }

    .line-footer .flex {
        row-gap: 20px;
    }

    .borda{
        display: flex;
        justify-content: center;
    }

}