@font-face {
  font-family: teko;
  src: url(../Fonts/static/Teko-Regular.ttf);
}

.noteEditor {
   position: fixed; 
  z-index: 999999;
  background: var(--main-color);
  transition: opacity 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.noteEditor::-webkit-scrollbar {
  display: none;
}

body::-webkit-scrollbar {
  display: none;
}

.hideEditorBtn {
  cursor: pointer;
  font-weight: bold;
  font-size: 22px;
}

.editorHeader {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  padding: 0 20px;
  background: var(--main-color);
  color: var(--text-color);
  z-index: 999999;
}

.editorHeader > div:nth-child(2) {
  display: flex;
  justify-content: space-between;
  width: 15%;
}

.C-Ldate {
  opacity: 0.6;
  font-size: 11px;
}

.inputHead {
  padding: 40px 30px 0 20px;
  position: fixed;
  right: 0;
  left: 0;
  top: 20px;
  background: var(--main-color);
  z-index: 99999;
}

.inputHead > div:first-child {
  height: 25px;
  margin-bottom: 15px;
}

.inputHead > div:nth-child(2) {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  color: var(--text-color);
  /* border-bottom: 1px solid var(--text-color); */
  padding-bottom: 25px;
  padding-left: 2px;
  font-weight: bold;
}

.inputHeadText {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-color);
  outline: none;
}

.inputHeadText::placeholder {
  color: var(--text-color);
}

.inputNoteDiv {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  height: 100%;
}

/*FIXME*/
.inputNote {
  /*width: calc(100% - 70px);*/
  width: 100%;
  outline: none;
  font-size: 13px;
  background: var(--main-color);
  border: none;
  color: var(--text-color);
  height: 100%;
  transform: translateX(-3px);
  word-break: break-all;
  overflow: auto;
  padding-bottom: 150px;
  position: relative;
  padding-right: 15px;
  padding-left: 21px;
  color: rgb(208, 193, 193);
  margin-top: 15px;
  text-align: left;
}


.inputNote::-webkit-scrollbar {
  background: transparent;
  cursor: pointer;
  width: 7px;
}

.inputNote::-webkit-scrollbar-thumb {
  background: var(--sec-color);
  cursor: pointer;
  border-radius: 5px;
}
.inputNote hr {
  outline: none;
  border: none;
  height: 2px;
  background: var(--sec-color);
}

.inputNote h1 {
  font-size: 1.5rem;
}
.inputNote a {
  cursor: pointer;
}
.keyboardBtn {
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  border: none;
}

.kbIcon {
  font-size: 25px;
}

.editorBottomBar {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--sec-color);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.editorBottomBar div {
  display: flex;
  justify-content: space-between;
  width: 300px;
}


/*FIXME*/
.absTextFormat {
  position: fixed;
  background: var(--sec-color);
  z-index: 99999;
  top: 130px;
  display: flex;
  width: 100%;
  justify-content: center;
  padding-left: 5px;
}

.absTextFormat > div {
  position: relative;
  width: 100%;
  padding: 5px 0 5px 0;
}

.absTextFormatChild {
  border-radius: 2px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  border-radius: 5px;
  width: 100%;
  gap: 5px;
  flex-wrap: wrap;
  height: 45px;
  overflow: hidden;
  transition: height 0.2s;
}

.absTextFormatChild::-webkit-scrollbar {
  background: transparent;
  display: none;
  height: 0;
}

.absTextFormatChild::-webkit-scrollbar-thumb {
  background: transparent;
  position: relative;
  border-bottom: 6px solid rgb(217, 28, 217);
}

.absTextFormatChild button {
  width: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-family: teko,Arial;
  font-size: 15px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  position: relative;
  outline: none;
}
.absTextFormatChild button img {
  width: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.absTextFormatChild button:hover {
  background: rgba(0, 0, 0, 0.3);
}

.absTextFormatChild .italic {
  font-family: serif;
}
.absTextFormatChild .linethrough {
  text-decoration: line-through;
}
.absTextFormatChild .undo {
  transform: rotateY(-180deg);
  position: initial;
}


/*FIXME*/
.headMenu,
.alignMenu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.absTextFormat .headers_key:hover,.absTextFormat .align-key:hover{
  background: rgba(255, 255, 255, 0.3);
}
.align-key{
  display: flex;
  align-items: center;
  justify-content: center;
}
.align-key .bi-list{
  margin-top: 3.5px;
}
.absTextFormat .headMenuChild,
.absTextFormat .alignMenuChild {
  overflow: hidden;
  width: 0;
  display: flex;
  align-items: center;
  transition: width 0.2s;

}
.absTextFormat .headMenuChild button{
  color: white;
}

.headMenu:hover .chevHead {
  opacity: 0;
}

.headMenu:hover .headMenuChild,
.alignMenu:hover .alignMenuChild {
  width: 130px;
}

.alignMenu:hover .chevAlign {
  opacity: 0;
}


.chevHead,
.chevAlign {
  transform: rotateZ(180deg);
  position: absolute;
  top: 16px;
  font-weight: bold;
  left: 27px;
  transition: opacity 0.3s;
  font-size: 7px;
  color: black;
}
.chevAlign {
  top: 15px;
}

.absTextFormat .numLImg {
  width: 18px;
}
.chevDown {
  transform: rotateZ(-90deg);
  transition: all 0.3s;
}
.expandToolsMenu {
  position: absolute;
  height: 40px;
  width: 40px;
  display: flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  right: -14px;
  border: none;
  cursor: pointer;
  top: 60px;
  font-weight: bold;
  background: var(--sec-color);
  opacity: 0.6;
  /* transition: right 0.2s, top 0.2s; */
  transition:  right 3s ,opacity 3s;
}
.expandToolsMenu:hover{
  right: 10px;
  opacity: 1;
  transition: right 0.3s;
}

.absTextFormatChild .insertLink,
.absTextFormat .insertLink2 {
  font-weight: bolder;
  font-size: 13px;
  transform: rotateZ(-50deg);
  position: relative;
}
.absTextFormatChild .insertLink2::before {
  content: "/";
  position: absolute;
  
}

.centerText {
  text-align: center;
}
.textAlignLeft {
  text-align: left;
}


.inputNote ul, .inputNote ol{
  list-style-position: inside;
}
.absTextFormatChild .toolIsActive{
  background: rgba(0, 0, 0, 0.3);
}