/*
 * Otimização de Fontes
 * As fontes são agora carregadas localmente para melhorar o FCP e o LCP.
 * A propriedade 'font-display: swap' garante que o texto seja visível rapidamente.
 */

/* Declaração para a fonte Bitter */
@font-face {
    font-family: 'Bitter';
    src: url('../fonts/Bitter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'Bitter';
    src: url('../fonts/Bitter-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Declaração para a fonte Noto Sans */
@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap; 
}

/* Estilos gerais */
body {
    background-color: #edf5f0;
    font-family: 'Noto Sans', sans-serif;
    color: #0F321E;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    
    /* ADICIONANDO TRANSICAO PARA O SLIDESHOW */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
}

/* Estilos do cabeçalho */
header {
    margin-bottom: 20px;
    text-align: center;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #FF6900;
    object-fit: cover;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Estilos para títulos e parágrafos */
.title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 2.5em;
    color: #0F321E;
    margin-bottom: 10px;
    line-height: 1.2em;
    text-align: center;
}

/* Estilizando o ícone de check */
.check-icon {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
}

p.description {
    text-align: left;
    margin-bottom: 30px;
    font-size: 1.2em;
    color: #0F321E;
}


/* Estilos dos botões */
.links-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Adicionado para centralizar horizontalmente */
    gap: 15px;
}

.link-button {
    display: block;
    width: 90%; /* Alterado para não ocupar 100% da largura, permitindo o alinhamento */
    max-width: 400px; /* Adicionado para limitar a largura em telas maiores */
    padding: 15px;
    background-color: #0f321e;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.animated-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-link.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.link-button:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
}

.link-button i {
    margin-right: 8px;
}

/* Estilos para a seção de ícones de redes sociais */
.social-links {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    background-color: #0F321E;
    border: 2px solid #0F321E;
    border-radius: 50%;
    color: #FFD7CD;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-link img {
    width: 32px;
    height: auto;
    transition: filter 0.3s ease;
}

.social-link:hover {
    background-color: #FF6900;
    border-color: #FF6900;
}

.social-link:hover img {
    filter: brightness(0) invert(1);
}

/* Estilos do rodapé */
footer {
    margin-top: 200px;
    text-align: center;
    font-size: 0.8em;
    color: #fbfbfb;
}


@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .profile-pic {
        width: 100px;
        height: 100px;
        margin-top: 10px;
    }

    .title {
        font-size: 2em;
    }
}