:root {
    --xl-space: 5rem;
    --lg-space: 3rem;
    --md-space: 1.5rem;
    --sm-space: 0.75rem;
}

* {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F9F9F9;
}

.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: var(--lg-space) var(--md-space); 
}

.title {
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    color: black;
}

.label,
.tag {
    font-family: "Ubuntu Mono", monospace;
}

.label {
    letter-spacing: 0.825px;
}

a {
    text-decoration: none;
    color: #5E5E5E;
}

.header-top {
    display: flex;
    justify-content: space-between; 
    align-items: center;          
    margin-bottom: var(--md-space);
}

.name {
    font-size: 2rem;
    font-weight: 600;
    color: #1A1C1C;
    margin: 0; 
}

.social-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5E5E5E;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1A1C1C;
}

.nav-link .icon {
    display: block;
}

div.title {
    position: relative; 
    width: 100%;
    display: flex;
    justify-content: flex-start; 
    align-items: flex-end; 
    overflow: hidden;
    border-radius: 12px;  
}

header {
    margin-bottom: var(--lg-space);
}

/* header .img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url(../assets/me.png);
  background-size: 120px;   
  background-position: center;
  background-repeat: no-repeat;
} */


/* .shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(249, 249, 249, 0.7) 56%,
    #F9F9F9 73%
  );
  z-index: 1; 
} */


.name {
    position: relative;
    z-index: 2; 
    font-size: 2.2rem;
    margin-bottom: var(--sm-space);
    color: #1A1C1C;
}

.text {
    padding: 0;
    line-height: 1.6;
    color: #333637;
}


p {
    color: #1A1C1C;
    font-size: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 2px
}

.tag {
    color: #5E5E5E;
    border: 2px solid #C4C7C7;
    background-color: #EEEEEE;
    border-radius: 12px;
    font-size: 0.820rem;
    padding: 2px 8px;
}

.experience .position {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.position .title {
    font-size: 1.3rem;
}

.position .period {
    color: #444748;
    font-size: 0.825rem;
}

.experiences .label,
.label.mheader {
    display: block;
    padding: 0;
    margin-bottom: var(--md-space);
    color: #5E5E5E;
    font-size: 0.85rem;
}

.experience {
    display: flex;
    flex-direction: column;
    gap: var(--sm-space);
}

.experience .position {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--sm-space);
    flex-wrap: wrap; 
}

.position .title {
    font-size: 1.25rem;
    font-weight: 600;
}

.position .period {
    color: #5E5E5E;
    font-size: 0.825rem;
    font-family: "Ubuntu Mono", monospace;
}

.experience .company {
    padding: 0;
    color: #444748;
    font-weight: 500;
}

.experience .activities {
    color: #1A1C1C;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin-top: var(--sm-space);
}

.experiences {
    margin-bottom: var(--lg-space);
}

.reading {
    display: flex;
    flex-direction: column;
    gap: var(--md-space); /* Aumentado um pouco para dar mais respiro entre livros */
    margin-top: var(--xl-space);
}

.reading .label.mheader {
    margin-bottom: var(--sm-space);
}

.book {
    display: flex;
    gap: var(--md-space); 
    align-items: flex-start; 
}

.reading .cover {
    width: 52px; 
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); 
    object-fit: cover;
}

.book .info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.book .title {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

.book .author {
    font-family: "Ubuntu Mono", monospace;
    font-size: 0.825rem;
    color: #444748;
}

.book .author span {
    color: #747778;
    font-style: italic;
}

footer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color:#747778;
}