* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  border: none;
  outline: none;
  box-sizing: border-box;
  transition: opacity .5s;
  font-family: Monospace;
}

::placeholder {
  color: #c7c7c7;
  opacity: .5;
  font-weight: 400;
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-track {
  background: #bbb;
}

::-webkit-scrollbar-thumb {
  background: #fff;
}

@keyframes star {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes up {
  0% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(-5px);
  }
}

@keyframes wavy {
  0%, 100% {
    clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);
  }
  50% {
    clip-path: polygon(0% 60%, 16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%);
  }
}

a {
  color: #444;
}

a:hover {
  color: #e17f93;
}

input,
textarea {
  outline: none;
  border: none;
  background: none;
  color: #444;
  font-size: 1em;
  padding: 0 4px;
  font-weight: 600;
}

button {
  cursor: pointer;
  user-select: none;
  color: #ececec;
  font-weight: 700;
  font-size: 1em;
  border-radius: 5px;
  background: linear-gradient(to right, #e17f93, #cd5e77);
  box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1),
              1px 1px 3px rgba(0, 0, 0, 0.2);
}

.swiper {
  width: 100%;
  height: 100%;
}

.top0 {
  position: sticky;
  top: 0;
  z-index: 99;
}

.bb {
  border-bottom: 1px solid #e17f93;
}

.ovsc {
  overflow: scroll;
  padding-bottom: 100px !important;
}

.limit-sx {
  scroll-snap-type: x mandatory;
}

.limit-sx > b,
.limit-sx > div {
  scroll-snap-align: center;
}

.pointer {
  cursor: pointer;
  user-select: none;
}

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

.tsh {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2),
              -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.bsh {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1),
              -2px -2px 4px rgba(0, 0, 0, 0.1);
}

.p-bg {
  background: #f6f6f6;
}

.s-bg {
  background: #ececec;
}

.w-bg {
  background: #bb2124;
}

.noti-bg {
  background: linear-gradient(to right, #5621cf, #4621de);
}

.b-bg {
  background-image: url('../images/water.jpg');
  background-size: cover;
}

.p-color {
  color: #444;
}

.s-color {
  color: #555;
  opacity: .8;
}

.w-color {
  color: #bb2124;
}

.b-color {
  color: #ececec;
}

#top-alert {
  width: calc(100% - 44px);
  height: 50px;
  position: absolute;
  border-radius: 6px;
  top: 0;
  left: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: .8em;
  display: flex;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  transform: translateY(-110%);
  transition: all .5s;
  z-index: 99999;
}

#loading {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  z-index: 999999;
}

#loading .fa-3x {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #5621cf;
}

#empty-box {
  height: 200px;
  width: 250px;
  position: relative;
  top: calc(50% - 100px);
  left: calc(50% - 125px);
  flex-direction: column;
}

#empty-box img {
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .2));
}

#empty-box #box {
  height: 150px;
  width: 150px;
}

#empty-box #bee {
  height: 25px;
  width: 25px;
  position: absolute;
  top: 15px;
  left: 70px;
  animation: up 1s linear infinite alternate;
}


body {
  width: 100vw;
  height: 100vh;
  background: #f6f6f6;
  color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

#container {
  height: 100%;
  width: 100%;
  position: relative;
}

/* NAV START */
.t-tab,
nav {
  width: 100%;
  height: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center !important;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.t-tab b,
#brand {
  height: 100%;
  width: calc(100% - 100px);
  color: #f6f6f6;
  font-weight: 900;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: blue;
  font-size: 2.1em;
}

.t-tab b {
  font-size: 1.4em;
  letter-spacing: 1px;
}

.t-tab i,
nav i {
  height: 50px;
  width: 50px;
  font-size: 1.5em;
}

/* MAIN START */
main {
  height: calc(100% - 124px);
  margin-top: 2px;
  padding: 6px;
}

.page {
  width: 100%;
  height: 100%;
  display: none;
}

.banner {
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
}

/* TAB START */
.tab {
  height: 65px;
  margin-top: 2px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 2px #ddd;
  z-index: 99;
}

.b-tab {
  position: fixed;
  width: 100%;
  bottom: 0;
}

.tab > div {
  height: 55px;
  width: 65px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}

#home, #reg, #messages {
  height: 75px;
  width: 75px;
  position: relative;
  margin-top: -68px;
  z-index: 2;
  padding: 10px 0;
  color: #ececec;
}

#messages:before,
#reg:before,
#home:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 75px;
  width: 75px;
  border-radius: 50%;
  background: #ececec;
  z-index: -1;
  background-image: url('../images/water.jpg');
  background-size: cover;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1),
              -1px -1px 4px rgba(0, 0, 0, 0.1);
}

#messages:after,
#reg:after,
#home:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  height: 50px;
  width: 100px;
  border-radius: 0 0 150px 150px;
  z-index: -2;
  box-shadow: inset 0 -1px 2px #ddd;
}

.tab div b,
.tab div i {
  font-size: 1.5em;
  color: #ececec;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #e17f93;
  transition: all .5s;
}

.tab div small {
  opacity: .7;
  transition: all .5s;
  font-size: .6em;
}

.tab .active b,
.tab .active i {
  color: #e17f93 !important;
}

.tab .active small {
  opacity: 1 !important;
  font-weight: 500;
}

.dl {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.dm {
  height: 100%;
  width: calc(50% - 6px);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

.dm small,
.dm b {
  width: 100%;
  text-align: center;
}

.live-twod {
  animation: star 3s linear infinite;
}

.history-box {
  width: 100%;
  margin-top: 42px;
  border: 1px solid #e17f93;
  padding: 0 2px;
  padding-bottom: 6px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1),
              -2px -2px 4px rgba(0, 0, 0, 0.1);
}

.history-box .date {
  height: 50px;
  width: 50%;
  border-radius: 1px;
  margin-top: -25px;
  margin-left: 25%;
  border: 4px solid #f6f6f6;
  font-size: 1em;
  letter-spacing: 1px;
  outline: #ececec;
  font-weight: 600;
}

.history-box .dl b,
.history-box .dl small {
  width: 25%;
  text-align: center;
  font-size: .8em;
}

.search-bar {
  height: 45px;
  width: 100%;
  border-radius: 2px;
  border: 1px solid #e17f93;
  position: sticky;
  top: 0;
  z-index: 10;
}

.search-bar input {
  height: 40px;
  width: 100%;
}

.search-bar i {
  position: absolute;
  right: 6px;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  display: none;
}




/* RESPONSIVE START */
@media (min-width: 767px) {
  #container {
    width: 767px;
  }

  .quick-item,
  .quick-field > div {
    width: 18%;
  }
}