﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700;900&display=swap');

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /*!* Margin bottom by footer height *!*/
  margin-bottom: 60px;
  font-family: 'Noto Sans TC', sans-serif;
}

h2
{
  text-align: left;
  padding-left: 10px;
  font-weight: 700;
  color: #796841;
  margin: 0;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


.bgimg {
  background-image: url('../img/mycard_store_coverbg.png');
  background-repeat: no-repeat;
  background-position: center top;
  text-align: center;
}

/* Background */
.background{
  background-image:  url('../img/mycard_store_paperbg.png');

  background-repeat: repeat;

  background-position: top left;

  background-size: auto;
}

/* Section */
#userSection{
  background-image: url('../img/mycard_store_coverbg.png');
  background-repeat: no-repeat;
  background-position: center top;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  height: 498px;
}

#userInfoTable
{
  width: 90%;
  max-width: 550px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  table-layout: auto;
}

/* Button */
.logoutButton{
  background-image: url('../img/acc_logout_but.png');
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  color: white;
  padding: 0;
  width: 176px;
  height: 39px;
  line-height: 39px;
}

.purchaseButton
{
  background-image: url('../img/item-select-but.png');
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  line-height: 39px;
  padding: 0;
  max-width: 176px;
  width: 100%;
  height: 39px;
}

/* Text Outline */
.brownOutline{
  --stroke-color: #633B2B;
  --stroke-width: 3px;
}

.whiteOutline{
  --stroke-color: white;
  --stroke-width: 3px;
}

.smoothStroke{
  text-shadow: calc(var(--stroke-width) * 1) calc(var(--stroke-width) * 0) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0.9239) calc(var(--stroke-width) * 0.3827) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0.7071) calc(var(--stroke-width) * 0.7071) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0.3827) calc(var(--stroke-width) * 0.9239) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0) calc(var(--stroke-width) * 1) 0
  var(--stroke-color),
  calc(var(--stroke-width) * -0.3827) calc(var(--stroke-width) * 0.9239) 0
  var(--stroke-color),
  calc(var(--stroke-width) * -0.7071) calc(var(--stroke-width) * 0.7071) 0
  var(--stroke-color),
  calc(var(--stroke-width) * -0.9239) calc(var(--stroke-width) * 0.3827) 0
  var(--stroke-color),
  calc(var(--stroke-width) * -1) calc(var(--stroke-width) * 0) 0
  var(--stroke-color),
  calc(var(--stroke-width) * -0.9239) calc(var(--stroke-width) * -0.3827) 0
  var(--stroke-color),
  calc(var(--stroke-width) * -0.7071) calc(var(--stroke-width) * -0.7071) 0
  var(--stroke-color),
  calc(var(--stroke-width) * -0.3827) calc(var(--stroke-width) * -0.9239) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0) calc(var(--stroke-width) * -1) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0.3827) calc(var(--stroke-width) * -0.9239) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0.7071) calc(var(--stroke-width) * -0.7071) 0
  var(--stroke-color),
  calc(var(--stroke-width) * 0.9239) calc(var(--stroke-width) * -0.3827) 0
  var(--stroke-color);
}