/* INICIO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: black;
    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: #00ff08;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo {
    color: white;
    font-size: 38px;
    text-align: center;
}

h2.titulo span {
    color: #00ff08;
}

button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 8px #00ff08;
    transform: scale(1.05);
}

/* ESTILO DO CABEÇALHO */
header {
    padding: 40px 4%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: #979797;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover {
    color: #fff;
    transform: scale(1.05);
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline-block;
    padding: 0 40px;
}

.logo img {
    width: 100px;
    height: auto;
}

/* ESTILO DO TOPO DO SITE */

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: 42px;
    line-height: 40px;
}

.topo-do-site h1 span {
    color: #00ff08;
}

.topo-do-site p {
    color: #fff;
    margin: 40px 0;
}

.topo-do-site .img-topo-site img {
    width: 150%; 
    max-width: 150%;
    height: auto;
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar {
    0% {
        top: 0;
    }

    100% {
        top: 30px;
    }
}



/*ESTILO DAS ESPECIALIDADES */

section.especialidades {
    padding: 40px 4%;
}

section.especialidades .flex {
    gap: 60px;

}

.especialidades-box {
    color: white;
    padding: 40px;
    border-radius: 25px;
    margin-top: 45px;
    transition: 1s;
}

.especialidades-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.527);
}

.especialidades-box i {
    font-size: 70px;
    color: #00ff08;
}

.especialidades-box h3 {
    font-size: 28px;
    margin: 15px 0;
}



/* ESTILO DO SOBRE */
section.sobre {
    padding: 80px 4%;
}

.sobre .flex {
    align-items: center;
    gap: 60px;
}

.txt-sobre {
    color: white;
}

.txt-sobre h2 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.txt-sobre h2 span {
    color: #00ff08;
    display: block;
}

.txt-sobre p {
    margin: 20px 0;
    text-align: justify;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    background-color: #00ff08;
    font-size: 22px;
    cursor: pointer;
    margin: 0 8px;
    transition: 1s;
}

.img-sobre { /* Modifique ESTA regra */
    max-width: 500px; /* Defina uma largura máxima para o contêiner da imagem. Você pode ajustar este valor (ex: 450px, 600px) */
    width: 300%; /* Garante que o contêiner ocupe 100% da largura disponível em telas menores, até o max-width */
    /* height: auto; Não é necessário aqui, a altura do contêiner será definida pelo conteúdo */
}

.img-sobre img { /* E modifique ESTA regra, para que a imagem preencha o contêiner */
    width: 100%; /* A imagem ocupará 100% da largura do seu contêiner (.img-sobre) */
    height: auto; /* Mantém a proporção da imagem */
    display: block; /* Ajuda a remover espaços extras abaixo da imagem */
    border-radius: 30px;
}

/*ESTILO DO PORTFÓLIO*/

section.portfolio {
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

section.portfolio .flex {
    justify-content: space-around;
    margin-top: 60px;
}

.img-port {
    width: 360px;
    height: 460px;
    background-color: #00ff08;
    background-size: cover;
    background-position: 40% 0%;
    transition: 5s;
    cursor: pointer;
    border-radius: 40px;
    position: relative;
}

/*.img-port:hover {
    background-position: 100% 100%;
} */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000b8;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    opacity: 0;
    transition: 2s;
}

.overlay:hover {
    opacity: 1;
}

.overlay a {
    color: #fff;
    text-decoration: none;
}

/* ESTILO DO FORMULÁRIO */

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: #242424;
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 15px;
    color: #fff;
    font-size: 18px;
}

form textarea {
    resize: none;
    max-height: 200px;
}

form .btn-enviar {
    margin-top: 20px;
    text-align: center;
}

form .btn-enviar input {
    width: 120px;
    background-color: #00ff08;
    color: black;
    font-weight: 700;
    cursor: pointer;
    transition: 1s;
}


/* ESTILO RODAPÉ */
footer {
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

footer .flex {
    justify-content: space-between;
}

footer .line-footer {
    padding: 20px 0;
}

.borda {
    border-top: 2px solid #00ff08;
}

footer .logo-footer img {
    width: 100px;
    height: auto;
}

footer .line-footer p i {
    color: #00ff08;
    font-size: 22px;
}

footer .line-footer p a {
    color: #fff;
}

/* ESTILO BOTÃO VOLTAR AO TOPO */
.btn-topo {
    position: fixed; /* Fixa o botão na tela */
    bottom: 30px; /* Distância da parte inferior da tela */
    right: 30px; /* Distância da parte direita da tela */
    background-color: #00ff08; /* Cor de fundo da sua identidade visual */
    color: #000; /* Cor do ícone */
    border-radius: 50%; /* Torna o botão circular */
    width: 50px; /* Largura do botão */
    height: 50px; /* Altura do botão */
    display: flex; /* Para centralizar o ícone */
    align-items: center; /* Centraliza verticalmente o ícone */
    justify-content: center; /* Centraliza horizontalmente o ícone */
    font-size: 28px; /* Tamanho do ícone */
    text-decoration: none; /* Remove o sublinhado do link */
    z-index: 9999; /* Garante que o botão fique acima de outros elementos */
    transition: all 0.3s ease-in-out; /* Adiciona uma transição suave para efeitos de hover */
}

.btn-topo:hover {
    box-shadow: 0px 0px 8px #00ff08; /* Sombra ao passar o mouse */
    transform: scale(1.1); /* Um pequeno efeito de escala ao passar o mouse */
}

/* RESPONSIVIDADE DO BOTÃO VOLTAR AO TOPO  */
@media screen and (max-width: 768px) {
    .btn-topo {
        bottom: 20px; /* Ajuste para telas menores */
        right: 20px; /* Ajuste para telas menores */
        width: 45px; /* Tamanho menor para telas menores */
        height: 45px; /* Tamanho menor para telas menores */
        font-size: 24px; /* Tamanho do ícone menor para telas menores */
    }
}

@media screen and (max-width: 1020px) {

    /* CLASSE GERAIS */
    .flex {
        flex-direction: column;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    h2.titulo{
        font-family: 34px;
        line-height: 30px;
    }

    /* CABEÇALHO */
    .menu-desktop,
    .btn-contato {
        display: none;
    }

    /* TOPO DO SITE */
    section.topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site h1 {
        font-size: 30px;
    }

    .topo-do-site img {
        width: 100%;
    }

    section.topo-do-site .flex {
        gap: 40px;
    }

    /*ESTILO DAS ESPECIALIDADES */

    section.especialidades {
        padding: 40px 8%;
    }

    /* SOBRE  */
    section.sobre{
        padding: 80px 9%;
    }

    .sobre .txt-sobre h2{
        font-size: 34px;
        line-height: 35px;
        text-align: center;
    }

    btn-social{
        text-align: center;
    }

    .img-sobre img{
        width: 100%;
    }

    /* PROTFÓLIO */

    section.portfolio{
        padding: 80px 8%;
    }

    .img-port{
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    section.portfolio .flex{
        gap: 60px;
    }
    /* RODAPÉ */

    footer .flex{
        flex-direction: column;
    }

    footer .line-footer{
        text-align: center;
    }
}

html {
    scroll-behavior: smooth;
}