@charset "UTF-8";
* {
  font-family: 微軟正黑體;
}

body {
  background-color: #ffffff;
}

.container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding: 0px 16px;
  padding-bottom: 24px;
  margin-top: -8px;
}

h2 {
  color: #1f1a1a;
  font-weight: 900;
  margin-bottom: -16px;
}

#dataDisplay {
  min-height: 96px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 12px;
}

.mb-3 {
  height: 72px;
}

.col-12.d-flex.justify-content-between {
  margin-top: -4px;
}

.col-12 {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.card-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-width: 300px;
  margin: auto;
}

.ntnucard {
  width: 100%;
  height: auto;
}

.card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.row {
  width: 100%;
  margin: 0;
}

.col-4 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo {
  width: 80%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
  margin-top: 64px;
  margin-left: 20px;
}

.col-8 {
  padding-right: 16px;
  margin-top: 60px;
}

h6 {
  font-size: 1vw;
  margin-bottom: 0.4vw;
  white-space: nowrap;
  font-weight: 900;
}

.col-md-12 {
  padding: 14px 0px;
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

.modal-footer > * {
  margin-right: 40%;
}

.modal-content {
  border-radius: 20px;
}

.p_input {
 padding: 12px 32px;
 border: solid 1px #ddd;
 border-radius: 8px;
 background-color: #eee;

}


@media (min-width: 576px) {
  h6 {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 700;
  }

  .photo {
    margin-top: 46px;
    margin-left: 18px;
  }

  .col-8 {
    margin-top: 56px;
  }

  .col-md-12 {
    padding: 5px 0px;
  }
}
@media (max-width: 575px) {
  h6 {
    font-size: calc(1.4vw + 4px);
    margin-bottom: calc(0.3vw - 1px);
    font-weight: 700;
  }

  .photo {
    margin-top: 48px;
  }

  .col-8 {
    margin-top: 50px;
  }

  .col-md-12 {
    padding: 17px 0px;
  }
}
@media (max-width: 518px) {
  .col-8 {
    margin-top: 50px;
  }

  .col-md-12 {
    padding: 14px 0px;
  }

  .photo {
    margin-top: 42px;
    margin-left: 17px;
  }
}
@media (max-width: 447px) {
  .col-8 {
    margin-top: 42px;
  }

  .col-md-12 {
    padding: 12px 0px;
  }

  .photo {
    margin-top: 38px;
    margin-left: 12px;
  }
}
@media (max-width: 414px) {
  h6 {
    font-size: 9px;
    margin-bottom: 0px;
    font-weight: 700;
  }

  .photo {
    margin-top: 40px;
  }

  .col-8 {
    margin-top: 32px;
  }

  .col-md-12 {
    padding: 8px 0px;
  }
}
@media (max-width: 350px) {
  h6 {
    font-size: 8px;
  }
}