@import url(./font.css);

* {
  /*color*/
  margin: 0px;
  padding: 0px;
  --dark: #1a1a1a;
  --dark-2: #3f3f3f;
  --black: #000;
  --white: #fff;
  font-family: "Pretendard-Regular";

  --pink: #ffd4ef;
  --pink-strong: #ff1fa9;
  --text: #929292;
  --form: #fafafa;
}
*::-webkit-scrollbar {
  display: none;
}
body {
  background-color: var(--form);
  max-width: 480px;
  margin: auto;
  max-height: 900px;
}
.wrap {
  width: 100%;
  position: relative;
}
.inner {
  width: 90%;
  margin: auto;
  position: relative;
}
.mobile-show {
  display: none;
}
a {
  text-decoration: none;
  color: var(--black);
}
.hidden {
  width: 0px !important;
  height: 0px !important;
  display: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  border: none !important;
  outline: none !important;
}
#first-section {
  height: calc(var(--vh, 1vh) * 100);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#weather {
  position: relative;
  text-align: center;
}
.under-area {
  position: relative;
  background-color: var(--white);
}
.under-area-img {
  max-width: 400px;
  width: 100%;
  display: block;
  margin: auto;
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
}
.first-section-title {
  text-align: center;
  color: var(--dark);
  font-size: 2rem;
  line-height: 2.5rem;
  padding-top: 48px;
}
.weather-area {
  width: 90vw;
  margin: auto;
  position: fixed;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
}
.weather-icon-area > img {
  display: block;
  width: 100%;
  max-width: 270px;
  margin: auto;
  position: relative;
  z-index: 11;
}
.between-button {
  position: absolute;
  border: 1px solid var(--pink-strong);
  border-radius: 100px;
  width: min-content;
  padding: 12px 24px;
  background-color: var(--dark);
  color: var(--pink);
  box-sizing: border-box;
  font-size: 20px;
  z-index: 10;
  white-space: nowrap;
  left: 50%;
  transform: translate(-50%, -50%);
}
.weather-ondo {
  font-size: 10rem;
  color: var(--dark-2);
  position: absolute;
  padding-top: 5vh;
  opacity: 0.5;
  left: 50%;
  transform: translateX(-50%);
  padding-left: 5rem;
  top: 0px;
  z-index: 10;
}
.weather-name {
  text-align: center;
  font-size: 1rem;
}

#chall_main_section {
  min-height: calc(var(--vh, 1vh) * 100);
  box-sizing: border-box;
  padding-top: 5vh;
}
.top-header-center {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  color: var(--dark);
}
.top-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.top-header-back {
  width: 30px;
  height: 30px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-header-back > img {
  width: 20px;
}
.top-header-right {
  width: 30px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  box-sizing: border-box;
}
.top-header-right > img {
  height: 36px;
}
.item-body {
  margin-top: 24px;
}
.item-body-top {
  width: 100%;
  position: relative;
  background-image: url(../assets/img/chall-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
}
.item-body-top-textarea {
  width: 100%;
  border-radius: 10px;
  justify-content: space-between;
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
  min-height: 120px;

  box-sizing: border-box;
}
.item-body-top-textarea-left {
  padding: 24px;
  width: 80%;
  box-sizing: border-box;
}
.item-body-top-textarea-right {
  width: 20%;
  padding: 24px;
  font-size: 14px;
  background-color: var(--white);
  padding: 20px 12px;
  opacity: 1;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: var(--dark);
  font-weight: bold;
  box-sizing: border-box;
}
.ibtt-title {
  font-size: 14px;
  font-weight: bold;
  margin-top: 8px;
  color: var(--white);
  letter-spacing: 1px;
}
.ibtt-text {
  font-size: 16px;
  color: var(--white);
  font-weight: bold;
  letter-spacing: 1px;
}
.edit-button {
  font-size: 0.8rem;
  color: var(--pink-strong);
  border: 1px solid var(--pink-strong);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  position: absolute;
  bottom: 24px;
}
.location-reload-button {
  width: 120px;
  display: block;
  background-color: var(--pink);
  color: var(--dark-2);
  font-size: 14px;
  height: 36px;
  font-weight: bold;
  border: none;
  outline: none;
  border-radius: 5px;
}
.item-body-grp {
  margin: 12px 0px;
  background-color: #eee;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: left;
  position: relative;
  box-sizing: border-box;
  border-radius: 100px;
}
.item-body-grp-in {
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #bbf246;
  padding: 4px 8px;
  color: var(--text);
  height: 15px;
  box-sizing: border-box;
  border-radius: 100px;
}
.text-dwear {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: bold;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.calendar-grid {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 20px;
}

.calendar-day {
  width: calc(100% / 7);
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  padding: 8px;
  box-sizing: border-box;
  height: 50px;
  background-size: cover;
  background-repeat: no-repeat;
}

.day-date {
  font-size: 10px;
  color: var(--text);
}
.calendar-day.active .day-date {
  color: var(--pink-strong);
}
.day-date {
  font-weight: bold;
}

.day-name {
  color: gray;
  font-size: 10px;
}

div:where(.swal2-container) div:where(.swal2-popup) {
  width: 90vw !important;
}
div:where(.swal2-container) h2:where(.swal2-title) {
  font-size: 20px !important;
}
div:where(.swal2-container) div:where(.swal2-html-container) {
  font-size: 16px !important;
  padding-top: 8px !important;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
  background-color: var(--pink-strong) !important;
}
.add_button {
  width: 100%;
  height: 48px;
  background-color: #eee;
  margin-bottom: 12px;
  display: flex;
  color: var(--dark);
  font-size: 14px;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 5px;
}
.add_button.point {
  background-color: var(--pink);
}
.no-abled {
  opacity: 0.8;
}

.modal-bg {
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  transition: all 0.3s ease;
  top: 0px;
  left: -100%;

  z-index: 20;
}
.modal-content {
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 100);
  box-sizing: border-box;
  padding: 5vh 5vw;
  background-color: var(--white);
  width: 100vw;
}
.modal-title {
  font-size: 1rem;
  text-align: center;
  height: 30px;
  color: var(--dark);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title > div {
  width: 30px;
}
.form-area {
  margin-top: 24px;
}
.form-area img {
  display: block;
  width: 100%;
  border-radius: 10px;
}
.weather-reload-area {
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.weather-reload-area > p {
  width: 100%;
}
.oneline-dairy {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
}
.form-line {
  margin-bottom: 12px;
  width: 100%;
}
.form-label {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 8px;
}
.form-input {
  padding: 12px;
  box-sizing: border-box;
  width: 100%;
  border: none;
  font-size: 12px;
  outline: none;
  height: 40px;
  color: var(--dark);
  background-color: #efefef;
  border-radius: 10px;
}
.image-upload-button {
  width: 100%;
  font-size: 14px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.image-upload-button span {
  width: 100%;
  display: block;
  text-align: center;
  color: var(--text);
}
.image-upload-button p {
  font-size: 3rem;
  width: 100%;
  text-align: center;
  color: var(--text);
}
.submit-button {
  width: 100%;
  height: 42px;
  background-color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 24px;
}
.first-title {
  color: #386182;
  font-size: 38px;
  font-weight: bold;
  font-family: "sb";
  text-align: center;
  line-height: 49px;
  padding-top: 5vh;
}
.message-area {
  width: 270px;
  height: 70px;
  background-image: url(../assets/img/bull.png);
  background-size: cover;
  display: block;
  margin: auto;
  margin-top: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding-top: 18px;
  box-sizing: border-box;
}
.location-name {
  font-size: 16px;
  color: var(--white);
  font-weight: bold;
}
.ondo {
  font-size: 96px;
  color: var(--white);
  font-weight: bold;
  margin-top: 8px;
}
.weather-name {
  color: var(--white);
  font-weight: bold;
  opacity: 0.4;
  margin-bottom: 8px;
}
.line-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.line-flex-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: bold;
  color: var(--white);
}

#login-button {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}
.item-body-calrendar {
  margin-top: 24px;
  margin-bottom: 24px;
}
.calendar-controls {
  display: flex;
  align-items: center;
  font-size: 24px;
  gap: 4px;
  justify-content: left;
}
.calendar-controls > a {
  display: flex;
  align-items: center;
}
.calendar-controls > a > img {
  width: 28px;
}
.table-ceil {
  width: calc(100% / 7);
  padding: 8px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
}
.calendar-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--black);
}
.calendar-weekday {
  text-align: center;
  justify-content: center;
  font-size: 12px;
  height: auto !important;
  padding: 12px 0px !important;
}
.no_started_date,
.ceil-null {
  opacity: 0.3;
}
.pojo {
  background-color: var(--pink);
  border: 1px solid var(--pink);
}
.thisistoday {
  color: var(--pink-strong);
}
#oneline-dir {
  height: 50px;
  resize: none;
}
