 @font-face {
    font-family: 'PT Astra Sans';
    src: url("PT-Astra-Sans_Regular.ttf");
    font-weight: 400;
    }
    
  @font-face {
    font-family: 'PT Astra Sans Bold';
    src: url("PT-Astra-Sans_Bold.ttf");
    font-weight: 800;
    }
    
  @font-face {
    font-family: 'SourceCodePro-VariableFont_wght';
    src: url("SourceCodePro-VariableFont_wght.ttf");
    font-weight: 400;
    }
    
  @font-face {
    font-family: 'Roboto Mono';
    src: url("RobotoMono-VariableFont_wght.ttf");
    font-weight: 400;
    }
    
  @font-face {
    font-family: 'Roboto';
    src: url("Roboto-VariableFont_wdth,wght.ttf");
    font-weight: 400;
    }
    
  @font-face {
    font-family: 'Roboto Bold';
    src: url("Roboto-Bold.ttf");
    font-weight: 700;
    }
    
  @font-face {
    font-family: 'Geologica';
    src: url("Geologica-Regular.ttf");
    font-weight: 400;
    }
    
  @font-face {
    font-family: 'Geologica Bold';
    src: url("Geologica-Bold.ttf");
    font-weight: 700;
    }

span[style*="font-weight: bold"] {
    font-family: var(--font-default-bold) !important;
}

strong[style*="font-weight: bold"] {
    font-family: var(--font-default-bold) !important;
}

body {
     margin: 0 !important;
}
 
iframe:not(#hmsearch) {position: absolute;left:0;top:0;width:100%;height:100%;border:none;}
#hmsplitter {display: none;}

#hmnavbox {
      position: absolute;
      left: 0px;
      width: var(--menu-width);
      top: 0px;
      bottom: 0px;
      z-index: 2;
      transition: left .2s ease-in-out;
      border-right: 1px solid var(--graphite-200);
      box-sizing: border-box;
      }
      
#hmnavigation {
      background-color: var(--bg-default);
      }   
    
#hmcontentbox {
      position: absolute;
      top: 0px;
      right: 0px;
      bottom: 0px;
      left: var(--menu-width);
      z-index: 0;
      }

#overcontent.open {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    z-index: 1;
}

/* toolbar */
#toolbarwrap {
    display: none;
    justify-content: center;
}
#toolbar {
    position: fixed;
    bottom: 40px;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 4px 5px 0px, rgba(0, 0, 0, 0.12) 0px 1px 10px 0px, rgba(0, 0, 0, 0.2) 0px 2px 4px 0px;
    -webkit-tap-highlight-color: transparent;
    background: var(--graphite-50);
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 12px;
    z-index: 3;
}

#searchbtn {
    content: url(search-xl.svg);
    padding: 8px;
    width: 24px;
    cursor: pointer;
    margin-right: 24px;
    transition: all 0.5s;
}

#toolbar:has(#menubuttonwrap.open) > #searchbtn {
    width: 0;
    padding: 0;
    margin-right: 0;
}

#layoutsearch {
   background-color: var(--bg-default);
   z-index: 3;
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
    gap: 16px;
    transition: bottom .2s ease-in-out;
}

#layoutsearch.open {
    bottom: 0;
}

#closesearch {
    content: url(close-xl.svg);
    cursor: pointer;
    padding: 5px;
	width: 20px;
	align-self: flex-end;
}

#hmsearch {
    height: 100%;
    max-width: 800px;
    width: 100%;
}

#menubuttonwrap {
    padding: 8px;
}

#menubutton {
    display: flex;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    padding: 1px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: nowrap;
}

.menubuttonlines {
    height: 2px;
    background: #AEB5C1;
    transition: 0.5s all ease-in-out;
    transform-origin: 1px center;
}

#menubuttonwrap.open #menubutton .menubuttonlines:nth-child(1) {
    transform: translate(3px) rotate(45deg);
	}

#menubuttonwrap.open #menubutton .menubuttonlines:nth-child(2) {
    opacity: 0;
	}

#menubuttonwrap.open #menubutton .menubuttonlines:nth-child(3) {
    transform: translate(3px) rotate(-45deg);
	}
/* end */                    
           
   html.nonscroll { 
      overflow:hidden; 
   }
   
   body {
      background-color: var(--bg-default); 
   }
    
   body.nonscroll {    
      overflow:hidden; 
      height:100%; 
   } 
   div.nonscroll { 
      overflow-x:auto;
      overflow-y:scroll; 
   }

/*
html {
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    }
    
::-webkit-scrollbar-thumb {
    background-color: var(--graphite-500);
    border-radius: 8px;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::-webkit-scrollbar-track-piece {
    background-color: transparent;
}
*/


#hmlightboxscrolllayer {
    max-width: 98vw;
    max-height: 98vh;
    overflow: unset !important;
}

   #hmlightbox {
     padding: 0;
     background: none;
     box-shadow: none;
     cursor: zoom-out;
     bottom: 20px;
     overflow-y: auto;
    }
    
   #hmlightboximage {
     border-radius: 8px;
     max-width: 95vw;
     object-fit: contain;
     height: auto !important;
    }
    
    #hmlightboxbackground {
     background-color: #000 !important;
    }

#theme-toggle {
    background: url(email-xl.svg);
    width: 20px;
    height: 20px;
    cursor: pointer;
}


@media (max-width: 1280px){
#hmnavbox {
      left: -100%;
      width: 100%;
      }

#hmnavbox.open {
      left: 0px;
      } 
      
#hmcontentbox {
      left: 0px;
      z-index: 0;
      transition: filter 0.3s linear;
      }
      
#hmcontentbox.closed {
      filter: brightness(0.6);
      }

#toolbarwrap {
    display: flex;
    }
}