/* General body styling */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&display=swap');

* {
  cursor: url('./cursor_normal.png'), auto !important;
  font-family: 'Baloo 2';
  font-weight: 600;
}

body {
  margin: 0;
  padding: 0;
  color: #ffffff;
  background-image: url('./bg_blue_2.png');
  background-repeat: repeat;
  background-size: auto;
  animation: moveBackground 10s linear infinite;
  text-align: center;
  /* Center all text and images */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
}

@keyframes hideElement {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes showElement {
  to {
    transform: translateY(-100%);
    opacity: 0;
  }

  from {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 98px -100px;
  }
}

@keyframes moveBackground1 {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -98px 100px;
  }
}

@keyframes loader {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(0.8) rotate(90);
  }

  50% {
    transform: scale(1.2) rotate(180deg);
  }

  75% {
    transform: scale(0.8) rotate(270);
  }

  100% {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes loading2 {
  0% {
    content: '   ';
  }

  25% {
    content: '.  ';
  }

  50% {
    content: '.. ';
  }

  75% {
    content: '...';
  }

  100% {
    content: '   ';
  }
}

#loadingFont {
  margin-top: 5px;
  letter-spacing: 2px;
  width: 500px;
}

#loadingFont::after {
  content: '   ';
  animation: loading2 2s linear infinite forwards;
}

.loader {
  z-index: 6;
  width: 50px;
  height: 50px;
  animation: loader 2s linear infinite both;
}

textarea {
  cursor: url(./curson_insert.png), auto !important;
}

.loaderBackground {
  opacity: 0.9;
  display: none;
  /* Should be flex */
  justify-content: center;
  align-items: center;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  background-color: #252525;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
}

.content {
  z-index: 4;
  margin-top:150px;
  margin-bottom:150px;
  width: 75%;
  background-image: url('./background_dark.png');
  /* background-image: url('./imgs/panel-pattern.png'); */
  background-repeat: repeat;
  background-size: auto;
  animation: moveBackground 10s linear infinite;
  position: relative;
  height: auto;
  padding: 25px;
  border-radius: 50px;
  border: solid black 5px;
  outline: solid white 8px;
}

.content1 {
  z-index: 7;
  display: none;
  width: 90%;
  background-image: url('./background.png');
  background-repeat: repeat;
  animation: moveBackground1 15s linear infinite;
  position: fixed;
  min-height: 500px;
  height: 500px; /* Set a fixed height to enable scrolling */
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 15px;
  border: solid black 5px;
  outline: solid white 8px;
}
hr {
  height: 3px;
  background-color: white;
}
.exit {
  position: absolute;
  float: right;
  right: 2px;
  top: 2px;
  cursor: pointer;
  z-index: 51;
}

/* Filter options styling */
.filterOptions {
  width: 20px;
  height: 20px;
  border-radius: 5;
}

/* Input styling */
#userID {
  width: 750px;
  max-width: 1000px;
  height: 200px;
  resize: horizontal;
  padding: 5px;
  border-radius: 5px;
  font-size: 20px;
}

/* Button styling */
.optionsButton {
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 15px;
  min-width: 200px;
  border: solid 1px black;
  background-color: #00a2ff;
  border: none;
  cursor: pointer;
  width: auto;
}

.optionsButton:hover {
  background-color: #0078bd;
}

.barrier {
  opacity: 0.85;
  border-radius: 15px;
  width: 75%;
}
ul {
  list-style: none;
}

#root {
  text-align: center;
  place-content: center;
  place-self: center;
}
a {
  color: white;
  font-weight: bold;
  cursor: pointer;
  z-index: calc(inherit + 999);
}
a:hover {
  transform: scale(1.05);
}
