/* The hero image */
.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, 0.7)), url('../assets/biotechhero.webp');
    height: 66vh; /*percentage DOES NOT WORK*/
    max-height: 900px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: block;
  }
  /* Flexbox container for the main content */
  #container {
    display: flex;
    flex-direction: row; /* Stack the flex items vertically */
    position: relative; 
    width: 90%; 
    height: 70vh; 
    margin: auto; 
    margin-bottom: 75px;
  }
  model-viewer {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 8px 0 #050a14;
    margin: .5rem;
  }
  .textDiv {
    width: 100%;
    margin: 0.5rem;
    overflow: visible;
  }
  .Hotspot {
    background-color: #1d2129;
    color: #959595;
    padding: 5px 10px;
    border: 1px solid #959595;
    border-radius: 5px;
    cursor: pointer;
    /*opacity: 0.8;*/
  }
  /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
  @media screen and (max-height: 450px) {
  }

  @media screen and (max-width: 768px) {
    #container {
      flex-direction: column; /* Stack the elements on smaller screens */
      align-items: center;
      height: auto;
    }
    #textDiv {
      order: 1; /* Move the text div below the model on smaller screens */
    }
    model-viewer {
      height: 50vh;
    }
  }

  @media screen and (max-width: 576px) {
  }
