/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
    color: #333;
}

header {
    background: #343a40;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 1rem;
}

h2 {
    color: #343a40;
    margin-bottom: 1rem;
}

/* Grid for Projects */
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Space between projects */
}

/* Styling for individual projects */
.project {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project-image {
    width: 100%; /* Largura máxima dentro do card */
    max-width: 300px; /* Define um limite máximo de largura */
    height: auto; /* Mantém as proporções originais */
    margin: 0 auto 10px; /* Centraliza a imagem e adiciona espaçamento inferior */
    display: block; /* Garante que a imagem seja tratada como um bloco */
    border-radius: 5px; /* Cantos arredondados, opcional */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para destacar a imagem */
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Links */
.project a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007bff;
}

.technologies {
    display: flex;
    gap: 10px; /* Espaçamento entre os ícones */
    justify-content: center; /* Centraliza os ícones horizontalmente */
    margin-top: 10px; /* Espaço entre os ícones e o texto acima */
}

.technologies img {
    width: 50px; /* Largura fixa para uniformidade */
    height: 50px; /* Altura fixa para uniformidade */
    object-fit: contain; /* Garante que a imagem não distorça */
    transition: transform 0.3s ease-in-out; /* Adiciona transição suave */
    border-radius: 5px; /* Adiciona cantos arredondados (opcional) */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Destaque com sombra */
}

.technologies img:hover {
    transform: scale(1.2); /* Amplia levemente a imagem ao passar o mouse */
}

/* Skills section */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.skills li {
    background: #007bff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    background: #343a40;
    color: #fff;
    margin-top: 2rem;
}

/* Blog Styles */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-post-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-card h3 {
    margin-bottom: 0.5rem;
}

.blog-post-card h3 a {
    color: #007bff;
    text-decoration: none;
}

.blog-post-card .date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.blog-post-content {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.blog-post-content h2 {
    margin-bottom: 0.5rem;
    color: #343a40;
}

.blog-post-content .date {
    display: block;
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}