/* Reset and general styles */
body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Arial", sans-serif;
  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;
          }
      }

/* Body styles */
/* Center the container */
/*.Center the container */
.container {
    text-align: center;
    max-width: 550px;
    margin: 50px 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;
}
/* Custom size options */
#custom-size {
    display: none;
}

 /* 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;
  }

/* 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%;
    }
}








/* Popup styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none; /* Hidden by default */
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 80%;
    max-width: 400px;
}

.popup-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.popup-content button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content button:hover {
    background-color: #0056b3;
}

