/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face {
  font-family: Consolas;
  src: url("consolas.tff");
}

body {
  background-color: #0c1821;
  color: black;
  font-family: Consolas,Verdana;
}

.nb--wrapper {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 80%;
 min-width: 300px;
 height: 90%;
 color: #CBF7ED;
}

.nb--container {
 display: flex;
 flex-direction: column;
 height: 100%;
}

.nb--body {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 12px;
}

/* ================================== NAVIGATION =================================================== */

.nb--navigation {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 15%;
  min-width: 200px;
  background-color: #406E8E;
  padding: 20px;
  color: white;
  border: 4px dashed black;
}

.nb--navigation:before,
.nb--navigation:after {
   content: '';
   position: absolute;
   width: 200px;
   height: 62.03px;
   background-color: transparent;
   background-size: 200px 62.03px;
   background-repeat: no-repeat;
   text-align: center;
   display: inline-block;
}

.nb--navigation:before {
   background-image: url('/noiz.gif');
   top: 20px;
}

/*.nb--navigation:hover:before {*/
/*   background-image: url('/noiz-hovered.png');*/
/*   top: 20px;*/
/*}*/


.nb--navigation:after {
   background-image: url('/bo1z.png');
   bottom: 20px;
}

.nb--navigation-link {
  position: relative;
  padding: 4px 12px;
  background-color: transparent;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.nb--navigation-link.selected {
  background-color: #23395B;
}

.nb--navigation-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: black; /* fill color */
  z-index: -1;
  transition: width 0.5s ease;
}

.nb--navigation-link:hover::before {
  width: 100%;
}




/* ============================================================================================================= */

.nb--content {
 width: 100%;
 background-color: #23395B;
 padding: 20px;
}

/* ================================== SIDEBAR ================================== */

.nb--sidebar {
 width: 15%;
 background-color: #8EA8C3;
 /*max-height: 500px;*/
 /*min-height: 300px;*/
 /*height: 100%;*/
}

/* ============================================================================== */

/* ========================== PAGE ANIMATIONS =================================== */

.nb--animation-container {
  margin: 20px;
}

.nb--video-container {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 112.5px;
  padding: 20px;
  user-select: none;
}

.nb--video-container:hover {
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.nb--video-link {
 text-decoration: none;
 color: inherit;
}

.nb--video-thumbnail {
 height: 112.5px; 
}

/* ============================================================================== */


