@import "reset.css";
@import "time.css";
@import "login.css";
@import "todo.css";
@import "search.css";
@import "star.css";

* {
  box-sizing: border-box;
  outline: none;
}
i {
  text-shadow: 0 0 10px white;
  cursor: pointer;
  animation: breathing 2s ease-in-out infinite;
}

@keyframes breathing {
  0%{
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100%{
    transform: scale(1);
  }
}

.hidden,
#login-form input:last-child {
  display: none;
}

html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: white;
  position: relative;
  overflow: hidden;
}
input:hover::placeholder {
  color: black;
}
input::placeholder {
  color: white;
}
#weather {
  position: absolute;
  right: 20px;
  top: 30px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 30px;
}

#weather-icon {
  margin-top: 10px;
  width: 50px; /* 아이콘 크기 조정 */
  height: 50px;
}

#quote {
  position: absolute;
  bottom: 20px;
  transition: font-size 1s ease-out;
}
#quote:hover {
  font-size: large;
}
.background-video {
  position: fixed; /* 고정 위치 */
  top: 0;
  left: 0;
  width: 100%; /* 화면 크기에 맞게 */
  height: 100%; /* 화면 크기에 맞게 */
  z-index: -1; /* 배경으로 설정 */
  object-fit: cover;
}
.toggle-audio {
  font-size: 30px;
  position: absolute;
  bottom: 20px;
  left: 25px;
  display: inline-block;
}

.toggle-audio.playing {
  animation: rotateIcon 4s infinite linear;
}

@keyframes rotateIcon {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
