@import url("https://fonts.googleapis.com/css?family=JetBrains+Mono:400,700");

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  min-height: 100vh;
  margin: 0;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 700px;
  margin: 0 auto; /* Center the container */
  padding-bottom: 60px; /* Adjust padding for the footer height */
}

#site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d9d9d9;
  padding: 1em 0em;
}

.logo {
  cursor: pointer;
  letter-spacing: 0.8px;
  font-size: 1.5em;
  font-weight: 300;
}
.logo span {
  font-weight: 700;
}
.logo a {
  color: #000;
  text-decoration: none;
}

#discord-btn {
  background-color: #7289da; /* Discord color */
  font-size: 0.8em;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#discord-btn:hover {
  background-color: #5865f2;
}

#title-generator {
  margin: 3em 0em;
}

h2 {
  letter-spacing: 0.8px;
  font-size: 1.2em;
  font-weight: 300;
  margin: 0.5em 0em;
}

.input-line {
  display: flex;
  align-items: center;
}

input[type="text"] {
  background-color: #fff;
  border: 1px solid #777;
  color: #777;
  font-size: 1em;
  margin: 0.5em 0em;
  padding: 0.5em;
  width: 100%;
}

input[type="text"]:hover {
  border-color: #aaa;
  color: #aaa;
}

input[type="text"]:focus {
  border-color: #000;
}

input[type="text"]:not(:placeholder-shown) {
  color: #000;
}

.checkbox-container {
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tag {
  display: inline-flex;
  align-items: center;
  background-color: #f1f1f1;
  padding: 4px 8px;
  margin: 4px;
  /* border-radius: 4px; */
}

.tag-text {
  margin-right: 4px;
}

.tag-remove {
  cursor: pointer;
}

.tag.dragged {
  opacity: 0.4;
}

.tag.over {
  border-bottom: 2px dashed gray;
}

#title-Output {
  min-height: 32px;
  padding-top: 16px;
  font-family: Helvetica, Arial, sans-serif;
  color: blue;
}
#errors-container {
  min-height: 128px;
  line-height: normal;
  color: red;
}
#errors-container p {
  padding: 0;
  margin: 5px 0px;
}

#title-rules {
  font-size: 0.9em;
  line-height: 1em;
  margin: 3em 0em;
}

h3 {
  font-size: 1.1em;
  font-weight: 300;
  margin: 2em 0em;
  padding: 0.5em;
  border: 1px solid;
  background-color: #f3f3f3;
}

.rule-invalid {
  color: red;
}

#site-footer {
  margin-top: auto; /* Push the footer to the bottom */
  font-size: 0.8em;
}
