body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: black;
}

#navbar div {
    position: absolute;
    padding: 10px;
    color: white; /* or any color of your choice */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change cursor on hover */
  }
  .nav-bilde{
    width:6vw;
    
  }
  
  #home {
    top: 0.5%;
    left: 0.5%;
  }
  

canvas {
    display: block;
}

#openingText {
    position: absolute;
    color: white;
    z-index: 100;
    font-size: 1.5vw; 
    width: 100%;
    text-align: center;
    bottom: 1%; 
    margin: 0;
    padding: 0;
}

#openingText a.no-link-style {
    cursor: pointer;
    color: white;
    text-decoration: none; 
}

/* Fade-in effect for the second text with a delay of 3 seconds */
#openingText p.fadein-delayed {
    color: white;
    opacity: 0; /* Start from fully transparent */
    animation: fadeIn 2s ease-in 3s forwards; /* Fade-in effect starting after 3 seconds */
}

@keyframes fadeIn {
    0% {
        opacity: 0; 
    }
    100% {
        opacity: 1; 
    }
}
