@font-face {
  font-family: 'KouzanMouhitu';
  src: url('/font/KouzanMouhitu.otf');
  font-style: normal;
}

@font-face {
font-family: 'NJNaruto';
src: url('/font/njnaruto.ttf');
font-style: normal;
}

html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  transform: scale(0.8);
  transform-origin: top left;
  width: 125%;
  min-width: 320px;
  min-height: 100vh;
  line-height: 24px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(60, 60, 67);/*rgba(255, 255, 245, 0.86)*/;
  background-color: #E5E4E2/*#1b1b1f*/;
  font-synthesis: style;
  font-family: "Inter", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, li, p {
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: inherit;
}
p {
  margin: 0;
}

main {
  flex: 1 0 auto;
  min-height: calc(100vh - 100px);
}

.container {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.Container {
  margin: 0 auto;
  max-width: 1440px;
  text-align: center;
}

/* Nav Bar */
.nav {
  position: relative;
  top: var(--vp-layout-top-height, 0px);
  left: 0;
  z-index: 30;
  width: 100%;
  background-color: #1b1b1f;
  transition: background-color 0.5s;
}
.navbar {
  position: relative;
  height: 64px;
  white-space: nowrap;
  transition: background-color 0.25s;
}
.navcontainer {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: calc(1440px - 64px);
  height: 64px;
}
.wrapper {
  padding: 0 32px 0 32px;
}

.title {
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  height: 64px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 245, 0.86);
  transition: opacity 0.25s;
}
.title:hover{
  color: #ff7f00;
}
.logo {
  margin-right: 8px;
  height: 24px;
}

.content {
  flex-grow: 1;
}
.content-body {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 64px;
  transition: background-color 0.5s;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  color: rgba(235, 235, 245, 0.6);
  transition: color 0.5s;
}
.social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.social-link:hover {
  color: rgba(255, 255, 245, 0.86);
  transition: color 0.25s;
}

.block-container {
  margin: 32px 24%;
}
.custom-block {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 1rem;
  line-height: 24px;
  font-size: 16px;
  color: rgba(235, 235, 245, 0.6);
}
.custom-block.info {
  border-color: transparent;
  color: rgba(60, 60, 67);
  background-color: rgba(142, 150, 170, 0.14);
}
.custom-block-title {
  font-weight: 700;
}
.custom-block a {
  font-weight: 700;
}
.custom-block a:hover {
  color: #D35400;
}

/*Footer*/
.Footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid #000000;
  padding: 32px 24px;
  background-color: #1b1b1f;
}
.Footer a {
  text-decoration-line: none;
  text-underline-offset: 2px;
  transition: color 0.25s;
  color: rgba(235, 235, 245, .6);
}
.Footer a:hover {
  text-decoration-line: underline;
  color: rgba(255, 255, 245, 0.86);
}
.message {
  line-height: 24px;
  font-weight: 500;
  color: rgba(235, 235, 245, .6);
}

/* Main */
.logo-container {
  display: flex;
  width: 100%;
  max-width: calc(1440px - 64px);
  justify-content: center;
  align-items: center;
  position: relative;
}
.Logo {
  text-align: center;
}
.Logo img{
  margin: 25px 0;
  height: 65px;
  width: auto;
}

/*Options - Hamburger icon*/
.options-container {
 position: absolute;
 right: 0;
}
.options {
  position: relative;
  width: 16px;
  height: 14px;
  overflow: hidden;
}
.hamburger {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 64px;
  border: none;
  background-color: #E5E4E2;
  cursor: pointer;
}
.top,
.middle,
.bottom {
  position: absolute;
  width: 16px;
  height: 2px;
  background-color: rgba(60, 60, 67);
  transition: top .25s, background-color .5s, transform .25s;
}

.top    { top: 0; left: 0; transform: translateX(0); }
.middle { top: 6px; left: 0; transform: translateX(8px); }
.bottom { top: 12px; left: 0; transform: translateX(4px); }

.hamburger:hover .top    { top: 0; left: 0; transform: translateX(4px); }
.hamburger:hover .middle { top: 6px; left: 0; transform: translateX(0); }
.hamburger:hover .bottom { top: 12px; left: 0; transform: translateX(8px); }

.hamburger.active .top    { top: 6px; transform: translateX(0) rotate(225deg); }
.hamburger.active .middle { top: 6px; transform: translateX(16px); }
.hamburger.active .bottom { top: 6px; transform: translateX(0) rotate(135deg); }

.hamburger.active:hover .top,
.hamburger.active:hover .middle,
.hamburger.active:hover .bottom {
  background-color: rgba(60, 60, 67, 0.78);
  transition: top .25s, background-color .25s, transform .25s;
}



.video-container {
  display: flex;
  position: relative;
  width: 1280px;
  height: 720px;
  font-family: 'KouzanMouhitu';
}
.button-container {
  /* Optional: Add styles to the child divs */
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items:center;
}

.video {
  position: absolute;
  object-fit: cover;
  border-radius: 15px;
  display: none;
}
.canvas {
  display: block;
  position: absolute;
  object-fit: cover;
  border-radius: 15px;
  /*top: 0;
  left: 0;
  width: 100%;
  height: 100%;*/
}
.rec-border {
  border: 5px solid red;
}

#image{
  height: 64px;
  width: 64px;
}

/*#speechtext, #videotext, #jutsutext {
  font-weight: bold;
  font-size: 18px;
}*/
#StatusMsg {
  padding: 1rem;
  font-size: 20px;
}


/*Image as Recording button*/
.rec-button {
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 10px;
}
.rec-button:hover {  
  filter: brightness(0) saturate(100%) invert(20%) sepia(63%) saturate(7240%) hue-rotate(352deg) brightness(85%) contrast(112%);
  overflow: hidden;
}
.rec-button:active {
  transform: translateY(2px);
}

.Rec{
  animation-name: pulse;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes pulse{
  0%{
    filter: drop-shadow( 0px 5px 0px rgba(173,0,0,.3));
  }
  65%{
    filter: drop-shadow( 0px 5px 13px rgba(173,0,0,.3));
  }
  90%{
    filter: drop-shadow( 0px 5px 13px rgba(173,0,0,0));
  }
}

.jutsuHelp {
  font-size: 20px;
}
.handsigns {
  font-family: 'NJNaruto';
}

/*Diagnostics*/
summary {
  font-size: 20px;
}
.log-container {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 355px;
}
#logs {
  width: 800px;
  height: auto;
  background-color: #ffffff;
  border: 1px solid gray;
  padding: 20px;
  overflow-y: scroll;
  max-height: 300px;
  margin-left: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}
#log-entry {
  margin-bottom: 5px;
  line-height: 1.4;
}

