/* =========================================
   CONFIGURAÇÕES GERAIS
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        linear-gradient(
            rgba(245, 239, 228, 0.94),
            rgba(245, 239, 228, 0.94)
        ),
        #e8dfd0;

    color: #40382f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    line-height: 1.7;

    /* Impede seleção do conteúdo */
    user-select: none;
}


/* =========================================
   CABEÇALHO
   ========================================= */

.profile-header {
    width: 100%;
}


/* =========================================
   BANNER
   ========================================= */

.banner {
    height: 260px;

    background:
        linear-gradient(
            135deg,
            #b7a68f,
            #d4c7b3
        );

    position: relative;

    overflow: hidden;
}


/*
   Pequenos detalhes decorativos
*/

.banner::before {
    content: "✦   ✧   ☾   ✧   ✦";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 22px;

    letter-spacing: 22px;

    color: rgba(255, 255, 255, 0.55);
}


/* =========================================
   INFORMAÇÕES DO PERFIL
   ========================================= */

.profile-info {

    text-align: center;

    max-width: 900px;

    margin: 0 auto;

    padding: 0 20px 30px;

    position: relative;
}


/* =========================================
   AVATAR
   ========================================= */

.avatar {

    width: 125px;
    height: 125px;

    margin: -62px auto 15px;

    position: relative;

    border-radius: 50%;

    background: #f5efe4;

    border: 5px solid #f5efe4;

    box-shadow:
        0 4px 15px rgba(50, 40, 30, 0.18);

    overflow: hidden;
}


.avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================
   NOME
   ========================================= */

.profile-info h1 {

    margin: 5px 0 2px;

    font-size: 34px;

    font-weight: normal;

    letter-spacing: 1px;

    color: #332c25;
}


/* =========================================
   DESCRIÇÃO
   ========================================= */

.description {

    margin: 0 auto 20px;

    max-width: 500px;

    font-size: 15px;

    color: #756a5e;

    font-style: italic;
}


/* =========================================
   MENU
   ========================================= */

.navigation {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px 25px;
}


.navigation a {

    color: #51473d;

    text-decoration: none;

    font-size: 14px;

    letter-spacing: 0.5px;

    transition: 0.2s ease;
}


.navigation a:hover {

    color: #9a7760;

    text-decoration: underline;
}


/* =========================================
   CONTEÚDO
   ========================================= */

.content {

    width: min(720px, 90%);

    margin: 20px auto 60px;
}


/* =========================================
   FRASE DE ABERTURA
   ========================================= */

.intro {

    text-align: center;

    margin: 35px 0 40px;

    color: #8b7c6c;
}


.intro p {

    display: inline-block;

    margin: 0 15px;

    font-size: 15px;

    font-style: italic;
}


/* =========================================
   POSTS
   ========================================= */

.post {

    background: rgba(255, 252, 246, 0.82);

    border: 1px solid #ddd2c2;

    padding: 30px 35px;

    margin-bottom: 30px;

    box-shadow:
        0 5px 18px rgba(70, 55, 40, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.post:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(70, 55, 40, 0.10);
}


/* =========================================
   CABEÇALHO DO POST
   ========================================= */

.post-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 12px;

    font-size: 12px;

    color: #918272;
}


.post-category {

    font-style: italic;
}


/* =========================================
   TÍTULO DO POST
   ========================================= */

.post h2 {

    margin: 0 0 20px;

    color: #3a322a;

    font-size: 25px;

    font-weight: normal;

    line-height: 1.3;
}


/* =========================================
   TEXTO
   ========================================= */

.post-content {

    font-size: 16px;

    color: #51483e;
}


.post-content p {

    margin: 0 0 15px;
}


/* =========================================
   RODAPÉ DO POST
   ========================================= */

.post-footer {

    border-top: 1px solid #e4dbce;

    margin-top: 25px;

    padding-top: 15px;

    display: flex;

    justify-content: space-between;

    gap: 15px;

    font-size: 12px;

    color: #958778;
}


.post-footer a {

    color: #806b59;

    text-decoration: none;
}


.post-footer a:hover {

    text-decoration: underline;
}


/* =========================================
   RODAPÉ DO SITE
   ========================================= */

footer {

    text-align: center;

    padding: 30px 20px 45px;

    color: #8b7c6c;

    font-size: 13px;
}


.footer-decoration {

    margin-bottom: 10px;

    opacity: 0.65;
}


.copyright {

    font-size: 11px;

    opacity: 0.7;
}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 600px) {

    .banner {

        height: 190px;
    }

    .avatar {

        width: 105px;
        height: 105px;

        margin-top: -52px;
    }

    .profile-info h1 {

        font-size: 28px;
    }

    .navigation {

        gap: 8px 16px;
    }

    .post {

        padding: 24px 22px;
    }

    .post h2 {

        font-size: 22px;
    }

    .post-footer {

        flex-direction: column;
    }
}