/* 그룹 페이지 멤버리스트, 그룹매니저 레이아웃 파일 */

#cont {
  margin-top: 20px;
}

.responsive-table {
  display: grid;
  grid-template-columns: 1fr;
}
/* 그룹 페이지 멤버리스트 컨테이너 */
.profile {
  width: 600px;
  height: 140px;
  position: relative;
  transform: translate(0%, 1%);
  border-radius: 5px;
  background-color: #fafafa;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  animation: show-profile 0.5s forwards ease-in-out;
  margin: auto;
  margin-bottom: 20px;
}

.profile h3 {
  color: white;
}

.profile h6 {
  color: #424242;
  padding: 0 .3em;
}

@keyframes show-profile {
  0% {
    width: 0;
  }
}

.profile .photo,
.profile .user-content {
  box-sizing: border-box;
}
/* 그룹 페이지 멤버리스트 사진 */
.profile .photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fafafa;
  background-color: #fafafa;
  margin-left: -50px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  animation: rotate-photo 0.5s forwards ease-in-out;
}

@keyframes rotate-photo {
  100% {
    transform: rotate(-360deg);
  }
}

.profile .photo img {
  width: 100%;
}
/* 그룹 페이지 멤버리스트 컨텐츠 */
.profile .user-content {
  padding: 10px;
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.profile .user-content::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 450px;
  background-color: #5797cb;
  left: 0;
  top: -40px;
  z-index: -1;
  transform: rotate(-8deg);
}

.profile .user-content .text {
  margin-top: 20px;
  margin-left: 100px;
}

.profile .user-content .text h3,
.profile .user-content .text h6 {
  font-weight: normal;
  margin: 3px 0;
  letter-spacing: 0.5px;
  padding: 0;
}
/* 그룹 페이지 멤버리스트 버튼 */
.profile .user-content .user-btn {
  background-color: #abc;
  width: 50px;
  height: 50px;
  position: absolute;
  right: 25px;
  top: 25px;
  border-radius: 50%;
  z-index: 1;
  cursor: pointer;
  transition-duration: 0.3s;
  animation: pop-btn 0.3s both ease-in-out 0.5s;
  margin-top: 20px;
}

@keyframes pop-btn {
  0% {
    transform: scale(0);
  }

  80% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.profile .user-content .user-btn:hover {
  box-shadow: 0 0 0 5px rgba(170, 187, 204, 0.5);
}

.profile .user-content .user-btn span {
  width: 60%;
  height: 2px;
  position: absolute;
  background-color: white;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
  animation: to-hamburger 0.3s forwards ease-in-out;
}

.profile .user-content .user-btn span::before,
.profile .user-content .user-btn span::after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: white;
  transition-duration: 0.3s;
  transform: rotate(0deg);
  right: 0;
}

.profile .user-content .user-btn span::before {
  margin-top: -7px;
}

.profile .user-content .user-btn span::after {
  margin-top: 7px;
}

.profile .user-content .user-btn.active span {
  animation: to-arrow 0.3s forwards ease-in-out;
}

.profile .user-content .user-btn.active span::before,
.profile .user-content .user-btn.active span::after {
  width: 60%;
  left: -1px;
}

.profile .user-content .user-btn.active span::before {
  transform: rotate(-45deg);
}

.profile .user-content .user-btn.active span::after {
  transform: rotate(45deg);
}

@keyframes to-hamburger {
  from {
    transform: translateY(-50%) rotate(-180deg);
  }
}

@keyframes to-arrow {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(180deg);
  }
}

.profile .box {
  width: 150px;
  height: 150px;
  opacity: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 50%;
  right: -40%;
  transform: translate(-50%, -50%);
  transition-duration: 0.3s;
}

.profile .box i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ececec;
  font-size: 26px;
  text-align: center;
  line-height: 50px;
  position: absolute;
  left: 18px;
  top: calc(75px - 50px/2);
  box-shadow: 0 0 0.5rem #babbbc;
  transition-duration: 0.3s;
}

.profile .box i:hover {
  transition-delay: initial !important;
  box-shadow: 0 0 0 5px #babbbc;
}

.profile .box.open {
  opacity: 1;
}

.profile .box.open i {
  left: 60px;
}

.profile .box.open i:nth-of-type(1) {
  transform: rotate(-90deg) translateX(120px) rotate(90deg);
  transition-delay: 0s;
}

.profile .box.open i:nth-of-type(2) {
  transform: rotate(-45deg) translateX(120px) rotate(45deg);
  transition-delay: 0.1s;
}

.profile .box.open i:nth-of-type(3) {
  transform: rotate(0deg) translateX(120px) rotate(0deg);
  transition-delay: 0.2s;
}

.profile .box.open i:nth-of-type(4) {
  transform: rotate(45deg) translateX(120px) rotate(-45deg);
  transition-delay: 0.3s;
}

.profile .box.open i:nth-of-type(5) {
  transform: rotate(90deg) translateX(120px) rotate(-90deg);
  transition-delay: 0.4s;
}

@media (max-width:768px) {
  .profile {
    width: 80%;
    height: 140px;
    position: relative;
    transform: translate(0%, 1%);
    border-radius: 5px;
    background-color: #fafafa;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    animation: show-profile 0.5s forwards ease-in-out;
    margin: auto;
    margin-left: 45px;
    margin-bottom: 20px;
  }

  .profile .user-content::before {
    content: "";
    position: absolute;
    width: 85%;
    height: 400px;
    background-color: #5797cb;
    left: 0;
    top: -30px;
    z-index: -1;
    transform: rotate(-8deg);
  }

  .profile .user-content .text {
    margin-top: 20px;
    margin-left: 40px;
  }

  .profile .photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fafafa;
    background-color: #fafafa;
    margin-left: -40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    animation: rotate-photo 0.5s forwards ease-in-out;
  }
}

/* 그룹 매니저 */
.groupmanager .profile .user-content .text {
  margin-top: 40px;
}

.groupmanager .profile .user-content .text h3 {
  font-size: 22px;
  padding: 0;
}

.groupmanager .profile .user-content .text h6 {
  font-size: 18px;
  padding: 0;
}

.groupmanager .manager {
  width: 90%;
  max-width: 480px;
  margin: 10px auto;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  border-radius: 5px;
}

.groupmanager .responsive-table {
  grid-template-columns: 1fr 1fr;
}

.couponHave {
  width: 90%;
  max-width: 480px;
  margin: 10px auto;
  border-top: 2px solid #f7f7f7;
  border-bottom: 2px solid #f7f7f7;
  padding: 20px;
  text-align: center;
  grid-column-start: 1;
  grid-column-end: 3;
}

.manage {
  display: grid;
  grid-gap: 10px;
  text-align: center;
  background-color: #fafafa;
  padding-top: 10px;
}

.manage input {
  margin: auto;
  width: 90%;
}

.subId,
.subGroupName {
  font-size: 18px;
}

.manageInfo h3 {
  font-size: 16px;
}

.btn-primary {
  background: #5797cb;
  color: #fff;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.couponHave h1 {
  display: inline;
  vertical-align: middle;
  line-height: normal;
  padding: 0 0.5em;
}

.couponHave i {
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  padding: 15px 0;
  font-size: 24px;
  text-shadow: 0 4px 6px rgba(62, 57, 107, .18);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  vertical-align: middle;
  line-height: normal;
}

.subName i {
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  text-shadow: 0 4px 6px rgba(62, 57, 107, .18);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  margin-right: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.bg-c-blue {
  background: #4099ff;
}