.entercorridor {
    font-size: 30px;
    font-family: cursive;
    margin: 50px;
    z-index: 2;
}
.entercorridor:hover {
    color: orchid;
}


.frontpageimage{
    position: absolute;
    left: -10px;
    height: 1199px;
}
 /*
.frontpageimagelink{
    z-index: 2;
}  
*/

#booktab{
    position: absolute;
    right: -1200px;
    /*right: -800*/
    height: 1199px;
    transition: right 0.4s cubic-bezier(.17, .25, .69, .99); 
}

/*
#booktab:hover {
    left: 1050px;
    transition:cubic-bezier(.17,.25,.69,.99);
    transition-duration: 0.4s;
}
*/

.kbrlogolink{
    position: fixed;
    margin-left: 25px;
    padding-top: 20px;
    z-index: 1;
}

.kbrlogo{
    width: 100px;
    position: fixed;
    margin-left: 0px;
    padding-top: 0px;
    /*
    margin-left: 25px;
    padding-top: 20px;
    */
}

.kbrlogo:hover {
    animation-name: tilt-shaking1;
    animation: tilt-shaking1 0.25s;
    animation-iteration-count: infinite;
}
  
  @keyframes tilt-shaking1 {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
  
.entercorridor{
    position: relative;
    left: 2500px;
    top: 600px;
}

.graffitipiece{
    position: absolute;
    z-index: -1;
    width: 1350px;
    right: 6px;
    top: 112px;
    opacity: 0;
    transition: opacity 1s cubic-bezier(.83,-0.01,1,.98);
    fill: black;
    pointer-events: none;
}  

.graffitipiece path, .graffitipiece polygon{
    pointer-events: fill;
}  

/* pre svg file swap
#graffitipiecesvg{
    z-index: 10;
    position: absolute;
    fill: black;
    width: 1000px;
    height: 1000px;
}

.graffitipiece{
    position: absolute;
    z-index: -1;
    width: 1350px;
    right: 6px;
    top: 112px;
    opacity: 0%;
    transition: opacity 1s cubic-bezier(.83,-0.01,1,.98);
}  
*/

.star{
    z-index: -2;
    position: absolute;
    width: 222px;
    right: 677px;
    top: 98px;
    opacity: 0%;
    transition: opacity 1ms ease-in;
}

.star:hover {
    animation-name: tilt-shaking;
    animation: tilt-shaking 0.25s;
    animation-iteration-count: infinite;
}
  
  @keyframes tilt-shaking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}
 

/* corridor1 */

.kbrlogolink2{
    position: fixed;
    margin-left: 25px;
    padding-top: 20px;
    z-index: 1;
}

.kbrlogo2{
    width: 100px;
    position: fixed;
    margin-left: 0px;
    padding-top: 0px;
    /*
    margin-left: 25px;
    padding-top: 20px;
    */
}

.kbrlogo2:hover {
    animation-name: tilt-shaking2;
    animation: tilt-shaking2 0.25s;
    animation-iteration-count: infinite;
}
  
  @keyframes tilt-shaking2 {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.corridor1linklist{
    padding-top: 100px;
}

.corridor1linklist a{
    position: relative;
}

/* function room */

.function{
    position: relative;
    display: flex ;
}

.galaxy {
    
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /*
    background: radial-gradient(circle, #1e1e2f, #000);
    */
    overflow: hidden;
  }
  
  .solar-system {
    position: relative;
    width: 300px;
    height: 300px;
  }
  
  .sun {
    width: 50px;
    height: 50px;
    background: yellow;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px yellow, 0 0 40px orange;
  }
  
  .orbit {
    width: 200px;
    height: 200px;
    border: 1px dashed black;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .planet {
    width: 20px;
    height: 20px;
    background: blue;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  

/* room1 */

.diagram{
    width: 200px;
}

.outside-link {
    position: fixed;
    bottom: 20px;
    right: 50px;
    color: green;
    font-family: 'Courier New', Courier, monospace;
}

