@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  vertical-align: top;
}

/***** 배경이미지 *****/

#fiximg > img {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  min-width: 100%;
  min-height: 100%;
}

/***** 배너이미지 *****/
#banner {
  width: 100%;
  position: relative;
}

#banner > img {
  min-width: 100%;
  width: 100%;
  display: block;
  z-index: -1;
  margin-bottom: 50px;
}

#banner > h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  color: #fff;
  font-family: "코버워치";
  font-size: 4em;
  font-weight: normal;
}

/***** 버튼 *****/
#btn > ul {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

#btn > ul > li {
  width: 120px;
  height: 60px;
  background-color: darkgray;
  display: inline-block;
  border-radius: 10px;
  text-align: center;
  line-height: 60px;
}

#btn > ul > li > a {
  color: #fff;
  font-family: "코버워치";
  font-size: 1.5em;
}

#btn > ul > li:hover {
  background-color: darkorange;
}

#btn p {
  color: #fff;
  font-family: "코버워치";
  font-size: 1.5em;
  text-align: center;
  padding: 50px 30px 50px 30px;
  line-height: 1.2em;
}

/*****  영웅이미지 *****/
.home {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 70px;
  margin-bottom: 200px;
}

.hero li {
  text-align: center;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.hero li:hover img {
  filter: brightness(50%);
}

.hero a span {
  font-family: "코버워치";
  color: white;
  font-size: 1.5em;
  opacity: 0;
  transition: 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero li:hover a span {
  opacity: 1;
}

.hero a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero img {
  max-width: 100%;
  max-height: 100%;
  transition: 0.3s ease;
}

/***** 모바일 추가 *****/
@media all and (max-width: 767px) {
  .hero {
    padding: 10px;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
  }

  #btn > ul > li {
    width: 80px;
  }
}
