* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
/* :root{
  --textcolor:white;

} */

body {
  /* overflow-x: hidden; */
  transition: all 1.5s;
}

/* @media (max-width: 250px) {
  label span {
    display: none;
  }
  label #themeToggle {
    border-radius: 50%;
  }
} */
button {
  border: none;
  outline: none;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  z-index: 5;
}
button:active,button:hover,button:focus{
  box-shadow: 0px 0px 4px black;
  scale: 0.97;
}
a {
  text-decoration: none;
  color: inherit;
  background-color: inherit;
}

/* ----------scroll bar --------------------- */
::-webkit-scrollbar {
  /* width: 8px; */
  display: none;
}
::-webkit-scrollbar-thumb {
  /* background: linear-gradient(rgba(119, 190, 252, 0.262), rgba(255, 30, 150, 0.238));
   */
  background: rgb(3, 3, 3);
  border-radius: 2px;
}
::-webkit-scrollbar-track {
  background-color: rgba(124, 124, 124, 0.63);
}

/* .containe{
    height: 100vh;
    width: 100vw;
    padding:10px 20px;
    display: flex;
    align-items: center;
    justify-self: center;
    background:linear-gradient(rgb(62, 61, 61),rgb(176, 176, 176));
} */
.homepage {
  height: 100vh;
  width: 100%;
  margin: 0px;
  display: flex;
  flex-direction: column;
  /* overflow-x:hidden; */
  /* align-items: flex-start; */
  justify-content: flex-end;
  border: none;
}

.lightTheme {
  background-color: rgba(192, 192, 192, 0.678);
  color: #2a2929;
}
.darkTheme {
  background-color: #4a4a4a;
  color: rgb(242, 242, 242);
}

.label {
  font-size: 1.5rem;
  width: 100%;
  font-family: Kdam Thmor Pro;
  padding: 4px 8px;
  background-color: rgba(3, 3, 3, 0.870);
  color: rgb(255, 255, 255);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.label button {
  padding: 3px;
  margin: 2px 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.label i {
  color: white;
  font-size: 1.5rem;
}
.emptybox {
  padding: 15px;
  height: auto;
  width: auto;
  background: rgba(137, 43, 226, 0.378);
  border-radius: 10px;
  border: none;

  /* position: absolute;
  top:40%;
  left: 35%; */
}
/* -----------------new create page------------ */
.textdiv {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  background: rgb(82, 207, 211, 0.2);
  align-items: center;
  justify-content: center;
}

.newpagebtn {
  position: absolute;
  bottom: 70px;
  right: 30px;
}
.newpagebtn button {
  margin-left: 10px;
}

.textArea {
  width: 95%;
  height: 80%;
  padding: 10px 20px;
  padding-top: 40px;
  margin: 0px;
  word-wrap: break-word;
  border: none;
  font-size: 1.4rem;
  outline: invert;
  font-family: "Courier New", Courier, monospace, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  resize: none; /*to make size fix*/
}

.itemsArea {
  font-size: 1.4rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 95px;
  overflow: scroll;
}

.items {
  width: 80%;
  height: 100px;
  padding: 10px 20px;
  margin-bottom: 8px;
  flex-shrink: 0;
  background: rgba(240, 230, 140, 0.541);
  /* border:2px solid red; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.itemname {
  border-bottom: 2px solid black;
  padding: 5px;
  /* border-radius: 0px; */
}
.items .right {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
}
.editdeletebtn {
  margin: 1px 10px;
}

/*----------------btns-------------------- */

.addBtn,
.saveBtn,
.cancelBtn,
.editBtn,
.deleteBtn {
  height: 30px;
  width: 30px;
  /* font-family: monospace; */
  color: rgba(255, 255, 255, 0.822);
  padding: 8px ;
  margin: .2rem;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.808);
  box-shadow: 0px 0px 2px rgb(255, 255, 255,.3);
  /* position:relative; */
}
.cancelBtn,
.addBtn,
.deleteBtn {
  font-size: 18px;
}

#addBtn {
  position: fixed;
  bottom: 2%;
  left: 2%;
  /* font-size: 1.5rem; */
  scale: 1.5;
  box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.392);
}

/* -------------------SAVE PAGE----------------------- */
/* .savepage{
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255, 255, 255);
} */
.savefield {
  height: 100vh;
  width: 100vw;
  border-radius: 6px;
  background: rgba(63, 63, 63, 0.767);
  font-size: 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.savefield label {
  font-size: 1.2rem;
  color: #2b2b2b;
  font-family: "Font Awesome 6 Brands";
  word-spacing: 5px;
  margin: 5px;
}
.savefield input {
  font-size: 1.1rem;
  font-family: fantasy;
  word-spacing: 5px;
  letter-spacing: 1px;
  color: #4a4a4a;
  padding: 8px 15px;
  width: 80%;
  border: none;
  border-radius: 5px;
  outline: none;
  margin: 10px;
}
.savepagebtn {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
}
.savefield button {
  font-size: 1rem;
  padding: 7px 15px;
  font-family: math;
  background: rgb(0,0, 0,8);
  color: rgba(255, 255, 255, 0.829);
  margin-top: 20px;
}
.alldeletebtn {
  position: fixed;
  top: 10%;
  right: 2%;
  font-size: 1.2rem;
  height: 30px;
  width: 30px;
  padding: .4rem .8rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.842);
  color: rgba(255, 255, 255, 0.815);
}

@media (min-width: 900px) {
  .newpagebtn {
    position: absolute;
    display: flex;
    bottom: 70px;
    right: 40px;
  }
}
