/* styles.css */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: #ffffff;
    color: #24292e;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    background-color: #ffffff; /* Cinza claro */
    color: #24292e;
    padding: 10px 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 0.01em solid #eeeeee;
}

.wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 1.5em;
    margin: 0;
    text-decoration: none;
    color: #24292e;
}
.site-title:hover{
    color: #24292e;
    text-decoration: none;
}
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trigger {
    display: flex;
    gap: 15px;
}

/* Remove underline from all links */
a {
    color: #0d6efd; /* Azul acessível */
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}
a:hover {
    color: #003e7c;
    text-decoration: underline;
}

.page-link {
    color: #333;
    text-decoration: none;
    font-size: 1em;
    padding: 10px;
    transition: background 0.3s;
}

.page-link:hover {
    text-decoration: none;
    background-color: #d3d3d3; /* Cinza mais escuro */
}

main {
    flex: 1;
    padding: 20px 0;
}

.grid-8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 20px;
    align-items: center;
    font-size: 25px;
}
.profile-img-container {
    grid-column-start: 1;
    grid-column-end: 3;
    vertical-align: middle;
}
.profile-text-container {
    grid-column-start: 3;
    grid-column-end: 9;
    padding-left: 30px;
}
.profile-title {
    font-weight: 800;
    text-align: justify;
    margin-bottom: 32px;
    line-height: 1;
    vertical-align: middle;
}

.round {
    border-radius: 50%;
}

.page-section {
    max-width: 800px;
    margin: 20px;
    padding: 20px;
    text-align: justify;
}

.about-me {
    text-align: justify;
}

.about-me h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.about-me p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-me h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
}

.about-me ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.2em;
    text-align: left;
}

.about-me ul li {
    margin-bottom: 10px;
}
.about-me ol {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.about-me ol li{
    margin-bottom: 10px;
}

.project article {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px; /* Mais arredondado */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project article:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Sombra mais destacada */
    transform: translateY(-2px); /* Efeito de leve levantamento */
}

.content-spacer {
    flex: 1;
}

footer {
    background-color: #ffffff; /* Cinza claro */
    color: #333;
    padding: 10px 0;
    text-align: center;
    border-top: 0.01em solid #e7e7e7;
}

.footer-col-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    padding: 10px;
}

.contact-list,
.social-media-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-media-list li {
    display: inline-block;
    margin-right: 10px;
}

.svg-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    vertical-align: middle;
    margin-right: 5px;
}

.username {
    vertical-align: middle;
}
.image {
    display: flex; /* Flexbox para centralizar o conteúdo */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    text-align: center; /* Centraliza o texto */
}

#content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .round {
        width: 100px; /* Diminui o tamanho da imagem em telas menores */
    }
    .grid-8 {
        /* Remove o grid e transforma em coluna única */
        display: block; 
    }
    .profile-img-container {
        /* Centraliza a imagem */
        text-align: center;
        margin-bottom: 20px;
        grid-column-start: auto;
        grid-column-end: auto;
    }
    .profile-text-container {
        /* Remove o padding-left e centraliza o texto */
        padding-left: 0;
        text-align: center;
        grid-column-start: auto;
        grid-column-end: auto;
    }
    .profile-title {
        /* Centraliza o título */
        text-align: center;
    }
    .grid-8 h1 {
        font-size: 30px; /* Diminui o tamanho da fonte do título em telas menores */
    }
}

