/* 폰트 */
@import url(./font.css);

/* 기본색상 */
:root {
  --main-bg-color: #1d1d1d;
}

/* 기본 */

html {
  font-size: 62.5%; /* 10px */
  box-sizing: border-box;
}

body {
  width: 100%;
  min-width: 100%;
  min-height: 100vh;
  max-height: none !important;

  line-height: 1.1;
  background-color: var(--main-bg-color);

  font-family: "NexonLv2Gothic";
  font-size: 1rem;

  padding: 120px 0px 0px 80px !important;
  position: relative;
  overflow: visible;

  display: flex;
  flex-direction: column;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

h1 {
  font-size: 2.4rem;
}

p {
  font-size: 1.6rem;
}

button {
  padding: 1rem 2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 헤더 */

#body_wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#main_wrap {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}

#header_wrap {
  font-size: 2.5rem;
}

#title {
  position: fixed;
  top: 20px;
  left: 80px;

  font-weight: 300;
  font-size: 3rem;
  line-height: 1.1;

  /* overflow: hidden; */
  white-space: nowrap;

  color: #fff;
}

.tile_group {
  margin-left: 80px;
  min-width: 80px;
  width: 320px;
  display: block;
  padding-top: 40px;
  position: relative;
  display: flex;
  flex-shrink: 0;
}

.tile_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  gap: 10px;
  flex-shrink: 0;
}

.tile {
  background-color: beige;

  width: 150px;
  height: 150px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  cursor: pointer;
  position: relative;

  border: none;

  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.tile {
  opacity: 0; /* 처음엔 안 보임 */
  transform: scale(0.8);
  animation: tileFadeIn 0.6s ease forwards;
}

.tile_group_title {
  font-size: 1.4rem;
  position: absolute;
  top: 9px;
  color: #fff;
}

.tile_icon > .icon,
.ha_icon {
  position: absolute;
  width: 64px;
  height: 64px;
  font-size: 64px;
  top: 50%;
  margin-top: -40px;
  left: 50%;
  margin-left: -32px;
  text-align: center;
}

.tile_label {
  position: absolute;
  bottom: 0;
  left: 0.625rem;
  padding: 0.425rem 0.25rem;
  color: #fff;
}

.icon_white {
  filter: invert(1) brightness(200);
}

.bg_indigo {
  background-color: #6a00ff !important;
}

.bg_darkBlue {
  background-color: #16499a !important;
}

.bg_red {
  background-color: #ce352e !important;
}

.bg_blue {
  background-color: #00aff0 !important;
}

.bg_gray {
  background-color: #555 !important;
}

@keyframes tileFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#footer_wrap {
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 15px 0px;
  background: transparent;
  margin-top: 15px;
}
