﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Playfair+Display&display=swap");
/* ----- login page -------*/
body {
  font-family: '微軟正黑體','Playfair Display' !important; }

html, body {
  height: 100%;
  width: 100%;
  margin: 0; }

.main {
  border: solid 3px #eee;
  border-radius: 30px;
  box-shadow: 0px 5px 10px;
  transform: scale(0.85);
  width: 50%; }

.login-title {
  color: #8E8C8B;
  letter-spacing: 0.2em; }

input {
  border: none;
  border-bottom: solid 0.8px #6c757d;
  font-size: larger !important;
  width: 80%;
  line-height: 2.5em !important;
  vertical-align: text-bottom; }

.submit {
  width: 200px;
  background: #ff7e41;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: x-large;
  padding: 8px 16px; }

@media (max-width: 480px) {
  .main {
    width: 100% !important;
    transform: scale(0.7);
    border: unset;
    border-radius: unset;
    box-shadow: unset; }
    .main .mobile-logo {
      height: 120px; } }

/* ----- default page -------*/
.header-default {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto; }
  .header-default .logo_1 {
    width: 14em; }
  .header-default .logo_2 {
    width: 20em; }

.header-default-mobile {
  display: none; }

.user-info {
  position: relative;
  right: 3%; }
  .user-info .user-img {
    position: absolute;
    top: 50%;
    left: -4em;
    transform: translateY(-50%); }
  .user-info .name {
    color: #716f6f;
    font-size: x-large;
    margin-right: 4em;
    border-bottom: solid 1px #6c757d;
    padding: 0 0.5em; }
  .user-info .logout {
    position: absolute;
    top: 50%;
    transform: translateY(-45%); }

.wrap {
  transform: scale(0.9); }

.main-menu {
  transform: scale(0.9); }

.box {
  width: calc(100%/8);
  font-size: x-large;
  padding: 8px; }
  .box .box-effects {
    opacity: 0.3; }
    .box .box-effects a {
      text-decoration: none;
      color: black; }
  .box .box-effects.show {
    position: relative;
    transition: 0.5s;
    opacity: 1; }
    .box .box-effects.show:hover {
      transform: translateY(-15px); }
  .box img {
    width: 100%; }
  .box .box-effects.hidden a {
    cursor: not-allowed; }

@media (max-width: 480px) {
  .wrap {
    transform: scale(1); }
  .main-menu {
    transform: scale(1); }
  .box {
    width: calc(100%/2);
    transform: scale(0.9); }
  .header-default {
    display: none; }
  .header-default-mobile {
    display: block;
    background-color: #FF4400;
    color: white;
    width: 100%; } }
