*,
*::before,
*::after {
  font-size: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none;
  margin: 0;
}

.container,
.extra-text,
.header .header-wrapper,
.heading,
.form,
.font-card-wrapper {
  max-width: 1600px;
  width: 95%;
  margin: 0 auto;
}

.extra-text {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 5rem;
  font-family: "Tahoma", Geneva, Verdana, sans-serif;
}

 

.header .header-wrapper {
  height: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(28rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  grid-gap: 1rem;
  justify-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header .header-wrapper img {
  max-width: 430px;
}

@media screen and (max-width: 1024px) {
  .header .header-wrapper img {
    max-width: 430px;
  }
}

@media screen and (max-width: 425px) {
  .header .header-wrapper img {
    max-width: 181px;
  }
}

.main-hd {
  background: #f8ebe6;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(28rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  grid-gap: 1rem;
  margin-bottom: 2rem;
}

body {
  overflow-x: hidden;
}
@media screen and (max-width: 425px) {
  body {
    overflow-x: hidden;
  }
}
ul li {
  font-size: 16px;
}
.dis {
  margin-top: 26px;
}
.heading {
  color: #000000;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 300;
  font-family: "Tahoma", Geneva, Verdana, sans-serif;
  text-transform: uppercase;
}

.heading.df {
  position: relative;
  margin-top: 50px;
  font-family: bodoni;
  font-size: 2rem;
  color: #000;
  text-transform: unset;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  text-decoration: none;
}

@media screen and (max-width: 425px) {
  .heading.df {
    position: relative;
    margin-top: -17px;
    font-family: bodoni;
    font-size: 2rem;
    color: #000;
    text-transform: unset;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    text-decoration: none;
  }
}

.heading.df:hover {
  text-decoration: underline;
}

.footer {
  padding: 1rem;
  background: #f8ebe6;
  color: white;
  min-height: 10rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(28rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  grid-gap: 1rem;
  justify-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer .footer-wrapper {
  max-width: 40rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  font-size: 1.6rem;
  color: #000;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}

.footer .footer-wrapper .icon {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer .footer-wrapper a {
  font-size: 1.6rem;
  color: #000;
}

.footer .footer-link {
  color: black;
  display: inline-block;
  background: #ffffff;
  height: 5.5rem;
  width: 5.5rem;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transform: scale(1);
  transform: scale(1);
  margin: 0 2rem;
}

.footer .footer-link span {
  font-size: 3.4rem;
}

.left {
  width: 45%;
}

.right {
  width: 661px;
  margin-bottom: 134px;
  margin-left: 76px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.choosestyle {
  margin-top: 20px;
}
span {
  font-size: 13px;
}
@media screen and (max-width: 480px) {
  span {
    font-size: 10px;
  }
}
@media screen and (max-width: 480px) {
  .choosestyle {
    margin-left: 22px;
  }
}
.buttonf {
  display: inline-block;
  width: 123px;
  height: 50px;
  position: relative;
  border: none;
  background: #fff;
  text-overflow: ellipsis;
  color: #333;
  cursor: pointer;
  overflow: hidden;
  padding: 8px 9px;
  font-size: 22px;
  margin: 2px;
}
@media screen and (max-width: 480px) {
  .buttonf {
    display: inline-block;
    width: 119px;
    height: 50px;
    position: relative;
    border: none;
    background: #fff;
    text-overflow: ellipsis;
    color: #333;
    cursor: pointer;
    overflow: hidden;
    padding: 8px 9px;
    font-size: 18px;
    margin: 2px;
  }
}

.buttonf:active {
  background: #000000;
  color: #fff;
}
.buttonf:focus {
  background: #000000;
  color: #fff;
}

.button {
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 9px 4px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.button5 {
  border-radius: 5px;
  border: 2px solid gray;
}

.button5:focus {
  border: 1px solid #000000;
}

#Preview {
  display: flex;
  justify-content: center;
  font-size: 5rem;
  color: #000000;
  word-break: break-all;
  line-height: 1.6;
  padding-top: 120px;
  margin-top: 20px;
}
@media screen and (max-width: 480px) {
  #Preview {
    display: flex;
    justify-content: center;
    font-size: 5rem;
    color: #000000;
    word-break: break-all;
    line-height: 1.6;
    margin-top: 100px;
  }
}
#Preview {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* horizontal, vertical, blur, color */
}

#Previews {
  display: flex;
  justify-content: center;
  font-size: 5rem;
  color: #ffffff;
  word-break: break-all;
  line-height: 1.6;
  padding-left: 129px;
}
.output {
  background-repeat: no-repeat;
  background-size: cover;
  width: 480px;
  height: 480px;
  margin-left: 92px;
  position: sticky;
  top: 0px;
}
.cust {
  display: flex;
  width: 80%;
  height: 45px;
  font-size: 2rem;
}
.fon {
  width: 531px;
}
.colo {
  width: 558px;
}

.buy {
  background-color: #e96e7f; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}
#down {
  background-color: #e96e7f;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

.db {
  background-color: #e96e7f;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.bt {
  margin-top: 86px;
  margin-left: 868px;
}
.buy:hover {
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

@font-face {
  font-family: Addison;
  src: url("../font/Addison.otf");
}

@font-face {
  font-family: Arrow;
  src: url("../font/Arrow.otf");
}

@font-face {
  font-family: Bennett;
  src: url("../font/Bennett.ttf");
}

@font-face {
  font-family: Brooklyn;
  src: url("../font/Brooklyn.otf");
}

@font-face {
  font-family: Daisy;
  src: url("../font/Daisy.otf");
}

@font-face {
  font-family: Elizabeth;
  src: url("../font/Elizabeth.ttf");
}

@font-face {
  font-family: Emma;
  src: url("../font/Emma.ttf");
}

@font-face {
  font-family: Everly;
  src: url("../font/Everly.ttf");
}

@font-face {
  font-family: Grayson;
  src: url("../font/Grayson.otf");
}

@font-face {
  font-family: Grace;
  src: url("../font/Grace.ttf");
}

@font-face {
  font-family: Hayden;
  src: url("../font/Hayden.ttf");
}
@font-face {
  font-family: Isabella;
  src: url("../font/Isabella.otf");
}
@font-face {
  font-family: Jackson;
  src: url("../font/Jackson.otf");
}
@font-face {
  font-family: Kiss;
  src: url("../font/Kiss.ttf");
}
@font-face {
  font-family: KissHeart;
  src: url("../font/KissHeart.ttf");
}
@font-face {
  font-family: Liz;
  src: url("../font/Liz.ttf");
}
@font-face {
  font-family: Magnolia;
  src: url("../font/Magnolia.otf");
}
@font-face {
  font-family: Marian;
  src: url("../font/Marian.ttf");
}
@font-face {
  font-family: Maverick;
  src: url("../font/Maverick.otf");
}
@font-face {
  font-family: Oakley;
  src: url("../font/Oakley.otf");
}
@font-face {
  font-family: Olivia;
  src: url("../font/Olivia.otf");
}
@font-face {
  font-family: Riverly;
  src: url("../font/Riverly.otf");
}
@font-face {
  font-family: Rowan;
  src: url("../font/Rowan.otf");
}
@font-face {
  font-family: Scarlett;
  src: url("../font/Scarlett.otf");
}
@font-face {
  font-family: Sophia;
  src: url("../font/Sophia.otf");
}
@font-face {
  font-family: Taylor;
  src: url("../font/Taylor.otf");
}
@font-face {
  font-family: Victoria;
  src: url("../font/Victoria.ttf");
}
@font-face {
  font-family: Waves;
  src: url("../font/Waves.otf");
}
@font-face {
  font-family: Xander;
  src: url("../font/Xander.ttf");
}

.font_1 {
  font-family: Addison;
}

.font_2 {
  font-family: Arrow;
}

.font_3 {
  font-family: Bennett;
}

.font_4 {
  font-family: Brooklyn;
}

.font_5 {
  font-family: Daisy;
}

.font_6 {
  font-family: Elizabeth;
}

.font_7 {
  font-family: Emma;
}

.font_8 {
  font-family: Everly;
}

.font_9 {
  font-family: Grayson;
}

.font_10 {
  font-family: Hayden;
}
.font_11 {
  font-family: Isabella;
}

.font_12 {
  font-family: Jackson;
}

.font_13 {
  font-family: Kiss;
}
.font_14 {
  font-family: KissHeart;
}

.font_15 {
  font-family: Madeline;
}
.font_16 {
  font-family: Maverick;
}

.font_17 {
  font-family: Oakley;
}
.font_18 {
  font-family: Olivia;
}

.font_19 {
  font-family: Riverly;
}
.font_20 {
  font-family: Rowan;
}
.font_21 {
  font-family: Scarlett;
}

.font_22 {
  font-family: Sophia;
}
.font_23 {
  font-family: Taylor;
}
.font_24 {
  font-family: Victoria;
}

.font_25 {
  font-family: Waves;
}
.font_26 {
  font-family: Xander;
}

.font_27 {
  font-family: Magnolia;
}

.font_28 {
  font-family: Grace;
}

.font_29 {
  font-family: Marian;
}

@media screen and (max-width: 480px) {
  .column {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .right {
    margin-left: 2px;
  }
}

@media screen and (max-width: 480px) {
  #Preview {
    display: flex;
    justify-content: center;
    font-size: 3rem;
    color: #000000;
    word-break: break-all;
    line-height: 1.6;
    padding-top: 1px;
  }
}
@media screen and (max-width: 480px) {
  #Previews {
    display: flex;
    justify-content: center;
    font-size: 3rem;
    color: #000000;
    word-break: break-all;
    line-height: 1.6;
    padding-left: 1px;
  }
}
@media screen and (max-width: 480px) {
  .output {
    background-repeat: no-repeat;
    background-size: cover;
    width: 385px;
    height: 320px;
    margin-left: 4px;
    position: fixed;
    top: 130px;
    z-index: 9999;
  }
  .column.right {
    padding-top: 50px; /* push content so it doesn’t sit under the floating preview */
    position: relative; /* default is fine */
    z-index: 1; /* just in case */
  }
}

@media screen and (max-width: 412px) {
  .output {
    background-repeat: no-repeat;
    background-size: cover;
    width: 365px;
    height: 320px;
    margin-left: 4px;
    position:fixed;
    top: 100px;
    z-index: 9999;
  }
  .column.right {
    padding-top: 50px; /* push content so it doesn’t sit under the floating preview */
    position: relative; /* default is fine */
    z-index: 1; /* just in case */
  }
}
.bt2 {
  margin-top: 41px;
  margin-left: 176px;
}

@media screen and (max-width: 480px) {
  .fon {
    width: 375px;
    margin-left: 5px;
  }
}
#btn-decrease,
#btn-increase {
  background-color: gray;
}

@media screen and (max-width: 480px) {
  .input-group-btn {
    margin-left: 16px;
  }
}

@media screen and (max-width: 480px) {
  .bt2 {
    margin-left: 51px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 480px) {
  .cust {
    display: flex;
    width: 90%;
    height: 38px;
    margin-top: 10px;
    margin-left: 21px;
  }
}
@media screen and (max-width: 480px) {
  .button {
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    border: 2px solid gray;
  }
}
@media screen and (max-width: 480px) {
  .colo {
    width: 327px;
    margin: auto;
  }
}
.thumbnail img {
  display: inline-block; /* Make thumbnails appear side by side */
  width: 80px; /* Set the width of each thumbnail */
  height: 80px; /* Set the height of each thumbnail */
  margin: 5px; /* Add margin between thumbnails */
  border: 1px solid #ccc; /* Add a border to each thumbnail */
  border-radius: 5px; /* Add rounded corners to each thumbnail */
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3); /* Add a subtle drop shadow */
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .thumbnail {
    margin-left: 14px;
  }
}
@media screen and (max-width: 480px) {
  .thumbnail img {
    width: 75px; /* Set the width of each thumbnail */
    height: 75px; /* Set the height of each thumbnail */
  }
}

.color-picker {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  outline: none;
}

.color-button:hover,
.color-button.selected {
  border: 3px solid #444;
}

.buttonf.selected-font {
  background-color: #f8b2b1; /* or any highlight color */
  color: white;
  border: 2px solid #c87;
}
.back {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.db2 {
  background-color: #f8b2b1;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
