:root {
  --content-width: 750px;
  --header-height: 6rem;
}

* {
  outline: none;
}

html,
body {
  height: 100%;
  margin: 0 auto;
  max-width: var(--content-width);
  scroll-behavior: smooth;
}

body.scroll-lock {
  overflow: hidden !important;
  overscroll-behavior: contain;
  position: relative !important;
  padding-left: 0;
  padding-top: 0;
  padding-right: 0;
  margin-left: 0;
  margin-top: 0;
  margin-right: 0;
}

html {
  font-size: 20px;
}

body {
  font-family: "Pretendard", sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: #161010;
  -ms-overflow-style: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -khtml-user-select: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  word-break: keep-all;
}

body {
  --popup-btn-color: #fff;
  --popup-btn-bg-color: #1d1d72;
  --popup-btn-shadow: 0px 0px 12px 0px rgba(29, 166, 80, 0.48) inset, 1px 1px 3px 0px #60775e,
  2px 16px 24px 0px rgba(130, 129, 116, 0.24);
  --popup-btn-border-color: #1d1d72;
  --form-btn-color: #fff;
  --form-btn-bg-color: #1d1d72;
  --form-btn-border-color: #1d1d72;
  --form-btn-shadow: 0px 0px 12px 0px rgba(29, 166, 80, 0.48) inset, 1px 1px 3px 0px #60775e,
  2px 16px 24px 0px rgba(130, 129, 116, 0.24);
}

img {
  display: block;
  -webkit-touch-callout: none;
  object-fit: cover;
  width: 100%;
}

button {
  cursor: pointer;
}

::-webkit-scrollbar {
  display: none;
}

.event-section {
  position: relative;
}
.d-none {
  display: none !important;
}

.wrapper {
  width: 100%;
  padding: 0 1.8rem;
  box-sizing: border-box;
}

body:not(.list) #content {
  padding-top: var(--header-height);
}
body:not(.list) header {
  position: fixed;
  top: 0;
  max-width: var(--content-width);
}

/* S: header */
header {
  width: 100%;
  height: var(--header-height);
  padding: 1.6rem 1.8rem;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 10;
}
header .inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .header-btn {
  position: absolute;
  width: 2.4rem;
}
header .header-btn-r {
  right: 0;
}
header .header-btn-l {
  left: 0;
}
header #header-title {
  font-size: 2.4rem;
  font-weight: 700;
}
/* E: header */

/* S: popup */
#popup-wrap {
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--content-width);
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
#popup-wrap .popup-item {
  padding: 2.8rem 2rem 2rem;
  width: 33.5rem;
  border-radius: 2rem;
  background-color: #fff;
  box-shadow: 0px 0.2rem 1.2rem 0px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.popup-item .popup-contents-wrap {
  margin-bottom: 2.8rem;
}
.popup-contents-wrap .popup-icon {
  margin: 0 auto 1.6rem;
  width: 4.8rem;
  stroke: var(--popup-btn-color);
}
.popup-contents-wrap .popup-text {
  color: #292d33;
  text-align: center;
  font-feature-settings: "case" on;
  font-family: "Pretendard";
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.4rem; /* 133.333% */
  letter-spacing: -0.72px;
}
.popup-contents-wrap .popup-password {
  margin-top: 1.2rem;
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: 0.4rem;
  border: 1px solid #ddd;
  text-align: center;
}
.popup-contents-wrap .popup-password::placeholder {
  color: #aaa;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2rem;
  letter-spacing: -0.28px;
}
.popup-btns-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.popup-btns-wrap .popup-btn {
  flex: 1;
  padding: 0.8rem 1.6rem;
  box-sizing: border-box;
  border: 1px solid var(--popup-btn-color);
  border-radius: 0.8rem;
}
.popup-btns-wrap .popup-btn.cancel {
  background-color: #fff;
  color: var(--popup-btn-color);
}
.popup-btns-wrap .popup-btn.confirm {
  background-color: var(--popup-btn-color);
  color: #fff;
}
/* E: popup */

/* S: Privacy-policy */
.privacy-policy-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.privacy-policy-wrapper .text {
  font-size: 1.4rem;
}
.privacy-policy-wrapper .title {
  font-size: 1.8rem;
  font-weight: 600;
}
.privacy-policy-wrapper .title-sub {
  font-size: 1.4rem;
  font-weight: 600;
}
.privacy-policy-wrapper .list {
  font-size: 1.2rem;
  list-style-type: disc;
  list-style-position: inside;
}
.privacy-policy-wrapper .contents-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.contents-wrap .item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* E: Privacy-policy */

/* S: Floating Btns */
#floating-wrapper {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: var(--content-width);
  z-index: 20;
}
#floating-wrapper.is-fade-out {
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
.btns-wrap .inner {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 1.2rem;
}
.btns-wrap .inner button {
  border-radius: 50%;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.2);
}
.btns-wrap .inner img {
  width: 6.2rem;
}

#share-btns-wrap {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: var(--content-width);
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
  overscroll-behavior: contain;
}

#share-btns-wrap button {
  opacity: 0;
}

#share-btns-wrap.open {
  pointer-events: auto;
  animation-name: opacity1;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
#share-btns-wrap.open button {
  animation-name: opacity1;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: var(--delay);
}
#share-btns-wrap .share-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #fff;
  text-align: right;
  font-feature-settings: "case" on;
  text-shadow: 0px 0.4rem 1.2rem rgba(0, 0, 0, 0.2);
  font-family: "Pretendard";
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4; /* 142.857% */
  letter-spacing: -0.28px;
}
#share-btns-wrap .share-btn span {
  position: absolute;
  right: calc(100% + 2.4rem);
}

@keyframes opacity1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* E: Floating Btns */

@media screen and (max-width: 750px) {
  html {
    font-size: 2.6666vw;
  }
}

/* S: alertPopup */
.alert-popup-wrap {
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--content-width);
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.alert-popup-wrap .alert-popup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.8rem 2rem 2rem;
  width: 33.5rem;
  border-radius: 2rem;
  background-color: #fff;
  box-shadow: 0px 0.2rem 1.2rem 0px rgba(0, 0, 0, 0.1);
}
.alert-popup-contents {
  color: #292d33;
  text-align: center;
  font-feature-settings: "case" on;
  font-family: "Pretendard";
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.4rem; /* 133.333% */
  letter-spacing: -0.72px;
}
.alert-popup-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  gap: 0.6rem;
}
.alert-popup-btns .alert-popup-btn {
  flex: 1;
  padding: 0.8rem 1.6rem;
  box-sizing: border-box;
  border: 1px solid var(--popup-btn-bg-color);
  border-radius: 0.8rem;
  background: var(--popup-btn-bg-color);
  color: var(--popup-btn-color);
}
/* E: alertPopup */

/* S: modal */
.modal-wrap {
  position: fixed;
  top: 0;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: var(--content-width);
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  overflow-y: auto;
}
.modal-wrap .modal-item {
  margin: auto;
  padding: 2.8rem 2rem 2rem;
  width: 33.5rem;
  border-radius: 2rem;
  background-color: #fff;
  box-shadow: 0px 0.2rem 1.2rem 0px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.modal-wrap .modal-contents-wrap {
  margin-bottom: 2.8rem;
}
.modal-wrap .modal-icon {
  margin: 0 auto 1.6rem;
  width: 4.8rem;
  stroke: var(--popup-btn-color);
}
.modal-wrap .modal-text {
  color: #292d33;
  text-align: center;
  font-feature-settings: "case" on;
  font-family: "Pretendard";
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.4rem; /* 133.333% */
  letter-spacing: -0.72px;
}
.modal-wrap .modal-btns-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.modal-wrap .modal-btn {
  flex: 1;
  padding: 0.8rem 1.6rem;
  box-sizing: border-box;
  border: 1px solid var(--popup-btn-bg-color);
  border-radius: 0.8rem;
}
.modal-wrap .modal-btn.cancel {
  background: var(--popup-btn-color);
  color: var(--popup-btn-bg-color);
}
.modal-wrap .modal-btn.confirm {
  background: var(--popup-btn-bg-color);
  color: var(--popup-btn-color);
}

/* S: modal - PasswordModal */
.modal-wrap .modal-password {
  margin-top: 1.2rem;
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: 0.4rem;
  border: 1px solid #ddd;
  text-align: center;
}
.modal-wrap .modal-password::placeholder {
  color: #aaa;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2rem;
  letter-spacing: -0.28px;
}
/* E: modal - PasswordModal */

/* S: modal - PersonalInfoModal */
.modal-personal-info .modal-item {
  padding: 2.8rem 2.8rem 2rem 2.8rem;
}
.modal-personal-info .modal-contents-wrap {
  margin-bottom: 4rem;
}
.modal-personal-info .modal-title-wrap {
  margin-bottom: 2rem;
}
.modal-personal-info .modal-title {
  margin-bottom: 0.4rem;
  font-size: 2.1rem;
  font-weight: bold;
  text-align: center;
}
.modal-personal-info .modal-small-text {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  color: #888;
}
.modal-personal-info .modal-text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}
.modal-personal-info .modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.modal-personal-info .modal-form .form-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.modal-personal-info .modal-form .form-item label {
  min-width: 5rem;
  color: #131313;
  font-feature-settings: "case" on;
  font-family: "Pretendard";
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 42px */
  letter-spacing: -0.84px;
  text-align: left;
}
.modal-personal-info .modal-form .form-item input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  border: 1px solid #d6d6d6;
  background: #fff;
}
.modal-personal-info .modal-btns-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.modal-personal-info .modal-btns-wrap button {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 1.2rem;
  font-size: 1.4rem;
}
.modal-personal-info .modal-btns-wrap button.confirm {
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  border-radius: 1.5rem;
  border: 4px solid var(--form-btn-border-color);
  /* background: linear-gradient(148deg, rgba(168, 224, 129, 0.4) 18.04%, rgba(1, 119, 53, 0.4) 81.96%),
    #00a348; */
  background-blend-mode: multiply, normal;
  /* box-shadow: 0px 0px 12px 0px rgba(29, 166, 80, 0.48) inset, 1px 1px 3px 0px #60775e,
    2px 16px 24px 0px rgba(130, 129, 116, 0.24); */
  background: var(--form-btn-bg-color);
  box-shadow: var(--form-btn-shadow);
}
.modal-personal-info .modal-btns-wrap button.cancel {
  border: none;
  background: transparent;
  color: #1c1e1b;
}
/* E: modal - PersonalInfoModal */

#form-wrap,
#popup-wrap,
.modal-wrap,
.alert-popup-wrap {
  pointer-events: auto;
}
/* E: modal */
