*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    font-family: 'Courier New', Courier, monospace;
    
    --fs-small: 0.875rem;   
    --fs-base: 1rem;        
    --fs-md: 1.50rem;      
    --fs-lg: 1.75rem;      
    --fs-xl: 2.5rem;
}

body {
    background: rgb(238, 235, 226);
    color: rgb(22, 22, 22);
    font-size: var(--fs-base); 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
strong {
    color: #A62116;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;        
    margin: 0 auto;          
    padding: 4rem 0 2rem 0;   
    box-sizing: border-box;
}
.content-right {
    align-items: center;
    display: flex;
    gap: 3em;
}

.navbar .title {
    font-size: var(--fs-lg);
    font-weight: normal; 
    letter-spacing: -1px;
    margin: 0;               
    text-transform: lowercase; 
}
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.6;
}
.language-switch {
  display: flex;
  flex-direction: row;
  gap: 10px; 
}
.language:hover {
    filter: invert(28%) sepia(85%) saturate(3015%) hue-rotate(338deg) brightness(98%) contrast(93%);
}
.menu-container {
    display: flex;
    align-items: center;
}
.icon-menu {
    display: inline-block;
    width: 30px; 
    height: 30px;
    background-image: url('images/icons/menu.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
.icon-link:hover {
filter: invert(28%) sepia(85%) saturate(3015%) hue-rotate(338deg) brightness(98%) contrast(93%);
}

.btn-bio {
    margin-bottom: 2em;
    display: block;
    width: 100%; 
    max-width: 100%; 
    padding: 14px 24px; 
    font-family: "Courier New", Courier, monospace;
    font-size: var(--fs-base); 
    letter-spacing: 2px;
    color: #333333;
    background-color: transparent;
    border: 1px solid #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase; 
    text-align: center;
    box-sizing: border-box;
}

.btn-bio:hover {
    background-color: #A62116; 
    border-color: #A62116;    
    color: #f4f1ea;        
    opacity: 1; 
}

@media (min-width: 768px) {
    .btn-bio {
        max-width: 100%; 
    }
}

.about-container {
    margin: 0 auto;
    min-height: 100dvh;
    width: 90%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: auto;
    grid-column-gap: 3em;
    justify-content: center;
    align-items: start;
}

.about-item.left {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    width: 100%;
}
.about-item.right {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    width: 100%;
}
.about-item img {
    margin-bottom: 1.6rem; 
    width: 100%;             
    height: auto;            
    display: block;          
    max-width: 100%;        
    object-fit: cover; 
    border-radius: 10px; 
    filter: grayscale(100%) sepia(35%);
}    

.about-item p {
    margin-bottom: 1.6rem; 
    line-height: 1.6;   
}

.about-item p:last-child {
    margin-bottom: 0;
}