* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: #000000;
    height: 100vh;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.will-contatos button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: rgb(255, 147, 47);
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo {
    color: white;
    font-size: 35px;
    text-align: center;
}

h2.titulo span {
    color: rgb(255, 147, 47);
}

button:hover,
form .will-enviar input:hover {
    box-shadow: 0px 0px 8px rgba(255, 147, 47, 0.822);
    transform: scale(1.07);
}

header {
    padding: 40px 4%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: #8f8c8c;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover {
    color: whitesmoke;
    transform: scale(1.07);
}

header nav ul {
    list-style-type: none;
}

header nav ul li {
    display: inline-block;
    padding: 0 40px;
}

section.topo-do-site {
    padding: 40px 4%;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1 {
    color: white;
    font-size: 40px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span {
    color: rgb(255, 147, 47);
}

.topo-do-site .txt-topo-site p {
    color: white;
    margin: 40px 0;
    font-size: 18px;
}

.topo-do-site .img-topo-site img {
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
    width: 285px;
    border-radius: 20%;
    border: none;
}

@keyframes flutuar {
    0% {
        top: 0;
    }

    100% {
        top: 30px;
    }
}

section.especialidades {
    padding: 40px 4%;
}

section.especialidades .flex {
    gap: 60px;
}

.especialidades .especialidades-box {
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
}

.especialidades .especialidades-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.39);
}

.especialidades .especialidades-box i {
    font-size: 70px;
    color: rgb(255, 147, 47);
}

.especialidades .especialidades-box h3 {
    font-size: 28px;
    margin: 15px 0;
}

section.sobre {
    padding: 80px 4%;
}

section.sobre .flex {
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre {
    color: white;
}

.sobre .txt-sobre h2 {
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span {
    color: rgb(255, 147, 47);
    display: block;
}

.sobre .txt-sobre p {
    margin: 20px 0;
    text-align: justify;
}

.william-social button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgb(255, 147, 47);
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

.sobre .flex .img-sobre img {
    border-radius: 35px;
    border: none;
    width: 310px;
}

section.portfolio {
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.096);
}

section.portfolio .flex {
    justify-content: space-around;
    margin-top: 60px;
}

.img-port {
    width: 360px;
    height: 460px;
    background-color: rgb(255, 147, 47);
    background-size: cover;
    background-position: 100% 0%;
    border-radius: 40px;
    transition: 8s;
    cursor: pointer;
    position: relative;
}

.img-port:hover {
    background-position: 100% 100%
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.568);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    opacity: 0;
    transition: .5s;
}

.overlay:hover {
    opacity: 1;
}


section.formulario {
    padding: 80px 4%;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

form input,
form textarea {
    width: 100%;
    background-color: rgb(59, 59, 59);
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 15px;
    color: white;
    font-size: 18px;
}

form textarea {
    resize: none;
    max-height: 200px;
}

form .will-enviar {
    margin-top: 20px;
    text-align: center;
}

form .will-enviar input {
    width: 120px;
    background-color: rgb(255, 147, 47);
    color: black;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}


footer {
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.048);
}

footer .flex {
    justify-content: space-between;
}

footer .line-footer {
    padding: 20px 0;
}

.borda {
    border-top: 2px solid rgb(255, 147, 47);
}

footer .line-footer p i {
    color: rgb(255, 147, 47);
    font-size: 22px;
}

footer .line-footer p a {
    color: white;
}

@media screen and (max-width: 1020px) {

    .flex {
        flex-direction: column;
    }

    h2.titulo {
        font-size: 30px;
        line-height: 34px;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    .menu_desktop,
    .will-contatos {
        display: none;
    }

    section.topo-do-site .flex {
        gap: 55px;
    }

    section.topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site h1 {
        font-size: 30px;
    }

    .topo-do-site .img-topo-site img {
        width: 100%;
    }

    section.especialidades {
        padding: 40px 8%;
    }

    section.sobre {
        padding: 80px 8%;
    }

    .sobre .txt-sobre h2 {
        font-size: 30px;
        line-height: 35px;
        text-align: center;
    }

    .william-social {
        text-align: center;
    }

    .img-sobre img {
        width: 100%;
    }

    section.portfolio {
        padding: 80px 8%;
    }

    .img-port {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    section.portfolio .flex {
        gap: 55px;
    }

    footer .flex {
        gap: 30px;
    }

    footer .line-footer {
        text-align: center;
    }
}