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

:root {
  --text-color: #212121;
  --background-tint: rgba(238, 246, 244, 0.75);
  --sidebar-bg: rgba(0, 0, 0, 0.25);
  --content-bg: rgba(0, 0, 0, 0.1);
}

html.dark-theme {
  --sidebar-bg: rgba(0, 0, 0, 0.5);
  --content-bg: rgba(0, 0, 0, 0.3);
}

body {
  background-image: radial-gradient(var(--background-tint), var(--background-tint)), 
    url(/bubbles.svg);
  background-blend-mode: default;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar styles */
.sidebar {
  width: 25%;
  background-color: var(--sidebar-bg);
  padding: 2rem;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 10;
}

.sidebar h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-color);
}

.nav-links {
  list-style: none;
}

.nav-links li {
  margin-bottom: 1.5rem;
}

.nav-links a {
  font-size: 1.5rem;
  font-weight: bold;
  transition: opacity 0.3s ease;
  display: block;
  padding: 0.5rem;
}

.nav-links a:hover, .nav-links a.active {
  opacity: 0.7;
}

.nav-links a.active {
  border-left: 3px solid var(--text-color);
  padding-left: 1rem;
}

/* Main content styles */
.content {
  flex: 1;
  margin-left: 25%;
  padding: 2rem;
  background-color: var(--content-bg);
}

/* Resume specific styles */
.resume-content {
  display: flex;
  justify-content: flex-start;
}

.resume-container {
  width: 75%;
  background-color: var(--content-bg);
  padding: 2rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.resume-title {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.skills-summary {
  margin-bottom: 3rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.skill-category h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.experience h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.job {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.job:last-child {
  border-bottom: none;
}

.job header {
  margin-bottom: 1rem;
}

.job h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.job h4 {
  font-size: 1.1rem;
  font-weight: normal;
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.job ul {
  margin-left: 1.5rem;
}

.job li {
  margin-bottom: 0.75rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .resume-container {
    width: 90%;
  }
}

@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem;
  }
  
  .sidebar h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links li {
    margin: 0.5rem;
  }
  
  .nav-links a.active {
    border-left: none;
    border-bottom: 3px solid var(--text-color);
    padding-left: 0.5rem;
  }
  
  .content {
    margin-left: 0;
    padding: 1rem;
  }
  
  .resume-content {
    justify-content: center;
  }
  
  .resume-container {
    width: 100%;
  }
  
  .resume-header h1 {
    font-size: 2rem;
  }
  
  .resume-title {
    font-size: 1.6rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
  font-style: italic;
}

ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
