@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
html {
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.BG {
  background: rgb(0, 115, 204);
  background-size: cover;
}
.Root {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.Window {
  min-width: 250px;
  max-width: 600px;
  position: absolute;
  display: block;
  border: 4px solid #000;
  width: fit-content;
  border-radius: 25px;
  z-index: 0;
  padding: 15px;
  background-color: rgb(0, 115, 204);
  min-height: 200px;
  max-height: 50%;
  overflow-y: hidden;
  overflow-x: hidden;
}
.header {
  display: flex;
  justify-content: space-between;
}
.sep {
  margin: 0 -15px;
  padding: 0;
  border: none; /* removes default line */
  height: 3px; /* your custom line thickness */
  background: #000;
}
.title {
  margin: 0px;
  padding-top: 0px;
}
.closeBtn {
  font-size: 14px;
  padding: 4px 10px;
  display: inline-block;
  margin: 0;
  cursor: pointer;
}

.TopBar {
  display: flex;
  position: fixed;
  justify-content: space-between;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.5);
  color: lightblue;
  bottom: 0%;
  left: 0%;
  width: 100%;
  z-index: 9999;
  padding: 10px;
}
.time {
  margin-left: 25px;
  padding-right: 25px;
}
.appBar {
  display: flex;
  flex: 1;
  justify-content: space-evenly;
  align-items: center;
}
.app {
  cursor: pointer;
  width: 50px;
  height: 50px;
}
#welcome {
  display: block;
}
.format {
  background-color: #00b3ff;
  color: #ffffff;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 10px;
  border: 2px solid #000000;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.format:hover {
  background-color: #0098d9;
}
.write {
  overflow-y: auto;
  max-height: 140px;
}

#blog {
  max-height: 500px;
}

.post {
  padding: 5px 10px;
}

.post .title {
  margin: 5px 10px;
  margin-left: -9px;
  margin-bottom: -15px;
  font-size: 75px;
  font-weight: bolder;
  letter-spacing: 4px 5px;
  font-family: "Bebas Neue", "Apple Chancery", serif;
  color: #faf8f6;
}
.post .date {
  font-size: small;
  margin-left: 3% 5px;
  color: lightgray;
  font-weight: bold;
}
.post .sep {
  margin: 2px -1px;
  margin-left: -10px;
  width: 75%;
  margin-bottom: 10px;
}
.post .top {
  margin-left: -10px;
}
.page {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 10px;
}

.page .bold {
  font-weight: bolder;
  color: #faf8f6;
}

.changeblog {
  display: inline-flex;
  justify-content: space-between;
  gap: 10px;
  margin-right: -10px;
  width: 100%;
}
.changeblog button {
  background-color: rgb(0, 145, 255);
  box-shadow: none;
  border: 2px solid #000000;
  font-weight: bold;
  color: #faf8f6;
}
#ai {
  overflow-y: scroll;
  box-sizing: border-box;
  width: 700px;
}
.message {
  background-color: rgb(0, 145, 255);
  width: fit-content;
  padding: 5px;
  margin-top: 5px;
  border: 1px solid black;
  border-radius: 5px;
  min-width: 25%;
  max-width: 80%;
}
.message .header {
  font-weight: bolder;
}
.message .text {
  padding-left: 5px;
}
.message .sep {
  width: 50px;
  margin-left: 0px;
}
.askme {
  width: 100%;
}
.askme input {
  width: 89%;
  border: 1px solid black;
}
.askme button {
  width: 8%;
  background-color: #00b4e0;
  color: #ffffff;
  border-radius: 9px;
  font-size: 16px;
  border: 2px solid #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.askme button:hover {
  background-color: #0099be;
}
.loading {
  justify-content: center;
  translate: 35% 300%;
}
.loading header {
  translate: 7%;
}
.loader {
  width: 300px;
  height: 20px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
}
.loading #bar {
  height: 100%;
  width: 0%;
  background: #0099be;
  transition: width 0.2s ease;
}

.bar {
  border: 2px solid black;
  border-radius: 10px;
  background-color: #007eed;
  padding: 5px;
  width: 500px;
  margin-left: -5%;
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-self: center;
  justify-self: center;
  margin-right: -5%;
}
.bar * {
  border: none;
  background-color: inherit;
  color: #ffffff;
  display: inherit;
}
.bar input {
  width: 70%;
}
.bar input::placeholder {
  color: whitesmoke;
}
.bar .searchbtn {
  color: white;
  border: 1px solid white;
  padding: inherit;
  border-radius: inherit;
}
