/* Reset de margens e padding */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f4f4f9;
    box-sizing: border-box;
    line-height: 1.6;
    height: 100%;
    width: 100%;
}

/* Cabeçalho */
/* Cabeçalho */
header {
    background-color: #0056b3;
    color: #fff;
    text-align: center;
    padding: 40px 20px; /* Ajustei o padding para deixar mais compacto */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    border-bottom: 5px solid #fff; /* Linha separadora */
}

/* Foto do Perfil */
.profile-photo {
    width: 200px; /* Tamanho ajustado */
    height: 200px;
    border-radius: 50%;
    border: 5px solid #fff;
    margin-bottom: 1px; /* Espaço abaixo da foto */
}

/* Nome */
h1 {
    font-size: 2.8em; /* Tamanho da fonte ajustado para um equilíbrio melhor */
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Sombra suave para o nome */
}

/* Descrição abaixo do nome */
p {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 10px; /* Ajustei o espaço abaixo do texto */
    font-weight: 300; /* Deixando o texto mais fino e leve */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Sombra sutil no texto */
}

/* Responsividade para o cabeçalho */
@media screen and (max-width: 768px) {
    .profile-photo {
        width: 100px;
        height: 100px; /* Foto menor em telas pequenas */
    }

    h1 {
        font-size: 2.2em; /* Menor em telas pequenas */
    }

    p {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 30px 15px;
    }

    .profile-photo {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 1.8em; /* Tamanho de fonte ainda menor em telas pequenas */
    }

    p {
        font-size: 0.9em;
    }
}

/* Corpo principal */
main {
    padding: 60px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Seções */
.introduction, .skills, .projects, .contacts {
    margin-bottom: 60px; /* Espaçamento entre as seções */
}

/* Seção de Competências Técnicas */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.skill-card {
    background-color: #e0e0e0;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    background-color: #ccc;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Seção de Projetos */
.projects {
    margin-top: 40px;
}

.project {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project video, .project-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra suave */
}

/* Container para centralizar o vídeo */
.video-container {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Centraliza verticalmente */
    height: 100vh;           /* Faz com que o container ocupe toda a altura da tela */
    width: 100%;             /* Faz com que o container ocupe toda a largura da tela */
    background-color: #f4f4f9; /* Cor de fundo para o container, você pode ajustar conforme necessário */
    position: relative;      /* Garante que o vídeo esteja posicionado em relação ao container */
}

video {
    max-width: 90%; /* Ajusta o tamanho máximo do vídeo para que ele ocupe no máximo 90% da tela */
    max-height: 90vh; /* Ajusta a altura máxima para que o vídeo não ultrapasse a altura da tela */
    border-radius: 10px; /* Adiciona bordas arredondadas, se desejar */
    margin-bottom: 40px;
}


.project h3 {
    color: #0056b3;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.project p {
    font-size: 1.1em;
    line-height: 1.7;
}

/* Layout para imagens de projetos em desenvolvimento */
.project-images {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 40px;
}

.project-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.1); /* Zoom suave ao passar o mouse */
}

/* Modal para imagem ampliada */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 80%;
    max-width: 900px;
    height: auto;
    margin: auto;
    display: block;
}

/* Rodapé */
footer {
    text-align: center;
    background-color: #0056b3;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

/* Seção de Contatos */
.contacts {
    text-align: center;
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 40px; /* Espaçamento superior */
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-link {
    color: #0056b3;
    font-size: 1.5em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-link:hover {
    background-color: #e0e0e0;
    transform: translateY(-5px); /* Leve animação ao passar o mouse */
}

.contact-link i {
    font-size: 1.7em; /* Ícones maiores para visual mais atraente */
}

.contact-header {
    font-size: 2em;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 20px;
}

/* Responsividade para a seção de contatos */
@media screen and (max-width: 768px) {
    .contact-links {
        gap: 20px;
    }

    .contact-link {
        font-size: 1.3em;
        padding: 12px;
    }

    .contact-header {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 480px) {
    .contact-link {
        font-size: 1.2em;
        padding: 8px;
    }

    .contact-header {
        font-size: 1.4em;
    }
}
