body {
    margin: 0;
    font-family: sans-serif;
    background-color: white;
    overflow-x: hidden;
    margin: 0;
    padding: 12px;
    overflow: auto;
}




/* menu */


nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(1, 20, 95);
}

nav ul li a.current {
    font-weight: bold;
    color: rgb(1, 20, 95)
}









/*text*/
html { 
  font-family: Helvetica;
  letter-spacing: 1px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  }

#text-container {
    padding-left: 0px;
  }
  
 h1 {
    color: rgb(255, 255, 255);
    font-family: Helvetica;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
    justify-content: flex-start;
  }
h2, h3, h4 {
  color: rgb(1, 20, 95);
  }






/* ThreeJS styles */

#main-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1; 
    pointer-events: none;
}

#content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.text-section {
    margin: 0px 0;
    padding: 0px;
    border-radius: 8px;
}

.scene-container {
    width: 100%;
    height: 400px;
    margin: 0px 0;
    pointer-events: auto;
}




/* video */
iframe {
         border: none;
      }


.auto-resizable-iframe {
  max-width: 560px;
  margin: 0px auto;
}

.auto-resizable-iframe > div {
  position: relative;
  padding-bottom: 56.25%;
  height: 0px;
}

.auto-resizable-iframe iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.auto-resizable-iframe img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}




/*Image 360*/
.cloudimage-360 {
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: auto;
}

/* image title */
.image-description {
  display: flex;
  justify-content: center;
  letter-spacing: 0.8px;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0;
}






 /* hyperlinks */


 /* unvisited link */
a:link {
  color: rgb(1, 20, 95)
}

/* visited link */
a:visited {
  color: rgb(0, 0, 0);
}

/* mouse over link */
a:hover {
  color: rgb(230, 84, 0)
}

/* selected link */
a:active {
  color: rgb(3, 53, 255)
} 

/* footer */

footer {
  font-size: 0.9rem;
  margin-top: 5vw;
  padding-left: 20px;
  background: rgb(245, 245, 245);
}