:root{
  font-size:16px; /* base for rem */
  --gap: 1rem;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Larger screens */
@media (min-width: 768px) {
  .container {
    flex-direction: row;
    gap: 1.5rem;
  }
}
  
header {
  background: #2c3e50;
  color: #fff;
  padding: 2rem;
  text-align: center;
  justify-content: space-between;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.header-text {
  display: flex;
  flex-direction: column;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
}

.container {
  background: #e2e2e2;
  max-width: 900px;
  padding: 0 1rem;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

section {
  margin-bottom: 0.5rem;
}

h2 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #2c3e50;
  color: #fff;
  margin-top: 2rem;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#rp5 {
  max-width: 50%;
  border-radius: 20%;
  display: block;
  margin: 1rem auto;
}

#profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}