* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 15px; 
  background: #1a1a1a;
  color: #e0e0e0;      
  line-height: 1.6;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  color: #f2b6d0;
}

header span {
  font-size: 1rem;
  color: #d48ba3; 
}

header p {
  margin: 5px 0;
}

#about-me p {
  text-align: justify;
  line-height: 1.6;
}

.links a {
  color: #f2b6d0; 
  text-decoration: none;
  margin: 0 6px;
}

section {
  margin-bottom: 30px;
}

section h2 {
  border-bottom: 2px solid #f2b6d0; 
  padding-bottom: 5px;
  color: #ffcce5;
}

ul {
  list-style: disc inside;
  margin-top: 10px;
}

a {
  color: #f2b6d0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.profile-pic {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f2b6d0;
  margin-bottom: 15px;
}

.pdf-button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #f2b6d0;
  color: #1a1a1a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.pdf-button:hover {
  background-color: #d48ba3;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #b3b3b3;
}

@media print {
  * {
    box-sizing: border-box;
  }

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 15px;
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
    line-height: 1.5;
    font-size: 12pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  header {
    text-align: center;
    margin-bottom: 15px;
    page-break-after: avoid;
  }

  header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #f2b6d0 !important;
  }

  header span {
    font-size: 0.9rem;
    color: #d48ba3 !important;
  }

  .profile-pic {
    width: 100px;
    height: 100px;
    border-color: #f2b6d0 !important;
  }

  section {
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  section h2 {
    border-bottom: 2px solid #f2b6d0 !important;
    color: #ffcce5 !important;
    font-size: 1.3rem;
  }

  #about-me p {
    text-align: justify;
  }

  .links a, a {
    color: #f2b6d0 !important;
    margin: 0 5px;
  }

  .pdf-button {
    display: none;
  }

  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 0.8rem;
    color: #666;
  }

  .page-break {
    page-break-after: always;
  }

  body {
    height: 100vh;
    overflow: hidden;
  }
  
  section {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  ul {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}