.hidden {
  display: none;
}
body {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 세로 중앙 정렬 */
  align-items: center; /* 가로 중앙 정렬 */
  margin-left: 200px; /* 사이드바 공간 확보 */
  color: white;
}

/* 사이드 바 */
.side-bar {
  position: fixed;
  top: 0;
  left: 0;
  /* display: flex; */
  /* flex-direction: column; */
  text-align: center;
  width: 200px;
  height: 100vh;
  color: white;
  background-color: rgba(0,0,0,0.6);
  padding: 20px;

}
#today {
  margin-top: 100px;
}
#weather-container {
  margin-top: 80px;
}
#weather-container h3 {
  margin-bottom: 10px;
}
#weather-container p {
  margin: 5px;
  /* font-size: 1rem; */
}
#logout {
  border-radius: 5px;
  padding: 5px 10px;
  margin-top: 100px;
}
#logout:hover {
  background-color: #8a8a8a;
}

/* 메인 화면 */
#title {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 50px;
  font-size: 2.3rem;
}
#characters {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}
#characters img:hover { 
  transform: scale(1.1);
}
#joy {
  width: 150px;
  height: 260px;
  margin-right: 25px;
}
#anger {
  width:110px;
  height: 170px;
  margin-bottom: 10px;
  margin-left: 25px;
  margin-right: 15px;
}
#sadness {
  width: 150px;
  height: 200px;
  margin-bottom: 10px;
  margin-left: 10px;
}
#disgust {
  width: 160px;
  height: 230px;
}
#fear {
  width: 130px;
  height: 240px;
}
/* 선택된 캐릭터 효과 */
.selected {
  filter: drop-shadow(0 0 10px rgb(255, 255, 255)); /* 캐릭터 테두리대로 효과 */
  transform: scale(1.1); /* 선택된 캐릭터 확대 */
  /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
}

#login-form {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 5px;
}
#login-form input {
  border-radius: 10px;
  padding: 8px 15px;
}
#login-form input:last-child:hover {
  background-color: rgba(39, 153, 10, 0.567);
}

.profile-container {
  flex: 1;
  display: flex;
  justify-content: center; /* 세로 중앙 정렬 */
  align-items: center; /* 가로 중앙 정렬 */
  margin-left: 200px; /* 사이드바 공간 확보 */
  margin-top: 30px;
  padding: 0;
}

#profile {
  border: 2px solid black;
  border-radius: 10px;
  padding: 20px;
  /* padding-bottom: 0px; */
  background-color: rgba(255, 255, 255, 0.6);
  height: 300px;
}
#todo-container {
  border: 2px solid black;
  border-radius: 10px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.6);
  height: 300px;
}
#profile-username {
  text-align: center;
}
#todo-container {
  margin: 50px 20px;
  padding-right: 35px; 
}
#todo-form input {
  width: 100%;
  padding: 5px 8px;
  border-radius: 5px;
}
#todo-list span {
  margin-right: 10px;
}
#todo-list button {
  border: 0.1px solid black;
  border-radius: 10px;
}
#todo-list button:hover {
  background-color: rgb(247, 137, 137);
}
