@font-face {
  font-family: 'cube';
  src: url('Cubic11.ttf') format('truetype');
}

/* 版面與背景 */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
  background-image: url('https://www.manametal.net/assets/images/background.png');
  font-family: 'cube', Arial, sans-serif;
}

.container {
  padding: 20px;
  border: 2px solid #000;

  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 450px;
  box-sizing: border-box;
}

#content {
  margin-top: 20px;
  font-size: 20px;
  color: #333;
}

.logo {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 50%;
  height: auto;
}

.productimg {
  width: 60%;
}

.table-container {
  text-align: center;
}

input,
button,
textarea,
select,
.buttonfont {
  font-family: 'cube', Arial, sans-serif;
}

input[readonly],
input[disabled] {
  background-color: #e9e9e9;
}

input[type="text"] {
  width: 70%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
  font-size: 16px;
}

input[type="submit"],
button[type="submit"],
button {
  height: 40px;
  font-size: 22px;
  color: white;
  background-image:
    url('https://www.manametal.net/assets/images/button/button-goldL.png?v=1205'),
    url('https://www.manametal.net/assets/images/button/button-goldR.png?v=1205'),
    url('https://www.manametal.net/assets/images/button/button.png?v=1205');
  background-size: 20px 36px, 20px 36px, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: left, right, center;
}

input[type="submit"],
button[type="submit"] {
  width: 200px;
}

button {
  width: 400px;
}

.buttonfont {
  font-size: 22px;
  color: white;
}

/* RWD */
@media (max-width: 768px) {
  .container {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    width: 90%;
    box-sizing: border-box;
    top: 155px;
    bottom: 50px;
  }

  .logo {
    max-width: 80%;
    height: auto;
  }

  button {
    width: 197px;
    height: 40px;
  }

  .productimg {
    width: 100%;
  }

  select,
  textarea,
  input {
    font-size: 12px;
  }
}
