/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&family=Nunito:wght@400;600&display=swap');
/* Bottom image at page bottom */

/* Bottom image behind dashboard only */
.dashboard-bottom-bg {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.dashboard .dashboard-bottom-bg {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 0;
}
.fixed-bottom-bg {
  position: fixed !important;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: auto;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.bottom-image {
  max-width: 90vw;
  height: auto;
  display: block;
  opacity: 0.32;
  filter: blur(0.5px);
}
.dashboard {
  position: relative;
  z-index: 10;
}
main, header, footer, #about, #contact {
  position: relative;
  z-index: 1;
}
/* Fish-Shaped Dashboard Buttons */
/* Fish Dashboard Buttons - Football/Ellipse Shape, Opaque */
.fish-dashboard-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  margin: 2.5rem 0 2rem 0;
  position: relative;
  z-index: 10;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.fish-button.fish-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  min-width: 240px;
  min-height: 100px;
  width: 300px;
  height: 120px;
  padding: 0;
  position: relative;
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent-3) 100%);
  /* Smooth pointed ellipse (football) shape */
  clip-path: ellipse(48% 48% at 50% 50%);
  border-radius: 100vw 100vw 100vw 100vw / 60vw 60vw 60vw 60vw;
  overflow: hidden;
  opacity: 1 !important;
  background-color: var(--accent-2);
  z-index: 2;
}
.fish-button.fish-shape:nth-child(2n) {
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 100%);
  opacity: 1 !important;
  background-color: var(--accent-1);
}
.fish-button.fish-shape:hover, .fish-button.fish-shape:focus {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  filter: brightness(1.08);
}
.fish-label {
  font-family: var(--header-font);
  font-size: 2rem;
  color: #fff;
  letter-spacing: 1.5px;
  text-align: center;
  background: none;
  border-radius: 0;
  padding: 0.2em 1.2em;
  max-width: 90%;
  box-sizing: border-box;
  z-index: 2;
  position: relative;
  margin: 0 auto;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
/* Custom SVG shape support for dashboard buttons */
.custom-fish-shape {
  clip-path: url(#your-custom-clip-path);
}
.fish-button.fish-shape .fish-label {
  color: var(--accent-light);
}
.fish-button.mizerreef-fish {
  background: var(--accent-3) !important;
  justify-content: center;
  opacity: 1 !important;
  z-index: 2;
}
.mizerreef-logo-fish {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  z-index: 2;
}
/*
  style.css for Chelsey M. Beese, Ph.D. | Personal Academic Website
  Retro, fun, and professional with 70s-inspired color palette and animated fish swoosh
*/
  font-size: 1em; /* Reduced font size */
  padding: 0.5em 1em; /* Adjusted padding */
  white-space: normal; /* Allow text wrapping if needed */
  overflow: hidden; /* Prevent overflow */
  line-height: 1.2; /* Improve vertical fit */
:root {
  --blue-main: #016FA0;
  --blue-alt: #00769E;
  --accent-1: #FE3E00;   /* Red-Orange */
  --accent-2: #FDB36A;   /* Orange */
  --accent-3: #FF751C;   /* Bold Orange */
  --accent-4: #F4845F;   /* Coral */
  --accent-5: #F9A03F;   /* Muted Orange */
  --accent-light: #FFF3E0;
  --accent-dark: #2B2D42;
  --text-main: #222;
  --header-font: 'Baloo 2', cursive;
  --body-font: 'Nunito', Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--blue-main);
  color: var(--text-main);
  font-family: var(--body-font);
  min-height: 100vh;
}

header {
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-3) 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
  margin-bottom: 1rem;
  border-bottom: 4px solid var(--accent-2);
}


.header-banner {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  aspect-ratio: 3003 / 541;
  object-fit: contain;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  border-bottom: 3px solid var(--accent-2);
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0 0.5rem 0;
}
nav a {
  color: var(--text-main);
  font-family: var(--header-font);
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a.active {
  background: var(--accent-1);
  color: var(--blue-main);
}

main {
  max-width: 900px;
  margin: 2rem auto 0 auto;
  padding: 1.5rem;
  background: rgba(0,0,0,0.08);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

h1, h2, h3, h4 {
  font-family: var(--header-font);
  color: var(--accent-1);
  margin-top: 0;
  letter-spacing: 1.5px;
}
h1 {
  font-size: 2.5rem;
  color: var(--accent-2);
}
h2 {
  font-size: 2rem;
  color: var(--accent-1);
}
h3 {
  font-size: 1.3rem;
  color: var(--accent-3);
}

/* About Section */
#about .about-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--accent-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
  margin-bottom: 1rem;
}
/* Remove fish shape from .left-floated, keep only float */
.left-floated {
  float: left;
  margin-right: 2rem;
}
.about-bio {
  flex: 1 1 300px;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* MizerReef Section */
#mizerreef .mizerreef-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.mizerreef-logo {
  width: 170px;
  height: auto;
  border-radius: 16px;
  background: none;
  padding: 0;
  box-shadow: none;
}
.mizerreef-desc {
  flex: 1 1 300px;
  color: var(--text-main);
}

/* Contact section styles */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.contact-icon img, .contact-icon svg {
  width: 38px;
  height: 38px;
  margin: 0;
  display: block;
}
.alt-email-item a {
  color: var(--accent-1);
  font-size: 1rem;
  margin-left: 0.5rem;
}
.contact-location {
  font-weight: bold;
  color: var(--accent-2);
  font-size: 1.1rem;
}

/* Gallery */
#gallery .gallery-flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
#gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border: 3px solid var(--accent-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
#gallery img:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  border-color: var(--accent-2);
}

/* Publications & CV */
main ul {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  color: var(--text-main);
}
main li {
  margin-bottom: 0.7rem;
  line-height: 1.5;
}
.pub-list {
  margin-bottom: 1.5rem;
}
.pub-item {
  margin-bottom: 0.7rem;
  line-height: 1.5;
  color: var(--text-main);
}
main a {
  color: var(--accent-2);
  text-decoration: underline;
  transition: color 0.2s;
}
main a:hover {
  color: var(--accent-3);
}

/* Fish Swoosh Animation */
/* Fish Swoosh Background - now behind content and higher up */
.fish-swoosh.fish-bg-behind {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 400px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.fish-bg-svg, .fish-swoosh svg {
  width: 100vw;
  height: 400px;
  display: block;
}
.fish-swoosh svg g {
  animation: fish-sway 5s ease-in-out infinite alternate;
  transform-origin: 50% 80%;
}
main, header, footer, #about, #contact {
  position: relative;
  z-index: 1;
}
@keyframes fish-sway {
  0% { transform: translateY(0) scaleX(1); }
  40% { transform: translateY(-8px) scaleX(1.03); }
  60% { transform: translateY(6px) scaleX(0.97); }
  100% { transform: translateY(0) scaleX(1); }
}

/* Footer */
footer {
  background: linear-gradient(90deg, var(--accent-3) 0%, var(--accent-2) 100%);
  color: var(--accent-dark);
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  font-size: 1.1rem;
  margin-top: 2rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.13);
  border-top: 4px solid var(--accent-1);
}

/* Responsive Design */
@media (max-width: 700px) {
  main {
    padding: 0.7rem;
    border-radius: 0;
    box-shadow: none;
  }
  .about-flex, .mizerreef-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  nav {
    gap: 1rem;
    font-size: 1rem;
  }
  .profile-pic {
    width: 100px;
    height: 100px;
    margin-right: 1rem;
  }
  #gallery .gallery-flex {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  nav { flex-direction: column; gap: 0.5rem; }
  #gallery .gallery-flex { grid-template-columns: 1fr; }
}
/* End of style.css */