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

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 30px;
  background: white;
  padding: 30px;
  border-radius: 8px;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #007acc;
}

h1 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.3em;
  color: #666;
  margin: 0;
}

nav {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: #007acc;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #e8f4fd;
  text-decoration: none;
}

main {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

section {
  margin-bottom: 25px;
}

section:last-child {
  margin-bottom: 0;
}

h2 {
  font-size: 1.5em;
  color: #333;
  border-bottom: 3px solid #007acc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

h3 {
  color: #555;
  margin-top: 15px;
  margin-bottom: 8px;
}

p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
}

ul, ol {
  margin-left: 20px;
  color: #666;
  line-height: 1.8;
}

li {
  margin-bottom: 8px;
}

a {
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #005a9c;
  text-decoration: underline;
}

pre, code {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
}

pre {
  padding: 15px;
  margin: 15px 0;
}

code {
  padding: 2px 6px;
  display: inline-block;
}

pre code {
  padding: 0;
  background: none;
  border: none;
}

footer {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border-top: 2px solid #007acc;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 0.95em;
  color: #666;
}

.footer-separator {
  color: #ccc;
}

.rs-logo {
  height: 40px;
  width: auto;
  display: inline-block;
}

footer a {
  color: #007acc;
  font-weight: bold;
}

footer a:hover {
  color: #005a9c;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.3em;
  }

  nav ul {
    gap: 10px;
  }

  nav a {
    padding: 8px 12px;
    font-size: 0.9em;
  }

  header {
    padding: 20px;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
  }

  main {
    padding: 15px;
  }

  .footer-content {
    gap: 10px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1.1em;
  }

  nav ul {
    flex-direction: column;
    gap: 5px;
  }

  nav a {
    display: block;
    padding: 10px;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
  }

  header, main, footer {
    padding: 10px;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
  }
}