/* 
    Aluno: Weden Gabriel da Silva Gomes
    RU:4170826
*/

/* ESTILO GERAL */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #000;
}

.txt-sobre h2 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.txt-sobre h2 span {
    color: aquamarine;
    display: block;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: aqua;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 10px #0037ff;
    transform: scale(1.05);
}

.txt-sobre h2 {
    text-align: left;
}

h2 {
    color: #fff;
    font-size: 38px;
    text-align: center;
}

h2.titulo span {
    color: aqua;
}

/* ESTILO DO CABEÇALHO */
header {
    padding: 40px 4%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: #5c5c5c;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav.menu-desktop a:hover {
    color: #fff;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 40px;
}

/* ESTILO FORMAÇÃO */

.especialidades-box img {
    filter: grayscale(1) brightness(0) invert(1);
    mix-blend-mode: screen;
}

div.flex .especialidades-box p {
    text-align: justify;
}

/* ESTILO MENU MOBILE */
.btn-abrir-menu i {
    color: aqua;
    font-size: 40px;
}

.menu-mobile {
    background-color: #000;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: .5s;
}

.menu-mobile.abrir-menu {
    width: 70%;
}

.menu-mobile.abrir-menu~.overlay-menu {
    display: block;
}

.menu-mobile .btn-fechar {
    padding: 20px 5%;
}

.menu-mobile .btn-fechar i {
    color: aqua;
    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 8%;
    display: block;
}

.menu-mobile nav ul li a:hover {
    background-color: aqua;
    color: #000;
}

.overlay-menu {
    background-color: #000000a7;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}

/* ESTILO DO TOPO DO SITE */
section.topo-do-site {
    padding: 40px 4%;
}

section.topo-do-site .img-topo-site img {
    border-radius: 50%;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1 {
    color: #fff;
    font-size: 42px;
    line-height: 40px;
}

.topo-do-site h1 a {
    transition: .2s;
}

.topo-do-site h1 span {
    color: aqua;
}

.topo-do-site .txt-topo-site p {
    color: #fff;
    margin: 40px 0;
}

.topo-do-site .img-topo-site img {
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar {
    0% {
        top: 0;
    }

    100% {
        top: 30px;
    }
}

/* ESTILOS DAS ESPECIALIDADES */
section.especialidades {
    padding: 40px 4%;
}

section.especialidades .flex {
    gap: 60px;
}

.especialidades .especialidades-box {
    color: #fff;
    padding: 40px;
    /* border: 2px solid #fff; */
    margin-top: 45px;
    border-radius: 25px;
    transition: .2s;
}

.especialidades .especialidades-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px #ffffff4e;
}

.especialidades .especialidades-box i {
    font-size: 70px;
    color: aquamarine;
}

.especialidades .especialidades-box h3 {
    font-size: 28px;
    margin: 15px 0;
}

/* ESTILO SOBRE */
section.sobre {
    padding: 80px 4%;
}

.sobre .txt-sobre {
    color: #fff;
}

section.sobre .flex {
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre h2 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.sobre .txt-sobre p {
    margin: 30px 0;
    text-align: justify;
}

.sobre .img-sobre img {
    border-radius: 15%;
    height: 350px;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: aquamarine;
    font-size: 22px;
    margin: 0 5px;
    transition: .2s;
}

/* ESTILO DO PORTIFOLIO */
section.portifolio {
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

section.portifolio .interface {
    max-width: 1200px;
    margin: 0 auto;
}

section.portifolio .flex {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center;  
    margin-top: 60px;
}

section.portifolio a {
    color: #fff;
    text-decoration: none;
}

.img-port {
    width: 360px;
    height: 460px;
    background-color: aqua;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* background-position: 100% 0%; */
    transition: 8s;
    cursor: pointer;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.img-port:hover {
    background-position: 100% 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000a2;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: .5s;
}

.overlay:hover {
    opacity: 1;
}

.text-port1, .text-port2 {
    color: #fff; 
    font-size: 1rem; 
    line-height: 1.6; /* Aumentar o espaçamento entre as linhas para melhorar a legibilidade */
    max-width: 800px; /* Limitar a largura para evitar que o texto ocupe muito espaço */
    margin: 0 auto; 
    padding: 15px; /* Adiciona um pouco de padding para separar o texto das bordas */
}

.text-port1 p, .text-port2 p {
    font-size: 16px;
    text-align: justify;
    margin: 0; /* Remover margens extras que possam aumentar o espaço */
}

/* ESTILO DO FORMULARIO DE CONTATO */
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: aqua;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

/* ESTILO DO RODAPE */
footer {
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

footer .flex {
    justify-content: space-between;
}

footer .line-footer {
    padding: 20px 0%;
}

.line-footer.borda p {
    display: inline-block;
    vertical-align: middle; /* Alinha verticalmente os itens */
}

.line-footer.borda img {
    vertical-align: middle; /* Alinha verticalmente com o texto */
    margin-right: 10px; /* Espaçamento entre a imagem e o link */
}

.line-footer.borda a {
    text-decoration: none;
}

.borda {
    border-top: 2px solid aquamarine;
}

.btn-social {
    position: relative;
    top: 20px;
}

.btn-social img {
    position: relative;
    top: 4px;
}

footer .line-footer p i {
    color: aquamarine;
    font-size: 22px;
}

footer .line-footer p a {
    color: #fff;
}

@media screen and (max-width: 1020px) {

/* CLASSES GERAIS */
.flex {
    flex-direction: column;
}

.topo-do-site .flex {
    flex-direction: column-reverse;
}

h2.titulo {
    font-size: 34px;
    line-height: 30px;
}

/* CABEÇALHO */
.menu-desktop,
.btn-contato {
    display: none;
}

/* TOPO DO SITE */
section .img-topo-site .flex {
    gap: 40px;
}

.txt-sobre h2 {
    font-size: 30px;
}

section.topo-do-site {
    padding: 20px 8%;
}

.topo-do-site h1 {
    font-size: 30px;
}

.topo-do-site .img-topo-site img {
    width: 100%;
}

/* ESPECIALIDADES */
section.especialidades {
    padding: 40px 8%;
}

/* SOBRE */
section.sobre {
    padding: 80px 8%;
}

.sobre .txt-sobre h2 {
    font-size: 34px;
    line-height: 35px;
    text-align: center;
}

.btn-social {
    text-align: center;
    position: relative;
    top: -10px;
}

.line-footer.borda a {
    display: block; /* Força uma quebra de linha */
    margin: 5px auto; /* Centraliza horizontalmente */
    text-align: center; /* Para a âncora */
}

.img-sobre img {
    width: 100%;
}

/* PORTIFOLIO */
section .portifolio {
    padding: 80px 8%;
}

div.especialidades-box p {
    text-align: justify;
}

.img-port {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

section.portifolio .flex {
    gap: 60px;
}

/* RODAPE */
footer .flex {
    flex-direction: column;
    gap: 30px;
}

footer .line-footer {
    text-align: center;
}
}