    @import url('https://fonts.googleapis.com/css2?family=Bangers&family=Open+Sans:wght@300&display=swap');

    /* CSS styles for the website */
    body {
        font-family: 'Open Sans', sans-serif;
        color: #fff;
        background-color: #000;
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #ffffff;
    }
    .header {
        font-family: 'Bangers', cursive;
        background-color: #000;
        background-repeat:no-repeat;
        background-position: center center;
        color: #ddd;
        text-shadow: 1px 1px 2px black; 
        margin-top: 0px;
        text-align: center;
        width: 100%;
        z-index: 9999;
        border-bottom: 2px solid #333333s;
    }
    .header ul > li {
        display: inline-block;
        padding: 1em;
    }
    .header ul > li a {
        font-size: 2em;
    }

    a:active {
        color: #ffffff;
    }
    footer {
        padding: 2em;
        text-align: center;
        margin: 0 auto;
        background: rgb(134,0,209);
        background: radial-gradient(circle, rgba(134,0,209,1) 0%, rgba(0,0,0,1) 100%);

    }



    h1, h2 {
        font-family: 'Bangers', cursive;        
    }    
    h1 {
        color: #ddd;
        text-shadow: 1px 1px 2px black; 
        text-align: center;
        font-size: 16vh;
        margin-bottom: 20px;
        letter-spacing: 3px;        
      }
      h2 {
        font-size: 2.5em;
        color: #eeeeee;
      }
    
    p {
        color: #bbb;
        font-size: 1.2em;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .small-button {
        display: inline-block;
        font-size: 18px;        
        background-color: #ffd600;
        text-decoration: none;
        color: #fff;
        font-family: 'Bangers', cursive;
        padding: 5px 10px;
        border-radius: 5px;
        text-shadow: 1px 1px 2px black; 

    }
    .cta-button {
        display: inline-block;
        padding: 10px 20px;
        font-size: 36px;
        text-shadow: 1px 1px 2px black; 
        font-family: 'Bangers', cursive;
        background-color: #ffd600;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        box-shadow: 2px 2px 1px 1px black;
        margin: 10px;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;

    }


    .header ul > li:hover,.header ul > li:visited  {
        color: #ffffff;
        background: purple;
    }

    .page-anchor {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 1em;
        box-sizing: border-box;
        position: relative;
    }

    .container {
        margin: 0px auto;
        padding-top: 20px;
        background: rgb(134,0,209);
        background: radial-gradient(circle, rgba(134,0,209,1) 0%, rgba(0,0,0,1) 100%);
        min-height: 100vh;
    }
#hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.hero-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  font-size: 0; /* remove whitespace from inline images */
}

.background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Character positioning based on 1920x1080 scale */
.character {
  position: absolute;
  height: 90%; /* 1037 / 1920 ≈ 0.54 — scaled slightly down */
  bottom: -20%;  /* cut off feet by 120px of 1080 (~11%) */
  z-index: 2;
}

.character.left {
  left: 5%;
}

.character.right {
  right: 5%;
}

.bubble {
  position: absolute;
  width: 70%;   /* 1123 / 1920 */
  top: 10%;
  z-index: 3;
}

.bubble.left {
  left: 5%;
}

.bubble.right {
  right: 5%;
}

.bubble img {
  width: 100%;
  height: auto;
  display: block;
}

.bubble-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  padding: 1em 2em;
  font-family: 'Arial', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  justify-content: left;
  color: #fff;
  pointer-events: none;
}



    #home {
        position: relative;
        overflow: hidden;
    }
    .green {
        background-image: url(images/campus.png);
        width: 100%;
        background-repeat: no-repeat, no-repeat;
        background-position: bottom center, center center;
        background-size: auto 100%, cover;
    }
    
    .about {
        margin-top: 5em;
        min-height: 50vh;
    }
    
    .top {
        
        width: 100%;
        min-height: 175px;
    }

    .bottom {
        text-align: center;
        width: 100%;
        position: absolute;
        bottom: 0;
        max-height: 100vh;
    }

    .center  {
        display: block;
        margin-top: 100px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    #characters {
        position: absolute;
        bottom: 0;
        width: 100%;
        max-height: 90vh;
    }
    .profile {
      background-color: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 1em;
      border-radius: 0.5em;
      max-width: 30vw;
      word-wrap: break-word;
      box-sizing: border-box;
      z-index: 50;
    }

@media (max-width: 1200px) {
  .profile {
    max-width: 40vw;
  }
}
@media (max-width: 900px) {
  .profile {
    max-width: 80vw;
  }
}

.speech-bubble {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}
/*
.bottom a.cta-button {
    bottom: 7em;
    position: relative;
}*/
    
.cta-button:hover {
    background-color: #2980b9;
}


.middle-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
    min-height: 60vh;
}
.character-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1;
    padding: 0 2em;
    box-sizing: border-box;
}
.universe-character {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 2em;
  width: 100%;
  max-width: 1138px;
  margin: 0 auto;
  padding: 2em;
  box-sizing: border-box;
}

.universe-character .asset {
  flex: 1;
  display: flex;
  justify-content: center;
}

.universe-character .profile {
  flex: 1;
  align-self: anchor-center;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1em;
  border-radius: 0.5em;
  max-width: 30vw;
}
/*
.character {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2em;
  max-height: 70vh;
}

*/
.left-character {
    left: 5%;
}

.right-character {
    right: 5%;
}

.top {
    position: relative;
    min-height: 175px;
}
/*
.speech-bubble {
  position: absolute;
  width: 400px;
  height: auto;
}

.speech-bubble img {
  width: 100%;
  display: block;
}

.bubble-text {
  position: absolute;
  top: 13%;
  left: 5%;
  width: 90%;
  font-size: 1em;
  line-height: 1.4;
}


.speech-bubble.left {
  left: 25%;
  bottom: 32em;
}

.speech-bubble.right {
  right: 25%;
  bottom: 32em;
}
*/
.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

@media (max-width: 781px) {
  .universe-character {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .universe-character .profile {
    max-width: 80vw;
  }

  #featured_character {
    height: auto;
    max-height: 30vh;
  }
}

@media (max-width: 781px) {
  .speech-bubble.left,
  .speech-bubble.right {
    width: 70%;
  }
  .bubble-text {
/*    font-size: 0.9em;*/
  }
}
@media (max-width: 480px) {

  .bubble-text {
    font-size: 0.8em;
  }
}
#universe {
  position: relative;
  overflow: hidden;
}
/*
#universe {
  background-size: cover;       
  background-position: center;  
  background-repeat: no-repeat;
  min-height: 60vh;             
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;        
  justify-content: center;
  padding: 2em;
}
*/
.background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

#featured_character {
  max-height: 100%;
  height: 38em;
  width: auto;
  object-fit: contain;
  transform: translateY(10%); /* pull feet into view */
}


.character .asset {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  gap: 1em;
}

@media (max-width: 430px) {
  /*
  .speech-bubble {
    font-size: 0.7em;
    max-width: 100%;
    bottom: 24em !important;
  }

  .speech-bubble.left {
    left: 5%;
  }

  .speech-bubble.right {
    right: 5%;
  }
  */
}

@media (min-width: 1796px) {
    .green {
        background-position-y: 6em;
    }
}

