/* 设置选择框外观样式 */
.select-boxes {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select-boxes select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 18px;
  color: #333;
}

/* 隐藏选择框的下拉箭头 */
.select-boxes select {
  -webkit-appearance: none; /* Safari 和 Chrome */
  -moz-appearance: none; /* Firefox */
  appearance: none; /* 其他浏览器 */
  background-image: none; /* 移除默认的下拉箭头图标 */
}

/* 设置全局样式 */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 400px;
  margin: 50px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* 设置城市信息样式 */
#city {
  font-size: 24px;
  font-weight: bold;
}

/* 设置真太时样式 */
.result {
  margin-top: 2px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 20px;
  line-height: 1.6;
}

#zhentaishi {
    text-align: center;
    margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #007bff;
}
#nongli {
    text-align: center;
    margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #007bff;
}
#tianwen {
    margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #007bff;
}
/* 设置文本框样式 */
#text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 38px;
  font-weight: bold;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(45deg, #3f51b5, #2196f3);
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(63, 81, 181, 0.8), 0 0 40px rgba(63, 81, 181, 0.6), 0 0 50px rgba(63, 81, 181, 0.4);
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.3s ease-in-out;
}

#text:hover {
  transform: rotateY(360deg) scale(1.2);
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

header {
  background-color: #1E90FF; /* 蓝色背景 */
  color: #FFFFFF; /* 白色文字 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

li {
  margin: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease; /* 添加颜色过渡动画 */
}

a:hover {
  color: #FFD700; /* 鼠标悬停时的颜色 */
}
