/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Literata", serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.content-wrapper {
  position: relative;
}

/* Typewriter */
.typewrite {
  font-size: 3rem !important;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 1rem;
  display: block;
}

.typewrite > .wrap {
  border-right: 0.08em solid #333;
}

/* Navigation */
.coding-nav {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.coding-nav a {
  color: #2c3e50;
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  transition: all 0.2s ease;
}

.coding-nav a:hover {
  background-color: #2c3e50;
  color: white;
}

.nav-separator {
  margin: 0 0.5rem;
  color: #666;
}

/* Bio section */
.bio-section {
  position: relative;
  margin-bottom: 2rem;
}

.profile-image-container {
  float: right;
  margin: 0 0 1rem 2rem;
  width: 300px;
}

.img-silhouette {
  padding: 0.2rem;
  background-color: #c5c5c5;
  position: relative;
  top: -0.3rem;
  left: -0.3rem;
}

.img-silhouette-shift {
  position: relative;
  top: 0.5rem;
  left: 0.5rem;
  width: 100%;
  height: auto;
  display: block;
}

.bio-text {
  text-align: left;
}

.bio-text p {
  margin-bottom: 1rem;
}

/* Divider */
.divider {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 2rem 0;
  clear: both;
}

/* Publications */
.publications {
  clear: both;
}

.publications h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: left;
}

.publications ul {
  list-style: none;
}

.publications li {
  margin-bottom: 2rem;
}

.pub-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pub-details {
  font-style: italic;
  color: #666;
  margin-bottom: 0.5rem;
}

.pub-description {
  margin-bottom: 0.5rem;
}

.pub-description-final {
  margin-bottom: 1rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .profile-image-container {
    float: none;
    margin: 0 auto 1.5rem auto;
    width: 100%;
    max-width: 400px;
  }

  .typewrite {
    font-size: 2.5rem !important;
    text-align: center;
  }

  .coding-nav {
    text-align: center;
    font-size: 1rem;
  }

  .publications h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .typewrite {
    font-size: 2rem !important;
  }

  .coding-nav {
    font-size: 0.9rem;
  }

  .nav-separator {
    margin: 0 0.3rem;
  }

  .publications h2 {
    font-size: 1.5rem;
  }
}
