html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  background-color: #f7f7fa;
  color: #333;


  min-height: 100vh;
}
main {
    flex-grow: 1;
}
.content {
    color: gray;
    font-size: 1.2rem;
    line-height: 1.6;
}

@font-face {
  font-family: 'DM Serif Display';
  src: url('./fonts/DMSerifDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'DM Serif Display';
  src: url('./fonts/DMSerifDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Roboto';
  src: url('./fonts/Roboto-Bold.ttf') format('truetype'); 
  font-weight: 700;
  font-style: normal;
}

.header, .left, .right, .m-center {
    display: flex;
    flex-direction: row;
    /* Əsas elementləri şaquli mərkəzləşdirir */
    align-items: center; 
}
.header{
    display: grid; /* Flex əvəzinə Grid istifadə edirik */
    
    /* 1-ci sütun (Logo) | 2-ci sütun (Navigasiya) | 3-cü sütun (Profil Şəkli) */
    grid-template-columns: auto 1fr auto; 
    
    align-items: center; 
    background-color: #ffffff;
    margin: auto;
    padding: 1rem 1.5rem;
    
    /* Absolute-dən azad edirik: */
    position: static; 
    
    border-bottom: 1px solid #e0e0e0; 
    flex-shrink: 0;
}
.left {
    display: flex; 
    justify-content: flex-start;
    align-items: center; 
    gap: 0.5rem;
    margin: 0;
    
    /* Grid yerləşdirməsi */
    grid-column: 1; 
}
.right {
    display: flex;
    align-items: center;
    
    /* Grid yerləşdirməsi */
    grid-column: 3; 
    justify-content: flex-end; /* Elementləri (profil şəkli) sağa aparır */
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 2.5rem;
  margin: 0;
  line-height: 1;
  padding-right: 1rem;
}

.title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0; 
  line-height: 1;
  margin-left: -0.3rem; 
}

.m-center {
    /* Bütün position: absolute; qaydalarını silin */
    /* position: absolute; */ 
    /* left: 50%; */ 
    /* transform: translateX(-50%); */
    
    display: flex;
    justify-content: center; /* Elementləri mərkəzdə düzür */
    gap: 2rem;
    
    /* Grid yerləşdirməsi */
    grid-column: 2; 
    width: 100%; /* Bütün mərkəzi boşluğu tutur */
}
/* Menyu elementləri üçün əvvəlki qaydalar */
.menu-item {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    margin: 0;
    cursor: pointer;
}

/* Container */
.container {
    max-width: 65rem;
    margin: 0 auto;
    padding: 4rem 2rem;
}

#about{
    color: #1EA7ED;
}
a{
    text-decoration: none;
    color: #1EA7ED;
}
.profile-pic {
    width: 40px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.interests-sec h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.interests-sec ul {
    list-style: none; 
    padding: 0;
    margin: 0;
    margin-bottom: 4rem; /* Növbəti bölməyə qədər olan boşluq */
}

.interests-sec li {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* İkonla mətn arasındakı boşluq */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333; /* Mətn rəngi */
    margin-bottom: 0.7rem;
}

.interests-sec li i {
    color: #1EA7ED; /* Açıq mavi ikon rəngi */
    font-size: 1.35rem; /* İkon ölçüsü */
    min-width: 1.5rem; 
    text-align: center;
}

.footer {
    text-align: center;
    padding: 1.5rem 0;
    
    /* Düzəliş: Üst xətti bərpa edirik */
    border-top: 1px solid #e0e0e0;
    padding-top: 0.75rem;
    color: #999; 
    font-size: 1rem;

    flex-shrink: 0;
}

