body {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.6;
  background: linear-gradient(to bottom, #f2f2f2, #e8e8e8);
  color: #222;
  padding-bottom: 25px;
}

h1, h2, h3 {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
}

p {
  font-family: Arial, sans-serif;
  font-weight: 400;
}

h1 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 20px;
  margin-top: 5px;
  color: #171717;
}

section {
  background: linear-gradient(to bottom, #abc5f5, #c1d9fc);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px 25px;
  margin-bottom: 30px;
  border-radius: 10px;
  border: 2px solid #011d50;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

section h2 {
  color: #171717;
  margin-bottom: 10px;
  border-bottom: 2px solid #000000;
  padding-bottom: 5px;
}

section img {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  width: 150px;
  height: auto;
  object-fit: cover;
}

section::after {
  content: "";
  display: table;
  clear: both;
}

section p.about {
  font-size: medium;
  margin-top: 50px;
  text-align: center;
}

p.intro {
  background-color: #011d50;
  font-size: medium;
  color: #dedede;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.footer {
  background-color: #011d50;
  color: #dedede;
  padding: 20px 0;
  text-align: center;
  border-top: 2px solid #000000;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  font-family: Arial, sans-serif;
  font-weight: 400;      /* regular weight, lighter than sidebar */
  font-size: 14px;
}

nav a {
  color: #dedede;
  text-decoration: none;
  margin-left: 120px;
  margin-right: 120px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.resume-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #011d50;
  color: #dedede;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.resume-btn:hover {
  background-color: #001437;
}

.page-links {
  display: flex;
  gap: 30px;
  margin: 10px 0;
}

.page-links .page {
  box-sizing: border-box;
  padding: 20px;
  background: linear-gradient(to bottom, #abc5f5, #c1d9fc);
  border: 2px solid #011d50;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-links .page:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.page-links .page a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page h2 {
  border-bottom: none;
  margin-bottom: 10px;
}

.page-link {
  flex: 1;
  text-decoration: none;
  color: inherit;
  display: block;
}

.page {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project {
  background: linear-gradient(to bottom, #f2f2f2, #e8e8e8)
}

.project h3 {
  color:#171717;
  border-bottom: 1px solid #000000;
  margin-bottom: 8px;
}

iframe {
  width: 100%;
  border-radius: 0;
}