/* Reset global para garantir que todos os elementos tenham margens e paddings consistentes */
* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* INICIO HEADER */
.nav {
    background-color: #181818;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9;
    padding-right: 28px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: #ddd;
    padding: 20px;
}

.nav-list a:hover {
    color: #fff;
}

/* Fim HEADER */

/* Estilização do botão de idiomas */
.language-button-container {
    display: flex;
    align-items: center;
}

.language-button {
    cursor: pointer;
    background-color: #181818;  /* Fundo preto */
    border: 2px solid #1e96fc;  /* Linha azul */
    padding: 5px 10px;  /* Diminuindo o tamanho do botão */
    border-radius: 4px;
    font-size: 14px;
    color: #fff;  /* Texto branco */
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px; /* Adiciona um espaçamento entre os botões */
}

.language-button img {
    width: 15px;  /* Ajuste o tamanho da bandeira */
    height: auto;
    margin-right: 5px; /* Espaço entre a bandeira e o texto */
}

.language-button:hover {
    background-color: #1e96fc;  /* Altera o fundo para azul claro no hover */
    color: #fff;  /* Mantém o texto branco */
    transform: scale(1.05);  /* Aumenta levemente o botão */
}

.language-button:focus {
    outline: none;
    border-color: #1e96fc;  /* Bordas azuis ao focar */
    box-shadow: 0 0 10px rgba(30, 150, 252, 0.5);  /* Efeito de brilho azul */
}
/* FIM Estilização do botão de idiomas */

/* INICIO MAIN */
.main {
    width: 100%;
    background-color: #000;
    height: calc(100vh - 80px); /* Ajusta o tamanho da área principal */
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.main h1 {
    color: #fff;
    font-size: 40px;
}

.main p {
    font-size: 24px;
    font-style: italic;
    color: #1e96fc;
    margin-top: 10px;
    margin-bottom: 35px;
}

.call-to-action {
    cursor: pointer;
    background-color: #fff;
    border: 0;
    padding: 2%;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.9s;
}

.call-to-action:hover {
    transform: scale(1.1);
}

.main a {
    text-decoration: none;
    color: #181818;
}
/* FIM MAIN */

/* INICIO SOBRE */
.about {
    background-color: #fff;
    width: 100%;
    padding: 40px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about div {
    max-width: 50%;
    padding-right: 40px;
}

.about img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.about div h2 {
    font-size: 50px;
    margin-bottom: 14px;
}
/* FIM SOBRE */

/* INICIO TRABALHOS */
.project {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.project h2 {
    font-size: 32px;
    margin-bottom: 8px;
    margin-top: 20px;
}

.project p {
    margin-bottom: 40px;
    font-style: italic;
}

.project-list {
    width: 100%;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.project img {
    width: 100%;
    max-width: 200px; /* Limita o tamanho máximo das imagens */
    height: auto;
    margin: 10px;
    opacity: 0.8;
    transition: 0.9s;
    object-fit: cover;
}

.project img:hover {
    opacity: 1;
}

.action {
    background-color: #181818;
    border: 0;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 18px;
    color: #fff;
    margin-top: 18px;
    cursor: pointer;
}
/* FIM TRABALHOS */

/* INICIO LOGOTIPO */
.logos-container {
    display: flex;
    justify-content: center;   /* Centraliza a imagem horizontalmente */
    align-items: center;       /* Centraliza a imagem verticalmente */
    margin-top: 50px;           /* Distância do topo da página */
}

.logo-img {
    width: 150px;              /* Ajusta o tamanho da imagem */
    height: 150px;             /* Ajusta o tamanho da imagem */
    border-radius: 50%;        /* Faz a imagem ficar circular */
    object-fit: cover;         /* Garante que a imagem preencha o círculo sem distorção */
}
/* FIM LOGOTIPO */


/* INICIO CERTIFICAÇÕES */
.certificacoes {
    width: 100%;
    padding: 40px 10%;
    background-color: #f9f9f9;
    text-align: center;
}

.certificacoes h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.certificados {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    color: #333;
}

.certificados li {
    margin: 10px 0;
}

.certificados li::before {
    content: "•";
    color: #1e96fc; /* Cor azul para o marcador */
    margin-right: 8px;
    font-size: 20px;
}

.certificados li:hover {
    color: #1e96fc; /* Altera a cor ao passar o mouse */
    transition: color 0.3s ease;
}
/* FIM CERTIFICAÇÕES */

/* INICIO CONTATOS */
.contatos {
    padding: 50px 10%;
    background-color: #f9f9f9;
    text-align: center;
}

.contatos h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contato-info p {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.contato-info a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-info a i {
    margin-right: 10px;
    font-size: 24px;
    color: #1e96fc;
}

.contato-info a:hover {
    color: #1e96fc;
}
/* FIM CONTATOS */

/* INICIO RODAPE */
footer {
    width: 100%;
    background-color: #181818;
    padding: 70px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer p {
    margin-left: 12px;
}
/* FIM RODAPE */

/* RESPONSIVIDADE */
@media (max-width: 1050px){
    /* INICIO MAIN */
    .main h1{
        font-size: 30px;
        margin-top: 60px;
    }

    .nav li{
        font-size: 13px;
    }

    .main p{
        font-size: 18px;
    }

    .main{
        background-size: cover;
    }
    /* FIM MAIN */

    /* INICIO SOBRE (É O TAMANHO AJUSTADO PARA O TLM) */
    .about {
        flex-direction: column;
        align-items: center;
    }

    .about div {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }

    .about img {
        max-width: 100%;
        margin-top: 20px;
    }

    .project img {
        width: 80%;
        margin-bottom: 20px;
    }

    .contatos {
        padding: 50px 5%;
    }

    .logos-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px;
    }

    .logos-container .logo-img {
        max-width: 100%;
        height: auto;
        width: 80px;
    }

    /* Responsividade da seção Certificações */
    .certificacoes {
        padding: 40px 5%;
    }

    .certificacoes h3 {
        font-size: 28px;
    }

    .certificados li {
        font-size: 16px;
    }
}

/* Estilo do ícone do WhatsApp */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* Cor padrão do WhatsApp */
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

/*FIM ICONE WHATS*/

/* Responsividade para o Rodapé */
@media (max-width: 600px) {
    footer {
        padding: 30px 0;            /* Ajusta o padding para telas menores */
        text-align: center;         /* Centraliza o texto no rodapé */
    }

    footer p {
        margin: 0;                  /* Remove a margem do texto */
    }
}

/*INICIO Responsividade do ícone do WhatsApp */

@media (max-width: 600px) {
    .whatsapp-icon {
        padding: 12px;              /* Menor padding para o ícone */
        font-size: 24px;            /* Ajuste do tamanho da fonte */
        bottom: 10px;               /* Ajusta a posição inferior */
        right: 2px;                /* Ajusta a posição direita */
    }
}

/*FIM Responsividade do ícone do WhatsApp */

/* Tornar as imagens responsivas */
.main img,
.about img,
.project img {
    max-width: 100%;              /* Garante que a imagem não ultrapasse a largura do container */
    height: auto;                /* Mantém a proporção da imagem */
}

/* Ajusta as imagens na seção de Trabalhos para telas pequenas */

.main img {
    max-width: 940px;
}

.about img {
    max-width: 480px;
    border-radius: 8px;
    width: 50%;
}
.project img {
    width: 30%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    opacity: 0.8;
    transition: 0.9s;
    object-fit: cover;
    height: 350px;
}

@media (max-width: 600px) {
    .main img {
        width: 90%;              /* Garante que a imagem na seção Main ocupe 100% da largura */
        position: absolute;
        top: 100px;
    }

    .project img {
        width: 100%;              /* Garante que as imagens em Trabalhos ocupem 100% da largura */
    }

    .about img {
        width: 100%;              /* Garante que a imagem em Sobre ocupe 100% da largura */
    }
}

/* Responsividade da Navegação */
@media (max-width: 600px) {
    .nav {
        padding-right: 15px;       /* Ajusta o padding da navbar para telas pequenas */
        padding-left: 15px;        /* Ajusta o padding da navbar para telas pequenas */
    }

    .nav-list {
        flex-direction: row;    /* Alinha os itens da navbar verticalmente */
        align-items: flex-start;   /* Alinha os itens à esquerda */
    
    }

    .nav-list a {
        padding: 10px;             /* Ajusta o padding nos links */
        font-size: 11px;           /* Ajusta o tamanho da fonte para telas pequenas */
    }
}
