/* Reset and general styles */
body, h1, h2, h3, p {
	margin: 0;
	padding: 0;
	font-family: "Arial", sans-serif;
}

body {
	background-color: #f8f8f8;
	color: #333;
}

a {
	text-decoration: none;
	color: #007bff;
}

   @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");
      *,
      *::before,
      *::after {
          box-sizing: border-box;
          line-height: 1.5em;
      }

      html {
          font-size: 16px;
          scroll-behavior: smooth;
          -webkit-text-size-adjust: 100%;
      }

      body {
          margin: 0;
          font-family: "Open Sans", sans-serif;
          background-color: #f7f7f7;
      }

      header {
          background-color: #ffffff;
          box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1);
          padding: 10px 20px;
      }
      header .wrapper {
          max-width: 1000px;
          margin: 0 auto;
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          justify-content: space-between;
      }
      header .logo {
          width: 13rem;
          display: flex;
      }
      header .logo img {
          width: 50px;
          display: block;
      }

      .navbar {
          position: fixed;
          top: 0;
          left: 100%;
          margin: 0;
          width: 100%;
          height: 100%;
          background-color: white;
          padding: 20px;
          transition: left 0.3s;
      }

      .navbar.show {
          left: 0 !important;
      }

      .hide-scroll {
          overflow: hidden;
      }

      .navbar ul {
          all: unset;
          list-style-type: none;
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 25px;
      }
      .navbar ul a {
          all: unset;
          color: #444444;
          text-transform: uppercase;
          cursor: pointer;
          font-weight: bold;
          font-size: 28px;
      }
      .navbar ul a:hover {
          color: #111111;
          text-decoration: underline overline;
          text-decoration-thickness: 3px;
      }

      .close-nav {
          text-align: right;
          margin-bottom: 20px;
      }
      .close-nav button {
          all: unset;
          background: #f7f7f7;
          font-size: 42px;
          cursor: pointer;
          border: 1px solid rgba(0, 0, 0, 0.2);
          padding: 15px;
          border-radius: 3px;
          color: #444444;
      }
      .close-nav button:hover {
          color: #222222;
          background: white;
      }

      .menu-bar button {
          border: 1px solid rgba(0, 0, 0, 0.1);
          background: #f7f7f7;
          height: 50px;
          width: 50px;
          padding: 5px 10px;
          cursor: pointer;
          border-radius: 3px;
      }
      .menu-bar i {
          display: block;
          border-top: 3px solid #444444;
          border-bottom: 3px solid #444444;
      }
      .menu-bar i::after {
          display: block;
          content: "";
          border-top: 3px solid #444444;
          margin: 6px 0;
      }
      .menu-bar button:hover {
          background: white;
      }
      .menu-bar button:hover i {
          border-color: #222222;
      }

      @media (min-width: 550px) {
          .navbar {
              all: unset;
              display: block;
          }
          .navbar ul {
              flex-direction: row;
              gap: 20px;
          }
          .navbar ul a {
              font-size: inherit;
          }
          .close-nav,
          .menu-bar {
              display: none;
          }
      }
/* About Us Page styles */
.tw-about-us {
	padding: 2rem;
	background-color: #f9f9f9;
	color: #333;
}

.tw-about-us h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.tw-about-us h2 {
	font-size: 1.5rem;
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.tw-about-us p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

#word-counter {
    text-align: center;
      max-width: 510px;
      height: 500px;
      margin: 50px auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 5px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

textarea {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    resize: none;
}

span {
    font-weight: bold;
    color: #333;
    margin-left: 5px;
}

  .container {
      text-align: center;
      max-width: 510px;
      margin: 0 auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 5px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Style the heading */
  h1 {
      color: #333;
      margin-bottom: 20px;
  }
  
  /* Style the input and button */
  input[type="text"], input[type="number"], select, button {
      width: 100%;
      padding: 8px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
  }
  
  /* Style the color picker */
  input[type="color"] {
      width: 30px;
      height: 30px;
      vertical-align: middle;
  }
  
  /* Style the size options */
  .size-options {
      text-align: left;
      margin-bottom: 20px;
  }
  
  /* Style the QR code container */
  #qrCode {
      margin-top: 20px;
      display: flex;
      justify-content: center;
  }
  
  /* Style the download button */
  #downloadBtn {
      background-color: #007BFF;
      color: #fff;
      border: none;
      padding: 10px 20px;
      cursor: pointer;
      font-size: 16px;
      border-radius: 4px;
      margin-top: 20px;
  }
  
  #downloadBtn[disabled] {
      background-color: #ccc;
      cursor: not-allowed;
  }
  #text {
      font-size: 16px;
      margin: 1rem;
  }
 /* Footer styles */
  .tw-footer {
	padding: 2rem;
	background-color: #333;
	color: #fff;
  }
  
  /* Footer info styles */
  .tw-footer .tw-footer-info p {
	margin-bottom: 1rem;
  }
  
  /* Footer links styles */
  .tw-footer .tw-footer-links ul {
	list-style: none;
	display: flex;
	justify-content: center;
	padding-right: 23px;
  }
  
  .tw-footer .tw-footer-links ul li {
	margin: 0 1rem;
  }
  
  .tw-footer .tw-footer-links ul li a {
	color: #fff;
  }
  /* Custom size options */
  #custom-size {
      display: none;
  }
  
  /* Media query for custom size options on smaller screens */
  @media screen and (max-width: 768px) {
      #custom-size {
          display: block;
      }
  }
  
  /* Media query for adjusting container width on smaller screens */
  @media screen and (max-width: 500px) {
      .container {
          max-width: 90%;
      }
  }
  