body {
  margin: 0;
  background-color: #002832;
  font-family: 'Noto Sans KR', sans-serif;
}

:root {
  color-scheme: light only;
}

i {
  color: white;
}

.top-area-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* 필요에 따라 조절할 수 있습니다. */
  background-color: #fff;
  /* 배경색을 원하는 색상으로 설정합니다. */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* 그림자 효과를 추가할 수 있습니다. */
}




a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: #002832;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-area {
  background-color: #ff3ca0;
  width: 100%;
  height: 100px;
  position: relative;
}

.top-area-logo {
  width: 150px;
  height: 120px;
  align-items: center;
  cursor: pointer;
  position: fixed;
}

.nav-myprofileBt {
  width: 30px;
  height: 30px;
  position: fixed;
  top: 20px;
  right: 10px;
  cursor: pointer;
}

.menu-bar {
  position: fixed;
  top: 16px;
  left: 20px;
  font-size: 24px;
  cursor: pointer;
}

.menu-bar-text {
  font-weight: bold;
  font-size: 25px;
}


.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  /* 메뉴 영역을 왼쪽으로 숨김 */
  width: 300px;
  height: 100%;
  background-color: #ff3ca0;
  transition: left 0.3s ease;
  /* left 속성에 트랜지션 적용 */
  z-index: 100;
  background-image: url('https://ik.imagekit.io/wlalafg7g/GoalPostAgain/logo/%EC%83%81%EC%96%B4(opacity5_).png?updatedAt=1707219499837');
  background-repeat: no-repeat;
  background-position: -250px -100px;
}

.nav-menu-img {
  width: 30%;
  height: 28%;
  margin-left: 30px;
  margin-bottom: 20px;
  cursor: pointer;
}

.side-menu ul {
  list-style: none;
  padding-top: 70px;
  padding-left: 0px;
}

.side-menu ul li {
  width: 250px;
  margin: 30px;
  /* border-bottom: 1px solid white; */
}


.nav-menu-font {
  text-decoration: none;
  color: white;
  font-size: 35px;
  display: block;
  margin-left: 5%;
  font-weight: 800;
}

.nav-login {
  width: 100%;
  height: 12%;
  background-color: #002832;
  top: 100%;
  color: white;
  font-size: 130%;
  font-weight: 500;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: sticky;
  cursor: pointer;
}

.nav-login-img-area {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-top: 5%;
  cursor: pointer;
}

.nav-login-img {
  width: 5%;
  height: auto;
  cursor: pointer;
}

.home-main {
  width: 800px;
  height: 1700px;
  background-color: #002832;
  margin: 10% auto 0px auto
}

.site-footer {
  width: 100%;
  box-sizing: border-box;
  margin-top: 24px;
  padding: 8px 16px;
  background-color: #002832;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0;
  text-align: center;
}

.white-main {
  width: 800px;
  height: 90%;
  background-color: white;
  margin: 0px auto 0px auto;
  border-radius: 8px;
}

.whole-white-main {
  width: 800px;
  height: 90%;
  background-color: white;
  margin: 0px auto 0px auto;
}

/* 이미지 스타일 */
img {
  max-width: 500px;
  /* 최대 너비 */
  max-height: 400px;
  /* 최대 높이 */
  width: auto;
  /* 자동으로 너비 조절 */
  height: auto;
  /* 자동으로 높이 조절 */
}




.prediction-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.prediction-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 18px;
  border: 1px solid #e4edf0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fff6fb 100%);
  box-shadow: 0 10px 30px rgba(9, 47, 56, 0.06);
}

.prediction-team {
  flex: 1;
  text-align: center;
}

.prediction-team-logo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  object-fit: contain;
}

.prediction-team-name {
  display: block;
  margin-top: 8px;
  color: #092f38;
  font-size: 22px;
  font-weight: 800;
}

.prediction-vs {
  min-width: 52px;
  color: #ff3ca0;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.prediction-meta {
  margin: 18px 0 10px;
  color: #586c72;
  font-size: 14px;
  text-align: center;
}

.prediction-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px auto 18px;
  padding: 18px 14px;
  border: 1px solid #e4edf0;
  border-radius: 12px;
  background: #fbfdfd;
  text-align: center;
}

.prediction-score-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
  margin-bottom: 14px;
}

.prediction-score-input {
  width: 78px;
  min-height: 44px;
  border: 1px solid #cbd8da;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.prediction-submit-button {
  min-width: 150px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #ff3ca0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 60, 160, 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.prediction-submit-button:hover {
  background: #e72d8c;
  box-shadow: 0 10px 22px rgba(255, 60, 160, 0.32);
  transform: translateY(-2px);
}

.prediction-submit-button:active {
  transform: translateY(0);
}

.prediction-closed-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px auto 18px;
  padding: 18px 14px;
  border: 1px solid #f4b3d3;
  border-radius: 12px;
  background: #fff0f7;
  color: #8e2459;
  text-align: center;
}

.prediction-pick-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: #092f38;
  font-weight: 600;
}

.prediction-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #dfe8eb;
  border-radius: 999px;
  background: white;
}

.prediction-list {
  margin-top: 26px;
  padding: 18px 14px;
  border: 1px solid #e4edf0;
  border-radius: 12px;
  background: white;
}

.prediction-list h3 {
  margin: 0 0 14px;
  color: #092f38;
  font-size: 22px;
  font-weight: 800;
}

.prediction-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-top: 1px solid #edf2f3;
  color: #092f38;
}

.prediction-row:first-child {
  border-top: 0;
}

.prediction-user {
  font-weight: 700;
}

.prediction-score-badge {
  text-align: center;
  color: #ff3ca0;
  font-weight: 800;
}

.prediction-pick-badge {
  text-align: right;
  font-weight: 700;
}

.prediction-empty {
  margin-top: 20px;
  padding: 24px 16px;
  border: 1px dashed #d4dddf;
  border-radius: 10px;
  background: #f8fbfb;
  color: #5d6f73;
  text-align: center;
}

.prediction-history-list {
  margin-top: 34px;
}

.prediction-history-item {
  padding: 18px 10px;
  border-top: 1px solid #edf2f3;
}

.prediction-history-item:first-of-type {
  border-top: 0;
}

.prediction-history-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.prediction-history-team {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #092f38;
  font-weight: 800;
}

.prediction-history-team:last-child {
  justify-content: flex-end;
}

.prediction-history-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.prediction-history-score {
  color: #ff3ca0;
  font-size: 20px;
  white-space: nowrap;
}

.prediction-history-meta {
  margin-top: 10px;
  color: #6b7c80;
  font-size: 13px;
  text-align: center;
}

.prediction-history-votes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.prediction-history-votes span {
  padding: 6px 9px;
  border-radius: 6px;
  background: #f8fbfb;
  color: #52676c;
  font-size: 12px;
}

.prediction-history-votes .prediction-correct-vote {
  background: #e5f7ec;
  color: #18743d;
  box-shadow: inset 0 0 0 1px #9bd6ae;
}

@media (max-width: 700px) {
  .prediction-card {
    flex-direction: row;
    gap: 4px;
    padding: 14px 8px;
  }

  .prediction-team {
    min-width: 0;
  }

  .prediction-team-logo {
    width: 58px;
    height: 58px;
  }

  .prediction-team-name {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .prediction-vs {
    min-width: 28px;
    font-size: 16px;
  }

  .prediction-meta {
    margin: 12px 0 8px;
    font-size: 12px;
  }

  .prediction-form {
    margin: 14px auto 12px;
    padding: 12px 8px;
  }

  .prediction-score-inputs {
    gap: 8px;
    margin-bottom: 10px;
  }

  .prediction-score-input {
    width: 58px;
    min-height: 38px;
    font-size: 16px;
  }

  .prediction-submit-button {
    min-width: 126px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .prediction-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 4px;
    padding: 9px 4px;
    text-align: left;
    font-size: 11px;
  }

  .prediction-user,
  .prediction-score-badge,
  .prediction-pick-badge {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .prediction-score-badge {
    justify-self: center;
    font-size: 13px;
  }

  .prediction-pick-badge {
    text-align: right;
  }

  .prediction-history-match {
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
  }

  .prediction-history-team {
    gap: 5px;
    min-width: 0;
    font-size: 12px;
  }

  .prediction-history-team:last-child {
    justify-content: flex-end;
  }

  .prediction-history-logo {
    width: 30px;
    height: 30px;
  }

  .prediction-history-score {
    font-size: 16px;
  }
}

::-webkit-scrollbar {
  width: 2px;
  /* 스크롤바 너비 */
}

::-webkit-scrollbar-thumb {
  background-color: gray;
  /* 스크롤바 색상 */
}

.notice-title {
  color: white;
  margin-top: 80px;
  margin-bottom: 20px;
  font-size: 30px;
  text-align: center;
  padding-top: 50px;
}


@media only screen and (max-width: 1024px) {
.side-menu {

  left: -100%;
  /* 메뉴 영역을 왼쪽으로 숨김 */
  width: 100%;
  height: 100%;
  background-color: #ff3ca0;
  transition: left 0.3s ease;
  /* left 속성에 트랜지션 적용 */
  z-index: 100;
  background-image: url('https://ik.imagekit.io/wlalafg7g/GoalPostAgain/logo/%EC%83%81%EC%96%B4(opacity5_).png?updatedAt=1707219499837');
  background-repeat: no-repeat;
  background-position: -250px -100px;
}
}



@media only screen and (max-width: 500px) {

  /* 핸드폰 크기에 맞게 스타일을 조정합니다. */
  .home-main,
  .white-main {
    width: 100%;
    border-radius: 0px;
  }



  .top-area {
    background-color: #ff3ca0;
    width: 100%;
    height: 70px;
  }

  .top-area-logo {
    width: 72px;
    height: 54px;
    align-items: center;
    cursor: pointer;
  }

  .notice-title {
    color: white;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 30px;
    text-align: center;
  }

  .white-bg {
    padding: 3px;
    margin: 3px;
  }

  /* 이미지 스타일을 조정합니다. */
  img {
    max-width: 100%;
    height: auto;
  }

  .detail-bg {
    padding: 5px;
    margin: 6px;
    border-radius: 2px;
  }

  .overlay-text {
    left: 35%;
  }


}

@media only screen and (min-width: 500px) and (max-width: 1000px) {

  .home-main,
  .white-main {
    width: 480px;
    border-radius: 0px;
  }
  .top-area-logo {
    width: 90px;
    height: auto;
    align-items: center;
    cursor: pointer;
  }
}