:root {
  --c1: #141823;
  --c2: #1f2430;
  --c3: #5a1e35;
  --c4: #803247;
  --c5: #de6382;
  --c6: #c3c5c9;
  --c7: #c2a5d4;
  --white: #D3D3D3;
}

html, body {
  font-family: fira code, Menlo, Courier !important;
  background-color: var(--c1);
  font-size: 14px;
  color: var(--white) !important;
  --height: 100%;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

summary{
  list-style: none;
}

summary::marker{
  display: none;
}
/* Default styles for the container */
.container {
  width: 100%; /* Default width for mobile */
}

.navbar-brand{
  margin: none;
}

.navbar-brand img {
  height: 5vh;
  /* Adjust logo size */
}


iframe {
  width: 100%;
  height: 500px;
}

input, input:focus {
  color: var(--white) !important;
  background-color: var(--c2) !important;
  font-size: 14px !important
}

/* For Chrome and other WebKit browsers */
input:-webkit-autofill {
  background-color: var(--c2) !important; /* Use !important to override */
  color: var(--white) !important;

}

/* For Firefox */
input:-moz-autofill {
  background-color: var(--c2) !important; /* Use !important to override */
  color: var(--white) !important;

}

h1 {
  color: var(--c5);
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}

a{
  text-decoration: none !important;
  color: white;
}
 a:hover, a:active, a:focus{
  color: white;
 }

b{
  color: var(--c5) !important;
}


h5{
  font-size: 16px;
  color: var(--c5)
}

.form-group {
  text-align: center;
  margin-bottom: 30px;
}

textarea {
  color: var(--white) !important;
  resize: none;
  /* Prevent resizing the textarea */
  font-size: 14px !important;
}

.tag-container, .new_tag_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  /* Spacing between items */
  justify-content: center;
}

.new_tag_container{
  justify-content: flex-start;
}

.list-item, .add, .new_tag {
  background-color: var(--c2);
  --border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: move;
  transition: background-color 0.3s, transform 0.2s;
}

.list-item:hover , .ghost{
  background-color: var(--c4);
  /* Light gray on hover */
}

.add{
  margin-top: 20px;
  width: 40px;
  height: auto;
  cursor: pointer;
}

.new_tag{
  margin-top: 20px;
  width: 100px;
  height: auto;
  cursor: text;
}

.highlight {
  background-color: var(--c4);
  /* Light blue highlight */
}

.drop-indicator {
  border: 2px dashed var(--c5);
  /* Bootstrap primary color */
  opacity: 0.7;
}

#output {
  padding: 10px;
  font-weight: bold;
}

#result {
  display: none;

}

.help{
  border-style: solid;
  border-radius: 10px;
  border-color: var(--c3);
}


.result{
  border-radius: 10px;
   border: 2px dashed var(--c5);
  padding: 20px;
}

.output,
.result {
  text-align: center;
}

.output{
  background-color: var(--c2);
  border-radius: 10px !important;

}


.input,
.input:focus {
  text-align: left;
  box-shadow: none;
  background-color: var(--c2);
  border-width: 0px;
  border-radius: 10px !important;
}

.input:focus {
  border-width: 1px;
  border-color: var(--c5) !important
}

.navbar {
  background-color: var(--c3);
  /* Dark background */
  padding: 30px 50px;
  font-size: 14px;
  
}

.navbar-nav .nav-link {
  color: white !important;
  /* White text for links */
  margin-left: 20px;
  /* Space between links */
}

.navbar-nav .nav-link:hover {
  color: #f8f9fa !important;
  /* Light grey hover effect */
}

.banner {
  background-image: url('https://via.placeholder.com/1920x300');
  /* Replace with your image URL */
  background-size: cover;
  background-position: center;
}

.button {
  padding: 5px 10px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  outline: none !important;
  color: white;
  background-color: var(--c4);
  border: none;
  border-radius: 5px;
  box-shadow: 0 5px var(--c3);
}

.button:active {
  background-color: var(--c5);
  box-shadow: 0 2px var(--c3);
  transform: translateY(4px);
}

html, body {
  height: 100%;
  margin: 0;
}

.wrapper {
  --min-height: 100%; /* Make wrapper take full height */
  position: relative;
  padding: 0px 0px;
  --padding-bottom: 75px;
}

.container {
  flex: 1; /* Allow content to grow */
}

.footer {
  background-color: #141823; /* Match the background color */
  color: #D3D3D3; /* Light gray for text */
  text-align: center;
  padding-bottom: 20px;
  
}

.social-media a {
  margin: 0 10px;
  color: #c96d8b; /* Social media link color */
}

.copy-box {
  display: flex;
  align-items: center; /* Center the button vertically */
  justify-content: center; /* Center horizontally */
  margin-top: 10px; /* Space between output and button */
}

.copy-box button {
  outline: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  background-color: var(--c3); /* Use the same background color */
  color: var(--white);
}

.copy-box button svg {
  margin-right: 5px; /* Space between icon and text */
  fill: var(--white); /* Icon color */
}

.list-item {
  background-color: var(--c2);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: move;
  transition: background-color 0.3s;
}

.list-item:hover {
  background-color: var(--c4);
}

.sortable-ghost {
  opacity: 0.5; /* Semi-transparent */
  position: fixed; /* Fixed to viewport */
  z-index: 9999; /* Stay on top */
}

.dragging {
  background-color: var(--c5);
}

.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 60px; /* Reduced size */
  height: 60px; /* Reduced size */
}

.lds-ellipsis div {
  position: absolute;
  top: 20px; /* Adjusted for the new size */
  width: 10px; /* Reduced size */
  height: 10px; /* Reduced size */
  border-radius: 50%;
  background: currentColor;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px; /* Adjusted for new size */
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px; /* Adjusted for new size */
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px; /* Adjusted for new size */
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 46px; /* Adjusted for new size */
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(16px, 0); /* Adjusted for new size */
  }
}

.flex-container {
  display: flex;               /* Use flexbox for the layout */
  align-items: center;        /* Center items vertically */
}


.logo {
 width: 70px;
  height: auto;               /* Maintain aspect ratio */
  display: block; 
  margin-right: 6px;               /* Ensure it's treated as a block element */
}

.text-container {
  display: flex;              /* Flexbox for text */
  flex-direction: column;     /* Stack text vertically */
}

.title {
  font-size: 16px;            /* Main title font size */
}

.version {
  font-size: 12px;            /* Version font size */
}

/* Media query for mobile devices (max-width 767px) */
@media (max-width: 767px) {
  .container {
      width: 90%; /* Slightly narrower width for mobile */
  }
  .navbar-brand img {
    height: 5vh;
    /* Adjust logo size */
  }
  
  .navbar{
    padding: 30px 30px;
  }
}

/* Media query for tablets (768px and above) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
      width: 85%; /* Width for tablets */
  }
  .navbar-brand img {
    height: 7vh;
    /* Adjust logo size */
  }
}

/* Media query for desktop devices (1025px and above) */
@media (min-width: 1025px) {
  .container {
      width: 75%; /* Width for desktops */
  }
  .navbar-brand img {
    height: 7vh;
    /* Adjust logo size */
  }
}
