/* Monospace clean font */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');

html, body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: #939388;
}

/* About page specific background */
body.about-page {
  background: #CFE795 !important;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Fira Code', monospace;
  color: #111;
}

h1, h2, h3, h4, h5, h6 {
  color: #111;
}

a, .panel-link, .panel-link .panel, .panel-link .panel h1, .panel-link .panel p {
  color: #111;
}

.panel {
  color: #111;
}

.panel-link:hover .panel {
  color: #fff !important;
}

.emoji {
  color: #111;
}

.about-center-text, .about-img, .concert-caption, .concert-img-wrapper, .content-page, .photo-flex-row, .music-flex-row, .award-organization, .project-header h3, .award-header h3, .skill-tile h3 {
  color: #111;
}

.ag-logo {
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif !important;
}

.ag-logo:hover {
  color: #00A5CF;
}

.container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  gap: 0;
}

.panel {
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.panel h1 {
  font-size: 2.5rem;
  margin-top: 1rem;
}

.panel p {
  font-size: 1.2rem;
  max-width: 300px;
}

.emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.panel img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

/* Colors for each section */
.blog {
  background-color: #F97068;
}

.work {
  background-color: #C1DFF0;
  color: #000; /* Dark text for light background */
}

.about {
  background-color: #CFE795;
}

.home-button {
  position: fixed; /* stays in the top-left */
  top: 300px;
  left: 300px;
  font-style: italic; /* italic text */
  text-decoration: underline; /* underscored */
  font-size: 1.5rem;
  color: white; /* color of text */
  text-decoration-thickness: 2px; /* thicker underline */
  z-index: 1000; /* 👈 THIS keeps it above other elements */
}

.home-button:hover {
  color: white; /* hover color */
  cursor: pointer;
}


/* Links (optional) */
a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-color: #fff;
}

.panel-link {
  flex: 1 1 0;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
}

.panel-link .panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.35s cubic-bezier(0.4, 0.2, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.panel-link:hover .panel {
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 3px 12px rgba(0,0,0,0.18);
  z-index: 1;
  position: relative;
  transform: scale(0.97) translateY(8px);
}

.content-page {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  padding: 40px 0 0 0;
  background: transparent;
  color: #fff;
  border-radius: 0;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.content-page h1, .content-page h2, .content-page p, .content-page ul, .content-page section {
  max-width: none;
  margin-left: 40px;
  margin-right: 40px;
  text-align: left;
}

.content-page h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.content-page section {
  margin-bottom: 2rem;
}

.content-page p, .content-page ul {
  max-width: 700px;
}

.photo-flex-row {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: flex-end;
}

.photo-flex-row > div:last-child {
  min-width: 320px;
  display: flex;
  justify-content: flex-end;
}

.music-flex-row {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: flex-end;
}
.music-flex-row > div:last-child {
  min-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.concert-img-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.concert-img {
  width: 320px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: block;
}
.concert-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.concert-img-wrapper:hover .concert-caption {
  opacity: 1;
}

.ag-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: all 0.3s ease, opacity 0.4s cubic-bezier(0.4,0.2,0.2,1), transform 0.4s cubic-bezier(0.4,0.2,0.2,1);
  padding: 0;
  overflow: visible;
  pointer-events: auto;
}

.ag-logo img {
  width: 100%;
  height: 100%;
  object-fit:fill;
  border-radius: 50%;
}

.ag-logo:hover {
  background: rgba(255,255,255,0.3);
  color: #25A18E;
  transform: scale(1.05);
}

.about-img {
  display: block;
  margin: 24px auto 16px auto;
  width: 240px;
  height: 240px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  border: 4px solid #C1DFF0;
  filter:brightness(1.1)
}

.about-center-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px auto;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .panel-link {
    min-height: 33vh;
  }
  .photo-flex-row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .music-flex-row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .music-flex-row > div:last-child {
    align-items: stretch;
  }
}

