body {
  font-family: 'Lato', sans-serif;
  background-color: #fff;
}

.navbar-brand {
	font-weight: 900;
	text-transform: uppercase;
	font-size: 16px;
	color: white;
}
#nation h3,
#people h3,
#figures h3,
#event h3 {
  font-size: 28px;
  font-weight: 700;
  color: #6A7DF5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  background: linear-gradient(120deg, #6A7DF5, #6473ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 第二排板块标题样式 */
#blackwrap .block h4 {
  font-size: 18px;
  font-weight: 700;
  color: #6A7DF5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  background: linear-gradient(120deg, #6A7DF5, #6473ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navbar-inverse .navbar-brand {
    color: #ddd;
}

.navbar-inverse {
	background-color: transparent;
	border: 0px;
}

.starter-template {
  padding: 40px 15px;
  text-align: center;
}

.mt-main {
	margin-top: 120px;
}

.mt-row {
	margin-top: 80px;
	margin-bottom: 80px;
}
.tlinks{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
#headerwrap {
	background: url(../img/header.webp) no-repeat center top;
	padding-top: 180px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 700px;
	width: 100%;
	color: white;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap h1 {
	font-weight: 900;
	font-size: 70px;
}

#headerwrap h2 {
	color: #ddd;
	font-size: 22px;
	font-weight: 300;
}

.btn {
	margin-right: 15px;
	padding-left: 18px;
	padding-right: 18px;
	padding-top: 12px;
	padding-bottom: 12px;
	font-weight: 300;
}

.btn-transparent {
	background-color: transparent;
	border: 1px solid white;
	color: white;
}

.btn-transparent:hover {
	background-color: white;
	border: 1px solid white;
	color: #010101;
}

h3 {
	font-weight: 300;
}

p {
	font-weight: 300;
}

#gwrap {
	background-color: #fbfcfe;
	padding-top: 60px;
	padding-bottom: 60px;
	border-top: 1px solid #eff0f2;
	border-bottom: 1px solid #eff0f2;
	width: 100%;
}

#gwrap .mac {
	padding-left: 0px;
	margin-left: 0px !important;
}

#blackwrap {
	background-color: #272729;
	padding-top: 60px;
	padding-bottom: 60px;
	border-top: 1px solid #eff0f2;
	width: 100%;
	color: white;
}

#blackwrap h2 {
	color: white;
	font-weight: 100;
	text-align: center;
	margin-bottom: 30px;
}

.block {
	background-color: #ffffff;
	border-radius: 5px;
	color: black;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 40px;
	padding-bottom: 40px;
	margin: 10px;
	text-align: center;
}

.block .fa {
	color: #2cce78;
	font-size: 22px;
}

.block h4 {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 20px;
}

.block p {
	font-weight: 300;
	font-size: 14px;
}

.subscribe-input {

  font-size: 14px;
  border-radius:3px;
  line-height: 24px;
  padding: 12px 15px;
  border: none;
  margin-bottom: 10px;
  background-color: #e9f0f2;
	float: left;
	width: 70%;
	text-align: left;
  margin-right: 2%;
}

.subscribe-submit {
	position: absolute;
	right: 0;
	padding-left: 28px;
}

@media (max-width: 768px) {
  .subscribe-input {
    float: none;
  	width: 100%;
  	text-align: left;
    margin-right: 0;
  }
}

/* Button used in the footer - contact form */
.btn-submit {
	color: #fff;
	font-size: 14px;
	border-radius: 3px;
	text-decoration: none;
	display: inline-block;
	line-height: 24px;
	padding: 12px 20px;
	z-index: 1;
	position: relative;
	border: none;
  text-transform: uppercase;
	background: #5cb85c;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #329532;
  color: #fff;
}

/* Contact Form */

#contact {
  padding: 40px 0;
  background: #f8f8f8;
}

#contact h3 {
  text-align: center;
  margin-bottom: 25px;
}

.contact-form label {
   color: #999;
}

.contact-form input, .contact-form textarea {
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
}

.contact-form .form-send {
  text-align: center;
}

.contact-form .form-send button  {
  background: #5cb85c;
  border: 0;
  padding: 12px 20px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
  font-size: 14px;
  margin-top: 15px;
}

.contact-form .form-send button:hover {
  background: #329532;
}

.contact-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact-form .loading {
  display: none;
  color: #555;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
}

.contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

/* Copyrights */

#copyrights {
  background: #222222;
  padding: 20px 0;
  text-align: center;
}

#copyrights p {
  margin-bottom: 5px;
  color: #fff;
}

#copyrights a {
  color: #5cb85c;
}

.credits {
  color: #999;
}

/* 打赏二维码样式 */
.donate-qr-code {
  max-width: 160px; /* 你可以根据需要调整这个值 */
  height: auto; /* 保持图片的宽高比 */
}

/* 淡入动画 */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
}

/* 旋转动画 */
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 鼠标悬停时应用旋转动画 */
.rotate-on-hover:hover {
  animation: rotate360 1s linear forwards;
}

/* 左右晃动动画 */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px);
  }
}

/* 鼠标悬停时应用左右晃动动画 */
.shake-on-hover:hover {
  animation: shake 0.5s ease-in-out;
}

/* 放大动画 */
@keyframes scale-up {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* 鼠标悬停时应用放大动画 */
.scale-up-on-hover:hover {
  animation: scale-up 0.3s ease-in-out forwards;
  transform: scale(1.1);
}

/* 浮动动画 */
@keyframes float-left {
  0% {
    transform: translate(-50px, 0) rotate(-30deg) scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    transform: translate(-100px, -100px) rotate(-30deg) scale(1);
    opacity: 0;
  }
}

@keyframes float-right {
  0% {
    transform: translate(50px, 0) rotate(30deg) scale(0.5);
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(100px, -100px) rotate(30deg) scale(1);
    opacity: 0;
  }
}

/* 浮动文本样式 */
.floating-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.floating-text-left {
  left: 50%;
  transform: translateX(-50%);
  animation-name: float-left;
}

.floating-text-right {
  right: 50%;
  transform: translateX(50%);
  animation-name: float-right;
}

#wechat-info .wechat-icons img {
  display: inline-block;
  margin: 0 10px; /* 调整图片之间的间距 */
  vertical-align: middle; /* 确保图片垂直居中 */
  width: 200px; /* 设置图片宽度 */
  height: 200px; /* 设置图片高度 */
}

/* 定义缩放动画 */
@keyframes scale-up {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2); /* 调整放大倍数 */
  }
}

/* 鼠标悬停时应用缩放动画 */
#wechat-info .wechat-icons img:hover {
  animation: scale-up 0.3s ease-in-out forwards;
  transform: scale(1.2); /* 保持放大状态 */
}

/* 确保图片在非悬停状态下恢复原始大小 */
#wechat-info .wechat-icons img {
  display: inline-block;
  margin: 0 10px; /* 调整图片之间的间距 */
  vertical-align: middle; /* 确保图片垂直居中 */
  width: 200px; /* 设置图片宽度 */
  height: 200px; /* 设置图片高度 */
  transition: transform 0.3s ease-in-out; /* 添加过渡效果 */
}