body {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  color: #ffffff;
  background-color: #101010;
  max-width: 100%;
}
*{
  overflow-x: hidden;
}
* :focus{
  outline: none;
}
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar{
  background: #0f0f0f;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #212121;
}
:root {
  scroll-behavior: smooth;
}
header {
  width: 100%;
  text-align: center;
  background-color: #540AAD;
  padding: 10px;
  font-size: 24px;
}

.category-container {
  width: 100%;
  text-align: center;
  margin: 0px 0px 20px 0px;
  max-width: 90%;
  background: linear-gradient(to bottom, rgb(122, 91, 197, 0.5), rgba(122, 91, 197, 0.05), rgba(128, 128, 128, 0));
  border-radius: 5px;
}

.category-line {
  width: 100%;
  margin: 5px 0;
  font-size: 40px;
  font-weight: bold;
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

.character-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  line-height: normal;
  margin: 10px;
  cursor: pointer;
  background-color: #252526;
  border: 4px solid #7d63ff;
  border-radius: 14px;
  transition-duration: 1s;
  min-width: 40px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.character-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 10px #000000;
  scale: 1.3;
  background-color: #252638;
}

.character {
  font-size: 14px;
  margin-bottom: 5px;
  cursor: pointer;
  text-align: center;
  height:25px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.copy-button {
  display: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

#header {
  color: #ffffff;
  font-size: 20px;
  position: fixed;
  width: 100%;
  background-attachment: scroll;
  background-color: #101010;
  z-index: 10000;
  font-family: Arial, Helvetica, sans-serif;
}

#header h1 {
  margin: 15px 15px 15px 20px;
}

#side {
  background-color: #101010;
  position: fixed;
  top: 75px;
  bottom: 107px;
  width: 250px;
  height: 100%;
  text-align: center;
  transition: padding-top 0.3s;
  transition: right 0.5s ease;
  overflow-y: auto;
  border-width: 2px 0px 0px 0px;
  border-color: #0b0b0b;
  border-style: solid;
  z-index: 10000;
}
#side button{
  color: #ffffff;
  display: inline-block;
  flex-direction: column;
  align-items: left;
  line-height: normal;
  text-align: left;
  cursor: pointer;
  padding: 0px 0px 0px 30px;
  border: none;
  background-color: #00000000;
  transition-duration: 1s;
  transition-timing-function: ease;
  width:100%;
  z-index: 10000;
}
#side button:hover{
  background-color: #252638;
}
#side a {
  display: block;
  text-decoration: none;
  color: white;
  position: relative;
  z-index: 9000;
}

#toggleSideButton {
  display: block;
  position: fixed;
  right: 10px;
  top: 10px;
  background-color: transparent;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: right 0.5s ease;
  z-index: 1000;
  font-size: 20px;
}

#toggleSideButton:hover {
  background-color: transparent;
}

#charactersGrid {
  margin-left: 0;
  transition: margin-left 0.5s ease;
}
#background{
  border-radius: 40px 0px 0px 0px;
  position: fixed;
  top: 75px;
  left:250px;
  width: 100%;
  height: 100%;
  background-color: #1A1919;
  z-index: -10;
}

@media screen and (min-width: 601px) {
  #side {
    left: 0;
  }

  #toggleSideButton {
    display: none;
  }

  #charactersGrid {
    margin: 0px 0px 0px 250px;
  }
}

@media screen and (max-width: 600px) {
  #side {
    right: -100%;
    width: 100%;
  }

  #toggleSideButton {
    right: 20px;
  }

  #charactersGrid {
    margin-left: 0;
  }
  #background{
    display: none;
  }
  body{
    background-color: #1A1919;
  }
  #notes{
    scale: 0.8;
  }
  #notify{
    font-size: 10px !important;
  }
  .stt{
    left: 10px !important;
  }
}
#scrollBar {
  height: 100%;
  width: 4px;
  top: 70px;
  position: fixed;
  left: 0;
  z-index: 9000;
}

#scrollIndicator {
  width: 2px;
  background-color: #7d63ff;
  transition: height 0.5s ease;
  position: fixed;
  top: 70px;
  left: 0;
  height: 0;
  box-shadow: 0 5px 70px 5px rgba(125, 99, 255, 0.5);
}

footer {
  background-color: #0c0c0c;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}
a{
  color: #ffffff;
  text-decoration: none;
}

.stt {
  position: fixed;
  left: 170px;
  bottom: 10px;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: rgb(128, 128, 255) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='White' d='M352 352c-8.188 0-16.38-3.125-22.62-9.375L192 205.3l-137.4 137.4c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0l160 160c12.5 12.5 12.5 32.75 0 45.25C368.4 348.9 360.2 352 352 352z'%3E%3C/path%3E%3C/svg%3E") center no-repeat;
  opacity: 0.9;
  z-index: 2000;
}

.stt:hover {
  opacity: 0.8;
}

.stt:focus {
  opacity: 0.9;
}

.stt:active {
  opacity: 1;
}
#notes {
  display: flex;
  justify-content: flex-start;
  width: 400px;
  flex-direction: row;
  align-items: flex-start;
  background-color: #101010;
  padding: 10px;
  border-radius: 10px;
  margin: 0px 0px 20px 0px;
  flex-wrap: wrap;
  font-size: 20px;
  z-index: 1000;
}
#right {
  margin: 0px 0px 0px 240px;
  display:flex;
  padding: 0px 0px 5px 0px;
}
textarea {
  resize: none;
  padding: 5px;
  width: 390px;
  font-size: 30px;
  margin:20px;
  background-color: #101010;
  border: none;
  color: #ffffff;
  margin: 0px;
  border-top: 1px solid #000000;
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}
button:hover{
  cursor: pointer;
}
::selection {
  background-color: #7d63ff;
}
#notify{
  background-color: #090909;
  position: fixed;
  bottom: 30px;
  right: -200px;
  padding: 20px 20px 20px 20px;
  z-index: 10000;
  font-size: 20px;
  border-radius: 15px;
  transition-duration: 1s;
  opacity: 0;
}
#Wyróżnione{
  background: linear-gradient(to bottom, rgb(255, 50, 50, 0.5), rgba(128, 128, 128, 0));
}
