
/* Reset */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    background-color: #242424;
    color: #fff;
}

/* Estrutura do portfólio */
.portfolio {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

/* Header */
.header {
    margin-bottom: 50px;
}

.texto-paragrafo {
  font-size: 1rem;
  line-height: 1.8; 
  color: #ffffff; 
  margin-bottom: 1.5rem; 
  text-align: justify; 
}


.user-icon {
    width: 200px;
    height: 200px;
    border: 3px solid #831d1c;
    border-radius: 50%;
    margin: 0 auto;
}

.user-name {
    font-size: 2.5rem;
    margin: 10px 0;
}

.user-title {
    font-size: 1.2rem;
    color: #ddd;
}

.profile-pic {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

/* Sobre Mim */
.about {
    margin: 50px 0;
    padding: 20px;
    background-color: #444;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.about p {
    font-size: 1rem;
    line-height: 1.6;
}

.about:hover {
    background-color: #505050;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); 
    transform: translateY(-5px); 
}

/* Habilidades */
.skills {
    margin: 50px 0;
}

.skills h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-item {
    padding: 10px 20px;
    background-color: #555;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background-color 0.3s;
}

.skill-item:hover {
    transform: scale(1.1);
    background-color: #831d1c;
}

/* Projetos */
.projects {
    margin: 50px 0;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-item {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #831d1c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.project-link:hover {
    background-color: #831d1c;
}

/* Certificados */
.certificates {
    margin: 50px 0;
}

.certificates h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.certificate-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.certificate-item {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.certificate-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.5);
}

.certificate-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.certificate-item:hover .certificate-image {
    opacity: 0.9;
}

/* Rodapé */
.footer {
    margin-top: 50px;
}

.footer h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    text-decoration: none;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    background: linear-gradient(90deg, #831d1c, #831d1c);
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(90deg, #831d1c, #ff4d4d);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
}

@media (max-width: 1024px) {
    .portfolio {
        padding: 15px;
    }
    
    .user-name {
        font-size: 2rem;
    }
    
    .user-title {
        font-size: 1rem;
    }
    
    .about p {
        font-size: 0.9rem;
    }
    
    .skills h2, .projects h2, .certificates h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .skill-list, .project-list, .certificate-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .skill-item, .project-item, .certificate-item {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .project-item {
        text-align: center;
    }
    
    .certificate-image {
        width: 90%;
        margin: 0 auto;
    }

    .user-name {
        font-size: 1.8rem;
    }
    
    .user-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio {
        padding: 10px;
    }
    
    .user-name {
        font-size: 1.5rem;
    }
    
    .user-title {
        font-size: 0.8rem;
    }
    
    .about p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .skill-item, .project-item, .certificate-item {
        padding: 10px;
        font-size: 0.9rem;
    }

    .project-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
