html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* theme  */

body {
  background-color: #f3f6f9;
  color: #1f1d14;
  font-size: 1rem;
  line-height: 1.5;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
}

/* scrollBar start */

/* Define a CSS class for custom scrollbars */
.custom-scrollbar {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: #888 #f1f1f1;
  /* Firefox */
}

/* Webkit-based browsers (Chrome, Safari, Edge) */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  /* Adjust the width as needed */
}

/* Webkit-based browsers (Chrome, Safari, Edge) - Track */
.custom-scrollbar::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  /* Light gray background */
}

/* Webkit-based browsers (Chrome, Safari, Edge) - Handle */
.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #888;
  /* Gray handle */
  border-radius: 5px;
  /* Rounded corners */
}

/* Webkit-based browsers (Chrome, Safari, Edge) - Handle on hover */
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
  /* Darker gray handle on hover */
}

/* scrollBar End */
/* Load page on top start */
.fade-transition {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.fade-transition.active {
  opacity: 1;
}

/* Load page on top end */



.main {
  margin-top: .2em !important;
  margin-bottom: 3em !important;
}

p {
  margin-top: 0.5em;
}

.row {
  margin-top: .5em !important;
}

.row-min {
  margin-top: 0.2em !important;
}


.body-bg-low {
  background-color: #fdfdfe;
}

.box-bg {
  background-color: #fafbfd;
}

.box-bg-white {
  background-color: #fff;
}

.theme-border {
  border: 1px solid #edf0f3 !important;
}

.theme-border-white {
  border: 1px solid #fff !important;
}

.row-bg {
  background-color: #f3f6f9;
}

.row-bg-white {
  background-color: #fff;
}

/* Header */

.header-color {
  background-color: #f9bf06 !important;
  color: black !important;
}

.button-header {
  color: black !important;
}

.header-fixed {
  position: sticky;
  /* top: 0; */
  top: -1px;
  z-index: 1000;
}

.logo-color {
  color: #db3641 !important;
  border: #222;
  border-style: solid;
  padding: 5px;
  border-radius: 50px;
}

.sub-menu {
  margin-top: 16px !important;
  z-index: 1000;
}

.menu-style {
  /* padding: 6px 6px !important; */
  font-weight: 500 !important;
  font-size: 0.89rem !important;
}

/* not used */
.sub-menu-potition {
  position: fixed;
  top: 100px;
  /* Adjust the top value as needed */
  right: 48px;
  /* Adjust the right value as needed */
  z-index: 1000;
  /* Adjust the z-index as needed to ensure it's above other elements */
  background-color: #fff;
  /* Background color when the submenu is open */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  /* Add a shadow for a card-like effect */
}

.max-h {
  max-height: 300px;
  /* Adjust the maximum height as needed */
  overflow-y: auto;
}

.sub-r {
  border-radius: 0px !important;
}

.button-header:hover {
  background-color: #ffcd2f8a !important;
  color: #333 !important;
}

.button-header.active {
  background-color: #ffcd2f8a !important;
  color: #333 !important;
}

.button-primary {
  border: 1px solid rgb(245, 210, 76) !important;
  color: #434343 !important;
  background-color: transparent !important;
}

.button-primary:hover {
  background-color: #fec200 !important;
  border: 1px solid #97979754 !important;
  color: #1a2027 !important;
}

.button-secondary {
  background-color: #fec200 !important;
  border: 1px solid #97979754 !important;
  color: #1a2027 !important;
}

.button-secondary:hover {
  border: 1px solid rgb(245, 210, 76) !important;
  background-color: transparent !important;
  color: #434343 !important;
}

.text-input {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  transition: border-color 0.2s ease-in-out;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.text-dorop {
  /* background-color: #fff; */
  /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); */
  margin-left: 16px;
}

.text-input:hover {
  border-color: rgba(117, 117, 117, 0.38);
}

.text-input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.38);
}

.home-all-link.active {
  color: #ffffff !important;
}

.footer-bg {
  background-color: #13130CFC !important;
}

.primary-color {
  color: #f9bf06 !important;
}

.secondary-color {
  color: #13130CFC !important;
}

.copyr_bg {
  background-color: #ffcd2d;
  color: #000000;
  padding: 10px;

}

.copy-right {
  text-align: center;
}


.ads-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.add-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* theme */


/* Footer */
.footer {
  color: #ffffff;
}

.footer-section {
  margin-bottom: 22px;
  margin-left: 2em;
}

.ul {
  list-style: none;
}

.ul li {
  text-decoration: none;
  /* Remove the default underline */
  transition: color 0.3s, text-decoration-color 0.3s;
  /* Add a transition effect */
}

.ul li:hover {
  text-decoration: underline;
  /* Add underline on hover */
  text-decoration-color: #ffcd2d;
  /* Change the underline color on hover */
  color: #FF5722 !important;
  /* Change the text color on hover */
}

.ul a {
  color: white;
  text-decoration: none;
}

.footer-title {
  margin-bottom: 2px !important;
  font-size: 17px !important;
  color: #f9bf06;
}

.footer-list {
  list-style-type: none;
  padding: 0;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 5px;
}

.footer-link.active {
  border-bottom: 2px solid #f9bf06;
}

/* Manipulation */

/* Textboxes css */

.input-textarea {
  min-height: 3.2em;
  max-height: 11em;
  overflow-y: auto !important;
}

.input-textarea-style {
  min-height: 3.2em;
  max-height: 6em;
  padding: 12px !important;
}


.output-textarea {
  min-height: 15em;
  max-height: 15em;
  overflow-y: auto !important;
}

.vertical-textarea {
  min-height: 24.5em;
  max-height: auto !important;
}

.vertical-textarea-output {
  min-height: 25.6em;
  max-height: auto !important;
}

.input-vertical-textarea-indiv {
  min-height: 24.5em;
  max-height: 25.57em;
  overflow-y: auto !important;
}

.output-vertical-textarea-indiv {
  min-height: 25.57em;
  max-height: 25.57em;
  overflow-y: auto !important;
}

.output-single-auto {
  min-height: 18em;
  max-height: auto !important;
}

.output-single {
  min-height: 18em;
  max-height: 18em;
  overflow-y: auto !important;
}

/* Textboxes css */

/* CSS for the button */
.button-shadow {
  background-color: #ffcd2d !important;
  color: #000000 !important;
  border: none !important;
  padding: 5px 10px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  outline: none !important;
  transition: box-shadow 0.3s ease !important;
}

/* Default box-shadow when not hovered */
.button-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Box-shadow on hover */
.button-shadow:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}


.clear-button {
  position: absolute !important;
  right: 5px;
  top: -40px;
}

.copy-button {
  position: absolute !important;
  right: 40px;
  top: -40px;
}

.download-button {
  position: absolute !important;
  right: -10px;
  top: -37px;
}

.copy-content {
  background-color: #ffffff47;
  height: auto;
  padding: 0.4em;
}

.copy-content-style {
  background-color: #ffffff;
  height: auto;
  padding: 1em;

}

.stylefont {
  font-size: 18px;
}

.copy-inner {
  color: royalblue;
}

.Copied {
  color: #4caf50;
  font-size: 12px;
  border: #4caf5085 0.1px solid;
  border-radius: 15px;
  padding: 3px;
}

.copied-note {
  color: #100f0f;
  font-size: 12px;
  border: #4caf5085 0.1px solid;
  border-radius: 15px;
  padding: 3px;
}

.Copied-st {
  color: #4caf50;
  border: #4caf5085 0.1px solid;
  border-radius: 15px;
  padding: 4px;
}

.Copy {
  color: royalblue;
  border: #789aff 0.1px solid;
  border-radius: 15px;
  padding: 4px;
}


.border {
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.08);
  /* Add a shadow effect */
}

.buttons-case {
  display: flex;
  justify-content: center;
}

.swich {
  position: absolute !important;
  right: 0px;
  top: 10px;
}

.count-section {
  color: royalblue;
  font-size: 1.4em;
  padding-bottom: .5rem;
}

.count-section h3 {
  padding-left: 10px;
}

.error-message {
  color: #ed2626de;
}

.vscroll {
  overflow-y: hidden !important;
  /* Hide vertical scroll bars */
}

/* popup-- */
.popup {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

.popup-button {
  margin-top: 10px;
}

/* editor */
.ql-snow .ql-editor {
  min-height: 300px;
  /* Adjust the minimum height for the frame here */
}

.text-count {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  transition: border-color 0.2s ease-in-out;
  padding: 1.2em;
  box-shadow: 0px 2px 5px rgba(240, 179, 179, 0.1);
  background-color: #fff;
  font-size: 14px;
}

.word-count-mt {
  margin-top: 1.5em !important;
}

.color-text {
  color: royalblue;
}

/* Add this CSS to your stylesheet or style tag */
/* CSS for pagination buttons */
.pagination button {
  margin: 2px;
  padding: 2px 6px;
  font-size: 12px;
  border: aliceblue;
}

/* CSS for active pagination button */
.pagination button.active {
  background-color: #007bff;
  color: #fff;
}

.density-selector {
  margin: 2px;
  padding: 8px 8px;
  font-size: 12px;
  border: aliceblue;
}

/* CSS for active pagination button */
.density-selector.active {
  background-color: #444;
  color: #fff;
}

/* Media queries */
@media screen and (max-width: 600px) {
  /* Styles for small screens (max-width: 600px) */

  /* page */
  .count-section {
    padding-bottom: 15px;
    font-size: 1em;
  }

  .count-section h3 {
    padding-left: 0px;
  }

  .footer {
    padding: 10px;
  }

  .footer-section {
    margin-bottom: 10px;
  }

  .footer-title {
    margin-bottom: 1px;
    font-size: 17px;
  }

  .footer-link {
    margin-bottom: 3px;
  }

  .main {
    margin-bottom: 2em !important;
  }
}

@media screen and (max-width: 900px) {
  .word-count-mt {
    margin-top: 0px !important;
  }

  .footer-section {
    margin-bottom: 5px;
    margin-left: 0px;
  }
}