body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
}
a {
  text-decoration: none;
}
h1 {
  color: #000;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  padding-bottom: 20px;
}

header {
  background-color: #00aaff;
  display: flex;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 3px solid #000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header img {
  height: 100px;
  width: 150px;
  margin-right: 20px;
}

.header-text {
  color: #000;
}

.header-text h1 {
  font-size: 1.8rem;
  font-weight: bold;
}

.header-text p {
  font-size: 1rem;
  font-weight: 500;
}

/* =============================================
   MAIN LAYOUT — left image, center content, right image
   ============================================= */
.main-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: calc(100vh - 180px);
}

.side-image-panel {
  width: 28vw;
  max-width: 560px;
  min-width: 200px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  align-self: stretch;
  position: relative;
}

/* FIX: push images outward — less margin on inner side */
.side-image-left {
  margin: 24px 12px 24px 24px;
}

.side-image-right {
  margin: 24px 24px 24px 12px;
}

.side-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

#side-car-image-right {
  object-position: right center;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 40px 20px;
}

.about {
  background-color: #f9f9f9;
  width: 100%;
}

#main_body {
  background-color: #f9f9f9;
  margin-bottom: 0;
  padding: 0;
}

/* FIX: bigger text, better font */
.about-container {
  max-width: 600px;
  width: 100%;
  color: #333;
  margin: 0 auto;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.about h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  color: #000;
  text-align: center;
  font-family: 'Georgia', serif;
  letter-spacing: 0.02em;
}

.about p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: center;
  font-family: 'Georgia', serif;
  color: #444;
}

.start_btn {
  text-align: center;
  margin-bottom: 2rem;
}

#index-add {
  width: 100%;
  max-width: 500px;
  height: auto;
}

#add_beta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

#btn_start {
  margin: 5px;
  padding: 15px;
  background-color: #00aaff;
  font-size: 2em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 10px;
  cursor: pointer;
}

#btn_start:hover {
  transition: color 0.3s ease;
  background-color: #7fd2fb;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

footer {
  background-color: #00aaff;
  border-top: 3px solid #000;
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
}

.legal-links {
  margin: 8px 0;
}

.legal-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #ffffff;
}

.footer-bottom .site-creator {
  margin-top: 10px;
  font-style: italic;
}

#linkedin_icon {
  height: 20px;
  width: 20px;
  margin-left: 5px;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.footer-credit-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-style: italic;
  font-size: 0.88rem;
}

.footer-label {
  color: rgba(255,255,255,0.75);
}

.footer-person {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s;
}

.footer-person:hover {
  color: #e0f4ff;
  border-bottom-color: #e0f4ff;
}

.linkedin_icon {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  border-radius: 3px;
}

@media (max-width: 1000px) {
  .side-image-panel {
    display: none;
  }

  .main-layout {
    flex-direction: column;
    min-height: unset;
  }

  .main-content {
    padding: 20px;
  }

  .about-container {
    max-width: 900px;
  }

  .about h2 {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 20px;
    color: #000;
  }

  .about p {
    text-align: left;
    font-size: 3rem;
    line-height: 2;
    margin-bottom: 15px;
  }

  .header-text p {
    font-size: 2rem;
    font-weight: 500;
  }
  header img {
    height: 150px;
    width: 200px;
    margin-right: 20px;
  }
  #index-add {
    width: 650px;
    height: auto;
  }
  .about {
    height: 100%;
  }
  #btn_start {
    font-size: 3rem;
  }
  footer {
    border-top: 3px solid #000;
    min-height: 80px;
  }
  .footer-bottom {
    font-size: 2rem;
    padding: 12px 0;
  }
  .legal-links {
    margin: 8px 0;
  }
}
