/* Main content wrapper for responsive margins */
.main-content {
  max-width: 900px;
  margin: 2em auto;
}

@media (max-width: 900px) {
  .main-content {
    margin-left: 1em;
    margin-right: 1em;
  }
}
@media (max-width: 900px) {
  body {
    margin: 1em;
    max-width: 100%;
  }
}
/* Darker orange links */
a,
a:visited {
  color: #ff8800;
  text-decoration: underline;
}
a:hover,
a:focus {
  color: #ff6600;
  text-decoration: underline;
}
.main-section.contact-info {
  background: #2c3e50;
  color: #f4f4f4;
  border-radius: 10px;
  padding: 1.5em;
}
.responsive-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}

@media (min-width: 900px) {
  .responsive-flex {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .responsive-flex .left-photo {
    margin-right: 2em;
    margin-bottom: 0;
  }
  .responsive-flex .right-text {
    flex: 1;
  }
}
.main-section {
  text-align: justify;
  margin-bottom: 2em;
}

.current-projects {
  text-align: justify;
}
body {
  font-family: Arial, sans-serif;
  margin: 2em auto;
  max-width: 900px;
  background: #222;
  color: #fff;
}
header, footer {
  text-align: center;
  margin-bottom: 2em;
}

.main-flex {
  display: flex;
  align-items: center;
  gap: 2em;
  margin-top: 2em;
}
  /* Remove previous flex settings, keep only image styling */
.main-text {
  flex: 1;
  text-align: justify;
}

h1 {
  font-size: 1.7em;
  font-weight: 600;
}
  /* Remove previous flex settings, keep only image styling */

  /* Remove previous flex settings, keep only image styling */
.small-photo {
  width: 360px;
  max-width: 100vw;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.13);
}
.caption {
  font-size: 1em;
  color: #666;
  margin-top: 0.7em;
}
