:root {
  --padding: 60px;
}

body * {
  font-family: "Tahoma", sans-serif;
}

h5 {
  margin-bottom: 5px;
  font-size: 1rem;
}

#card {
  width: 800px;
  height: 800px;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
}

#overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* background: black; */
  width: 100%;
  height: 100%;
  opacity: 0.1;
  border: 1px solid #000;
}

#logo {
   display: none !important;
  opacity: 0;
  position: absolute;
  top: var(--padding);
  left: var(--padding);
  width: 250px;
}

#qr-code {
  display: none !important;
  opacity: 0;
  position: absolute;
  right: var(--padding);
  top: var(--padding);
  border: 15px solid white;
}

#name {
  position: absolute;
  margin: 0;
  top: calc(var(--padding) + 200px);
  left: calc(var(--padding) + 151px);
  font-family: "Kanit", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: white;
  -webkit-text-stroke: 1.2px black;
  max-width: 375px;
  margin: auto;
  text-align: center;
}
textarea#name-content{background: rgba(255, 0, 0, 0);width: 100%;
    border: none;}

#form-card {
  margin: 20px 0;
}

#background-select {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

#background-select img {
  width: 200px;
  border: 1px solid black;
  margin: 0 8px 8px 0;
  opacity: 0.75;
  cursor: pointer;
  object-fit: cover;
}

#background-select img:hover {
  opacity: 1;
  cursor: pointer;
}
.btn{width: 110px;height: 30px;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #000;
    padding: 0px 10px;
    background: var(--color-key);
    cursor: pointer;
    text-decoration: none;
    color: #000;}
select,input{
  padding: 5px 10px;
  border: 1px #0dac00 dashed;
  box-shadow: none;
  min-height: 35px;
  font-size: 14px;
  border-radius: 5px;
}
textarea{
  padding: 5px 10px;
  border: 1px #0dac00 dashed;
  box-shadow: none;
  font-size: 14px;
  border-radius: 5px;
}
.btn-in{
    width: 150px;
    height: 30px;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #000;
    padding: 0px 10px;
    background: var(--color-key);
    cursor: pointer;
    text-decoration: none;
    color: #000;
}