/* COMMON */
body {
  margin: 0;
  padding: 0;
  width: 1200px;
  height: 100vh;
  margin: auto;
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #eee;
  background-color: #000;
}
img {
  display: block;
  font-family: 'Metal Mania';
}
a {
  text-decoration: none;
  color: #c8c8c8;
}
/* HEADER */
/* 
header {
  background-color: #f6f5f0;
  border-bottom: 1px solid #c8c8c8;
}
 */
.inner {
  position: relative;
  width: 1200px;
  margin: 2% auto 0;
  background: linear-gradient(0deg, #000, rgb(44, 44, 44));
  border-radius: 20px;
}
.glow::before, .glow::after {
  content:'';
  position: absolute;
  left: -2px;
  top: -2px;
  border-radius: 20px;
  background: linear-gradient(45deg, #e6ff06, #ff6600, #00ff66, #00ffff, #ff00ff, #ff0099, #6e0dd0, #ff3300, #099fff);
  background-size: 400%;
  width: calc(100% + 5px);
  height: calc(100% + 5px);
  z-index: -1;
  animation: animate 20s linear infinite;
}
@keyframes animate{
  0%{
    background-position: 0 0;
  }
  50%{
    background-position: 400% 0;
  }
  100%{
    background-position: 0 0;
  }
}
.glow::after{
  filter: blur(40px);
  /* opacity: 0.5; */
}
header > .inner {
  height: 120px;
}
header .logo {
  width: 103px;
  height: 103px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: .6%;
  margin: auto;
}
header .sub-menu {
  position: absolute;
  top: 20px;
  right: .6%;
  display: flex;

}
header .sub-menu ul.menu {
  font-family: Arial, sans-serif;
  display: flex;

}
header .sub-menu ul.menu li {
  position: relative;
}
header .sub-menu ul.menu li::before {
  content: "";
  width: 1px;
  height: 12px;
  background-color: #e5e5e5;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
header .sub-menu ul.menu li:first-child::before {
  display: none;
}
header .sub-menu ul.menu li a {
  font-size: 15px;
  padding: 10px 16px;
  display: block;
  color: #e5e5e5;
}
header .sub-menu ul.menu li a:hover {
  color: #e5ff00;
}
header .sub-menu .search {
  height: 34px;
  position: relative;
}
header .sub-menu .search input {
  width: 40px;
  height: 40px;
  padding: 5px 10px;
  border: 1px solid #000;
  box-sizing: border-box;
  border-radius: 5px;
  outline: none;
  background-color: #333;
  color: #eee;
  font-size: 14px;
  transition: width .4s;
}
header .sub-menu .search input:focus {
  width: 220px;
  border-color: #7fff00;
}
header .sub-menu .search .material-icons {
  height: 24px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5px;
  margin: auto;
  transition: .4s;
}
header .sub-menu .search.focused .material-icons {
  opacity: 0;
}
header .main-menu {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  display: flex;
}
/* header .main-menu .item {} */
header .main-menu .item .item__name {
  padding: 10px 20px 10px 24px;
  font-family: Arial, sans-serif;
  font-size: 18px;
}
header .main-menu .item:hover .item__name {
  background-color: rgba(128, 0, 200, 0.5);
  color: #f6f5f0;
  border-radius: 20px 6px 20px 6px;
}
/* 
header .main-menu .item:hover .item__name:nth-child(n-1) {
  background-color: #00ff66;
}
*/

header .main-menu .item .item__contents {
  font-family: 'Metal Mania', 'Nanum Gothic', sans-serif;
  font-size: 20px;
  padding: 0 20px 16px 24px;
  position: fixed;
  display: none;
}
header .main-menu .item:hover .item__contents {
  display: block;
}

/* VISUAL */
.about {
  display: flex;
  flex-wrap: wrap;
}
/*FOOTER*/
footer {
  background-color: #272727;
  border-top: 1px solid #333;
  border-radius: 25px;
}
footer .inner {
  padding: 40px 0 60px 0;
}
footer .menu {
  display: flex;
  justify-content: center;
}
footer .menu li {
  position: relative;
}
footer .menu li::before {
  content: "";
  width: 3px;
  height: 3px;
  background-color: #555;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  margin: auto;
}
footer .menu li:last-child::before {
  display: none;
}
footer .menu li a {
  display: block;
  color: #669900;
  font-size: 12px;
  font-weight: 700;
  padding: 15px;
}
footer .menu li a.green {
  color: #669900;
}
footer .btn-group {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
footer .btn-group .btn {
  color: #c8c8c8;
  font-size: 12px;
  margin-right: 10px;
}
footer .btn-group .btn:last-child {
  margin-right: 0;
}
footer .info {
  margin-top: 30px;
  text-align: center;
}
footer .info span {
  margin-right: 20px;
  color: #999;
  font-size: 12px;
}
footer .info span:last-child {
  margin-right: 0;
}
footer .copyright {
  color: #999;
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
}
/* img요소가 display:block; + margin:0 auto; 인 경우, width 속성이 없어도 가운데 정렬이 가능하다. */
/* COMMON에 img는 모두 display:block;을 적용한 상태이다. */
footer .logo {
  margin: 30px auto 0;
}

#to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  width: 42px;
  height: 42px;
  background-color: #333;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
