/* Base style
   ========================================================================== */
   
/* Fonts */
@font-face {
   font-family: 'vcr_osd_monoregular';
   src: url('fonts/vcr_osd_mono_1.001-webfont.woff2') format('woff2'),
        url('fonts/vcr_osd_mono_1.001-webfont.woff') format('woff');
   font-weight: normal;
   font-style: normal;
}

@font-face {
  font-family: 'pixellarimedium';
  src: url('fonts/pixellari-webfont.woff2') format('woff2'),
       url('fonts/pixellari-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html{ -webkit-user-select: none; -ms-user-select: none; user-select: none; background:#B5002B;}

/*-- Percent Loader -- */
#mainLoader{position:absolute;z-index:5; display:none; font-size:35px; line-height:35px; color:#111; text-align:center; width:100%; font-family:'vcr_osd_monoregular';}

/*-- Content Wrapper -- */
#mainHolder{position:absolute; width:100%;height:100%;}

.privacyLinkHolder{
   position: fixed;
   left: 0;
   right: 0;
   bottom: 10px;
   text-align: center;
   z-index: 20;
   pointer-events: none;
}

.privacyLinkHolder a{
   pointer-events: auto;
   font-family:'pixellarimedium';
   font-size: 16px;
   color: #fff;
   text-decoration: underline;
}

/*-- Browser Not Support -- */
#notSupportHolder{ width:90%; margin:5% auto; position:relative; color:#111; text-align:center; font-size:35px; font-family:'vcr_osd_monoregular'; display:none;}

/*-- Rotate Animation -- */
@-moz-keyframes spin { 50% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(0deg); } }
@-webkit-keyframes spin { 50% { -webkit-transform: rotate(90deg); } 100% { -webkit-transform: rotate(0deg); } }
@keyframes spin { 50% { -webkit-transform: rotate(90deg); transform:rotate(90deg); } 100% { -webkit-transform: rotate(90deg); transform:rotate(90deg); } }

/*-- Canvas Wrapper -- */
#canvasHolder{ display:none; width:100%; max-width:1280px; height:100%; margin:auto; position:relative;}
canvas{ position:fixed;}

.bgEgg { position: fixed;}
.bgEgg img{ width: 100%; height: auto;}

/*-- Chat Wrapper -- */
.chatAI { position: fixed; font-family:'pixellarimedium'; display: none;}
.chatAI img{ width: 100%; height: auto; }
.chatAI .content{ position: absolute; width: 100%; height: 100%; top:0; left: 0;}
.chatAI .content .chatBg {
   background: url("../assets/item_chat_bg.png") no-repeat;
   background-size: 100% 100%;
   width: 94%;
   height: 80%;
   margin-left: 3%;
   margin-top: 8.5%;
   padding: 3.2% 3.8% 2.8%;
   box-sizing: border-box;
}
.chatAI .content .chatInputBg {
   width: 94%;
   height: 10.8%;
   margin-left: 3%;
   margin-top: .8%;
   padding: 1.8% 3%;
   box-sizing: border-box;
   display: flex;
   align-items: stretch;
}
.chatAI .content .chatInputBgActive {
  background: url("../assets/item_chat_input.png") no-repeat;
  background-size: 100% 100%;
}
.chatAI .content .chatInputBgDisabled {
  background: url("../assets/item_chat_input_disabled.png") no-repeat;
  background-size: 100% 100%;
}
.chatAI .content .chatLogo{
   text-align: center;
   padding-top: .8%;
   margin-top: -15%;
   margin-bottom: 2%;
}
.chatAI .content .chatLogo img{
   width: 96%;
   margin: 0 auto;
}
.chatAI .content .logoDesc{
   text-align: center;
   margin: 1.2% 0 2.4%;
   color: #1c0a0b;
   font-size: 1.25rem;
}
.chatAI .content .chatClose {
   position: absolute;
   width: 15%;
   top:1.5%;
   right: 5%;
   cursor: pointer;
}
.chatAI .content .chatClear {
   position: absolute;
   width: 15%;
   top:1.5%;
   right: 21%;
   cursor: pointer;
}
.chatAI .content .messages {
   display: flex;
   flex-flow: column;
   flex-direction: column-reverse;
   width: 100%;
   height: 100%;
   overflow-y: auto;
   overflow-x: hidden;
   scrollbar-width: none; /* Firefox */
   -ms-overflow-style: none; /* IE/Edge legacy */
}
.chatAI .content .messages::-webkit-scrollbar {
   width: 0;
   height: 0;
}

.chatAI .content .messages .message {
   padding: 2.7% 2%;
   border-top: 4px solid #150809;
 }
 .chatAI .content .messages .message:first-child {
   border-top: none;
 }
 .chatAI .content .messages .message .wrapper {
   display: flex;
   max-width: 1200px;
   width: 100%;
   margin: 0 auto;
 }
 .chatAI .content .messages .message .wrapper .avatar {
   display: flex;
   width: 15%;
   height: 15%;
 }
 .chatAI .content .messages .message .wrapper .details {
   flex: 1;
 }
 .chatAI .content .messages .message .wrapper .details .date {
   font-weight: 600;
   padding: 0 5%;
   color: #1a0808;
   text-transform: lowercase;
 }
 .chatAI .content .messages .message .wrapper .details .text {
   padding: 0% 5%;
   width: 90%;
   color: #170708;
   line-height: 1.15;
   white-space: pre-wrap;
   word-break: break-word;
 }
.chatAI .content .messages .message.assistant {
   background-color: transparent;
 }
.chatAI .content .messages .message.cached{
   margin-top: 2%;
   margin-bottom: 2%;
}
 .chatAI .content .messages .message.assistant .wrapper .text .blink {
   animation: blink 1s infinite;
 }
 @keyframes blink {
   0% {
     opacity: 0;
   }
   50% {
     opacity: 1;
   }
   100% {
     opacity: 0;
   }
 }
 .chatAI .content .message-form {
   position: relative;
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   gap: 1%;
 }
 .chatAI .content .message-form .chatTextInput {
   flex: 1;
   height: 100%;
   padding: 1.2% 3%;
   border: none;
   outline: 0;
   font-family:'pixellarimedium';
   font-size: 1.45rem;
   color: #130606;
   background-color: transparent;
   box-sizing: border-box;
   resize: none;
   overflow-y: auto;
   scrollbar-width: none;
   -ms-overflow-style: none;
   line-height: 1.1;
   white-space: pre-wrap;
   word-break: break-word;
 }
 .chatAI .content .message-form .chatTextInput::-webkit-scrollbar {
   width: 0;
   height: 0;
 }
 .chatAI .content .message-form .chatTextInput::placeholder {
   color: #4a3d3d;
 }
 .chatAI .content .message-form button {
   position: relative;
   width: 10%;
   min-width: 10%;
   margin-top: 2%;
   appearance: none;
   border: none;
   padding: 0;
   background-color: transparent;
   cursor: pointer;
   transition: color .2s ease;
 }
 .chatAI .content .message-form button img {
   display: block;
   width: 100%;
   height: auto;
 }
/*-- Form Wrapper -- */
.clearfix:after { content: "."; visibility: hidden; display: block; clear: both;}

