.flex {
  display: flex;
  justify-content: space-around;
}
/* ================================= */
body {
  background: #d1d1d166;
}
/* ================================== */
header {
  height: 102px;
  background-image: url(./img/bg_header_wrap.gif);
  border-bottom: 2px solid rgb(0, 0, 0);
}
header .container {
  justify-content: space-between;
  height: 101px;
  align-items: center;
}

.container {
  width: 1230px;
  margin: auto;
}

nav {
  position: relative;
  top: 15px;
}

nav ul {
  gap: 124px;
}

nav ul li:hover a {
  background-position-y: -70px;
  transition: 0.6s ease-in-out;
}

nav ul li a {
  background-image: url(./bbimg/bg_gnb.jpg);
  height: 60px;
  display: block;
  color: transparent;
}

nav ul li:nth-child(1) a {
  width: 84px;
}

nav ul li:nth-child(2) a {
  width: 104px;
  background-position-x: -92px;
}

nav ul li:nth-child(3) a {
  width: 60px;
  background-position-x: -195px;
}

nav ul li:nth-child(4) a {
  width: 80px;
  background-position-x: -272px;
}
/* ============================================ */
main {
  flex-wrap: wrap;
  width: 720px;
  justify-content: space-between;
}

aside {
  width: 480px;
}

main > div {
  width: 226px;
  height: 206px;
  margin-bottom: 14px;
  cursor: pointer;
}

.wrap {
  position: relative;
  top: 30px;
}

main > div:hover {
  background-position-y: -206px;
  transition: 1.5s;
}

main > div.event:hover {
  background-position-x: -225px;
  background-position-y: 0px;
}

div.goods {
  background-image: url(./bbimg/bdragon-oner.jpg);
  border-radius: 15px;
}

div.pay {
  background-image: url(./bbimg/bdragon-worker-park.jpg);
  border-radius: 15px;
}

div.game {
  background-image: url(./bbimg/bdragon-worker-Yi.jpg);
  border-radius: 15px;
}

div.event {
  background-image: url(./bbimg/bdragon-worker-gan\ -y.jpg);
  border-radius: 15px;
}

div.ip {
  background-image: url(./bbimg/bdragon-worker-Kim.jpg);
  border-radius: 15px;
}

div.refund {
  background-image: url(./bbimg/bdragon-worker-Kim-2.jpg);
  border-radius: 15px;
}

div.tax {
  background-image: url(./bbimg/bdragon-worker-Kim-3.jpg);
  border-radius: 15px;
}

div.cs {
  background-image: url(./bbimg/FAQ.jpg);
  border-radius: 15px;
}

div.remote {
  background-image: url(./bbimg/QnA.jpg);
  border-radius: 15px;
}

main > div.wid2 {
  width: 469px;
}

.login_id,
.login_pw {
  background-repeat: no-repeat;
  display: flex;
}

.util ul li {
  float: left;
}
.input {
  display: flex;
  justify-content: center;
  padding: 20px;
  gap: 20px;
  border-radius: 15px;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.25);
}
.input-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 70%;
}
.input-text input {
  width: 100%;
  height: 50%;
  padding: 15px;
}
.btn input {
  background-color: #003e7c;
  color: #fff;
  height: 98px;
  padding: 0px 35px 0px 35px;
}
/* ======================================== */
.notice {
  background: #fff;
  border-radius: 15px;
  /* box-shadow: 15px 13px 10px rgba(0, 0, 0, 0.25); */
}
.notice ul {
  height: calc(100% - 43px);
}
.notice ul li {
  padding: 5px;
  height: 25%;
  display: flex;
  justify-content: space-between;
  transition: 0.3s ease-in-out;
}
.notice ul li:hover {
  background-color: #ffdb67;
}
.notice ul li a {
  text-decoration: underline;
}
.notice ul li span {
  cursor: default;
}
.gong {
  background: linear-gradient(
    to right,
    red,
    orange,
    yellow,
    green,
    blue,
    indigo,
    violet
  ); /* 무지개 색깔 배경 */
  color: white;
  font-size: 2em;
  text-align: center;
}
/* ====================================== */
.gnb {
  margin-top: 10px;
  display: flex;
  font-size: 15px;
  gap: 10px;
}
.gnb ul {
  display: flex;
  gap: 10px;
}
.info li {
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.info li:hover {
  color: #2e6aa1;
}
/* ===================================== */
.slide-c {
  position: relative;
  margin-top: 52px;
  height: 646px;
  border-radius: 15px;
  overflow: hidden;
}
.slide-c .slide-w {
  width: 500%;
  height: 100%;
  overflow: hidden;
}
.slide-c .slide-w .slide-s {
  width: 20%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide-c .slide-w .slide-s img {
  width: 100%;
  height: 100%;
}
/* ===================================== */
.prev-next {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 99999;
}
.prev-next img {
  width: 65px;
  height: 65px;
  cursor: pointer;
}
/* ========================================= */
footer {
  transform: translateY(70px);
  width: 100%;
  height: 200px;
  margin: auto;
  border-top: 2px solid #000;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
footer .f-wrap {
  width: 1230px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .f-wrap ul {
  display: flex;
  gap: 30px;
}
footer .f-wrap ul li a {
  transition: 0.3s ease-in-out;
  font-size: 20px;
}
footer .f-wrap ul li a:hover {
  color: #2e6aa1;
}
