.msg{
      font-size: calc(3vh + 3.5vw);
      font-weight: bold;
      /*font-family: "youshe";*/
}
.msg1{
  font-size: calc(3vh + 1.8vw);
  font-weight: bold;
  /*font-family: "youshe";*/
}
.day{
    font-size: calc(4vh + 2vw);
    margin-bottom: 50px;
    font-family: "zhong";
    font-weight: bold;
}
.countdown{
    font-family: "zhong";
    font-size: calc(3.5vh + 1.8vw);
    display: inline-block;
    /* margin: 0 0 20px 0; */
    font-weight: bold;
}


.words {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  border-radius: 25px;
  padding: 3vh;
  text-align: center;
  overflow: hidden;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0 0 0 / 0);
  -webkit-text-size-adjust: none;
  color: #fff;
  text-shadow: 0 0 5px rgba(0 0 0 / .5);
}

html, body {
  height: 100%;
}

.bgi {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  user-select: none;
  pointer-events: none;
  filter: brightness(.9);
}
.bgi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.container {
  width: 100%;
  min-height: 100%;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner {
  height: 50px;
  width: 100%;
}
.banner .logo {
  text-decoration: none;
  display: inline-block;
  width: auto;
  height: 100%;
  background-color: #007bff;
  color: #fff;
  line-height: 50px;
  padding: 0 25px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  text-shadow: 0 0 5px rgba(0 0 0 / .3);
  transition: background-color .2s;
}
.banner .logo:hover {
  background-color: #3094ff;
}

main .words {
  width: 90%;
  padding-top: 30px;
  padding-left: 20px;
}
main .words span {
  line-height: 1.6;
}

footer {
  padding-bottom: 60px;
}
footer p {
  line-height: 1.5;
  font-size: 15px;
}
footer a {
  transition: color .2s;
}
footer a:hover {
  color: #3094ff;
  text-shadow: 0 0 5px rgba(0 0 0 / 0);
}



    .popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 18px;
  cursor: pointer;
}

/*Lantern*/
/*Lan-END*/


#tp-weather-widget .sw-container {
  left: unset;
  right: 5px;
  top: 5px;
  bottom: unset;
}




/* styles.css */
/* body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
  position: relative;
  font-family: Arial, sans-serif;
} */
/* styles.css */
.bgi1 {
  transition: opacity 0.5s ease-in-out; /* 设置渐变效果 */
  opacity: 1; /* 初始不透明度 */
}

.bgi1.out {
  opacity: 0; /* 变为透明 */
}

    
.content {
  z-index: 1; /* 使得内容在加载动画之下 */
  text-align: center;
}

.loader-overlay {
  position: fixed; /* 固定在视口上 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.7); /* 半透明背景 */
  backdrop-filter: blur(5px); /* 虚化效果 */
  z-index: 2; /* 使得加载动画位于内容之上 */
}

.loader {
  border: 8px solid #f3f3f3; /* 浅灰色 */
  border-top: 8px solid #3498db; /* 蓝色 */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

p {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
  z-index: 2; /* 确保文本位于加载动画之上 */
}

.countdown-container {
  position: relative;
  width: 100%;
  padding: 10px 0;
  margin-top: 20px;
  z-index: 2;
}

.quote-container {
  flex: 1;
  width: 100%;
  padding: 15px;
  font-size: calc(1.8vh + 0.9vw);
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.words {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .words {
    width: 90%;
    height: 60vh;
    padding: 20px;
  }
  
  .msg {
    font-size: calc(2.5vh + 1.2vw);
  }
  .msg1 {
    font-size: calc(2.5vh + 0.6vw);
  }
  
  .day {
    font-size: calc(3.5vh + 1.8vw);
  }
  
  .countdown {
    font-size: calc(3vh + 1.5vw);
  }
  
  .quote-container {
    font-size: calc(1.5vh + 0.8vw);
  }
}

@media screen and (max-height: 600px) {
  .words {
    height: 80vh;
  }
}