@font-face {
    font-family: Sarasvati;
    src: url('../font/Sarasvati.ttf');
  }
  
@font-face {
font-family: 'EB Garamond';
src: url('../font/EBGaramond-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Sarasvati, sans-serif;
    background-color: #e3daca;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
}

.container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    margin-bottom:1.5rem;
}

h1 {
    margin-top:2rem;
    font-size: 4rem;
}

.resume-content {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #FAF5EC;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
}

.section-block {
    font-family: 'EB Garamond', serif;
    margin-bottom: 2rem;
    text-align: left;
}

.section-block h2 {
    font-family: 'Sarasvati', sans-serif;
    font-size: 2rem;
    color: #2c3e50;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}

.section-block-item {
    margin-bottom: 1rem;
}

.section-block-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #34495e;
    margin-bottom: 0.2rem;
}

.job-title {
    font-weight: bold;
    color: #2c3e50;
}

.company-name {
    font-style: italic;
    color: #3b7097;
}


.section-block-item p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.section-block-item ul {
    margin-top: 0.5rem;
    padding-left: 20px;
}

.section-block-item ul li {
    margin-bottom: 0.4rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
    color: #444;
}

.social-links {
    margin-top: 1.5rem;
}
  
.social-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #3b7097;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #64a4c4;
}

.languages-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
    color: #444;
}

@media (max-width: 768px) {
    h1 {
      font-size: 3rem;
    }
  
    .social-links a {
      font-size: 1rem;
      display: inline-block;
      margin: 6px 8px;
    }
  
    .resume-content {
      padding: 1rem;
    }
  
    .section-block h2 {
      font-size: 1.5rem;
    }
  
    .section-block-item h3 {
      font-size: 1.1rem;
    }
  
    .section-block-item p,
    .section-block-item ul li,
    .skills-list {
      font-size: 0.95rem;
    }
  
    .skills-list {
      gap: 0.4rem 0.8rem;
    }
    .languages-list {
        font-size: 0.95rem;
      }
}

@media (max-width: 480px) {
    .job-title,
    .company-name {
      display: block;
    }
}