* {
  font-family: Montserrat, sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.panel {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8vh 1.5rem 2rem 1.5rem;
}

.panel-inner {
  width: 100%;
  max-width: 1200px;
}

.body-button {
  background-color: #002244;
  color: white;
  font-family: Montserrat;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.top {
  height: 150vh;
  background-image: url("../assets/landing/imgs/SleepySeaLion.jpg");
  background-size: cover;
  background-position: center center;
  text-align: center;
  align-items: flex-start;
}

.top .panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; 
}

.top h1 {
  margin-top: 90px;
  font-size: 36px;
  color: #002244;
}

.top h4 {
  font-weight: 400;
  font-size: 16px;
  text-shadow: white 0px 0px 10px;
  margin-top: 2rem;
  padding: 0 1rem;
}

.top .learn-more {
  font-size: 12px;
  font-weight: 400;
  padding: 10px 30px;
}

.mid,
.bottom {
  height: 100vh;
}

.mid {
  background-color: #010d19;
  color: #f7fbff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  text-align: center;
}

.mid h2 {
  font-weight: 700;
  font-size: 22px;
}

.mid p {
  margin-top: 1rem;
}

.persona-selection {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  margin-top: 2rem;
  justify-content: center;
  align-items: center;
}

.genomics-persona-select,
.indigenous-persona-select {
  width: 90%;
  max-width: 500px;
  height: 60vh;
  border-radius: 20px;
  display: flex;
  align-items:center;
  justify-content:center;
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none; 
  color: inherit;   
}

.genomics-persona-select:focus-visible,
.indigenous-persona-select:focus-visible {
    outline: 3px solid #5DADE2;
    outline-offset: 3px;
}

.genomics-persona-select:hover,
.indigenous-persona-select:hover {
  transform: scale(1.03);
}

.genomics-persona-select h2,
.indigenous-persona-select h2 {
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.genomics-persona-select {
  background-image: linear-gradient(rgba(0, 34, 68, 0.65), rgba(0, 34, 68, 0.65)),
    url("../assets/landing/imgs/biologist-persona.jpg");

}

.indigenous-persona-select {
  background-image: linear-gradient(rgba(0, 34, 68, 0.65), rgba(0, 34, 68, 0.65)), url("../assets/landing/imgs/indigenous-persona.jpg");
}


.bottom {
  background-image: url("../assets/landing/imgs/Blue\ Eagle.png");
  background-size: cover;
  background-position: center;
  color: white;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.bottom .panel-inner {
  text-align: center;
}

.bottom h2 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 2rem;
}

.bot-inset {
  background-color: rgba(247, 251, 255, 0.27);
  border-radius: 40px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.bot-inset h3 {
  font-size: 18px;
  margin-bottom: 1rem;
}

.bot-inset p {
  margin-bottom: 2rem;
}

.tool-icon {
  height: 8vh;
  display: block;
  margin: 1rem auto;
}

.bot-inset .body-button {
  font-size: 12px;
  padding: 10px 30px;
}

/* ==========================================================================
   6. Medium Desktop/Tablet Overrides
   ========================================================================== */


@media (min-width: 740px) {
  .panel {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  h2 {
    font-size: 28px !important;
  }

  .bottom h2,
  .mid h2 {
    text-align: left;
  }

  .mid p {
    text-align: left;
  }

  .top h4 {
    font-size: 18px;
  }

  .top .learn-more {
    font-size: 18px;
    padding: 20px 60px;
  }

  .persona-selection {
    flex-direction: row;
    gap: 5rem;
  }

  .genomics-persona-select,
  .indigenous-persona-select {
    height: 60vh;
    flex: 1;
  }

  .genomics-persona-select h2,
  .indigenous-persona-select h2 {
    font-size: 2rem;
    text-align: center;
  }

  .bottom {
    background-size: 150%;
  }

  .bot-inset {
    flex-direction: row;
    padding: 4rem 5rem;
    gap: 3rem;
    text-align: left;
  }

  .bot-inset-left,
  .bot-inset-right {
    flex: 1;
  }

  .bot-inset h3 {
    font-size: 22px;
  }

  .tool-icon  {
    margin: 1rem 0;
  }

  .bot-inset .body-button {
    display: inline-block;
    font-size: 16px;
    padding: 15px 40px;
  }
}

/* ==========================================================================
   6. Large Desktop Overrides
   ========================================================================== */

@media (min-width: 1200px) {
  h2 {
    font-size: 48px !important;
  }

  .top h1 {
    font-size: 4em;
  }

  .top h4 {
    font-size: 36px;
    padding: 0 0;
    max-width: 80%;
    margin: 8rem auto 0 auto;
  }

  .top .learn-more {
    font-size: 24px;
    padding: 20px 60px;
  }

  .bottom {
    height: 92vh;
    background-size: 120%;
  }

  .bot-inset {
    margin: 80px;
    padding: 60px 80px;
  }

  .bot-inset h3 {
    font-size: 36px;
  }

  .tool-icon {
    height: 15vh;
  }
}