/* ==============================================
   CSS RESET & BASE STYLES
   ============================================== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

@font-face {
  font-family: "LetterGothicStd";
  src: url("/src/assets/brand/fonts/lettergothicstd-webfont.woff2") format("woff2"),
    url("/src/assets/brand/fonts/lettergothicstd-webfont.woff") format("woff"),
    url("/src/assets/brand/fonts/lettergothicstd-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LetterGothicStd";
  src: url("/src/assets/brand/fonts/lettergothicstd-bold-webfont.woff2") format("woff2"),
    url("/src/assets/brand/fonts/lettergothicstd-bold-webfont.woff") format("woff"),
    url("/src/assets/brand/fonts/lettergothicstd-bold-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --mobile-scale: 1.3;
  --base-line-height: 18px;
  --base-letter-spacing: 0.1px;
}

html {
  font-size: 14px;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "LetterGothicStd", "Courier New", monospace;
  background-color: #f2f2f2;
  color: #000;
  font-weight: normal;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
  margin: 0px;
}

a {
  text-decoration: none;
  color: #000000;
}

a:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* ==============================================
   PROJECT PAGE LAYOUT
   ============================================== */
.overview-layout {
  min-height: 100vh;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  justify-content: flex-start;
  max-width: 900px;
  /* max-width of the content column */
  margin: 0 auto;
}

.overview-content {
  width: 100%;
  /* max-width: 700px; */
}

.description {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.description h3 {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin: 25px 0 10px 0;
}

.description p {
  margin: 20px 0;
  max-width: 700px; /* max-width of text paragraph */
}

/* Section Divider */
.section-divider {
  border: none;
  border-top: 1px solid #00000033;
  margin: 0;
  width: 100%;
}

/* Small Text */
.small-text {
  font-size: 0.875rem;
  opacity: 0.8;
}

.small-text a,
.small-text .partner-link {
  font-size: 0.875rem !important;
}

/* Project Images */
.act-image {
  width: 100%;
  height: auto;
  margin: 20px 0 0 0;
  display: block;
  border-radius: 0;
  opacity: 0;
  transition: opacity 1.0s ease-in-out; /* Image fade-in transition speed */
}

.act-image.fade-in {
  opacity: 1;
}

/* Back Link Alignment */
.back-link {
  width: 100%;
  text-align: left;
}

.event-website {
  font-family: "LetterGothicStd", "Courier New", monospace;
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.event-website:hover {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  html {
    font-size: calc(12px * var(--mobile-scale)); 
  }

  .overview-layout {
    padding: 20px;
    gap: 40px;
  }

  .overview-content {
    width: 100%;
  }

  .back-link {
    max-width: 100%;
  }

  .act-image {
    margin: 20px 0;
  }
}