body {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
	background: rgb(238,174,202);
	background: -moz-radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
	background: -webkit-radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
	background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
    }
    
/*nfc card 顯示區*/
.display-left{
    width: 100vw;
    height: 100vh;
    padding: 10px;
    box-sizing: border-box;
    transition: cubic-bezier(0.77, -0.24, 0.28, 1.11) 2.5s;
    	background: rgb(238,174,202);
	background: -moz-linear-gradient(350deg, rgba(238,174,202,1) 36%, rgba(148,187,233,1) 80%);
	background: -webkit-linear-gradient(350deg, rgba(238,174,202,1) 36%, rgba(148,187,233,1) 80%);
	background: linear-gradient(350deg, rgba(238,174,202,1) 36%, rgba(148,187,233,1) 80%);
}

/*卡*/
#nfc-card{
    display: flex;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition:cubic-bezier(0.77, -0.24, 0.28, 1.11) 1.8s;
    transform-origin:center;
    height: calc(35.7vh - 30px);
    max-height: 390px;
    min-height: 200px;
}

.nfc-back, .nfc-front {
    width: calc(80vw - 30px);
    max-width: 630px;
    min-width: 480px;
    height: calc(35.7vh - 30px);
    max-height: 360px;
    min-height: 250px;
    border-radius: 5px;
    position: absolute;
    padding: 15px;

    backface-visibility:hidden;
    -webkit-backface-visibility:hidden; /* Chrome 、Safari */
    -moz-backface-visibility:hidden; /* Firefox */
    -ms-backface-visibility:hidden; /* Internet Explorer */
    
}
.nfc-back{
    transform: rotateY(180deg);
    z-index: 1;
    background-color: azure;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.nfc-front{
    background-color: rgba(240, 255, 255, 0.952);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content:space-around;
}
#Company-name_1{
    font-size: xxx-large;
    font-family: Arial;
    display: flex;
    justify-content: center;
}
#Company-name_2{
    font-size: large;
    font-family: DFKai-SB;
    display: flex;
    justify-content: center;
}
.Username{
    display: flex;
    justify-content: center;
    flex-direction: column;	
}
.center{
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 5px;
    font-family: sans-serif;
}
.center_address{
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 5px;
    font-size: small;
}
.center_back{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

  @media only screen and (max-width: 600px) {
    .nfc-front {
      transform: scale(0.75);
    }
  .nfc-back {
      transform: scale(0.75) rotateY(180deg);
  }
  }
  @media only screen and (max-width: 400px) {
    .nfc-front {
      transform: scale(0.65);
    }
  .nfc-back {
      transform: scale(0.65) rotateY(180deg);
  }
  }



/*設定*/
#edit-all{
    position: relative;
    width: 15%;
    height: 16%;
    min-width: 40px;
    min-height: 40px;
    max-width: 80px;
    border-radius: 5px;
    border: 0px;
    background-color: #1c242d60;
    padding: 2px;
    z-index: 2;
    margin-bottom: 100vh;
    transition: cubic-bezier(0.77, -0.24, 0.28, 1.11) 2.5s;
}
/*設定圖樣*/
.material-icons{
    width: 100%;
    height: 100%;
    transition: cubic-bezier(0.77, -0.24, 0.28, 1.11) 1s;
}
.material-icons:hover{
    color: #1ddeaa;
    width: 120%;
}

/*設定區*/
.display-right{
    z-index:2;
    width: 100vw;
    height: 100%;
    box-sizing: border-box;
    background-color: #1c26338c;
    max-height: 0px;
    padding: 0px;
    transition: cubic-bezier(0.77, -0.24, 0.28, 1.11) 2.5s;
}
