/* styles.css */
/* 主体部分 */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #333;
  color: #fff;
}

.header {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  text-align: center; /* 让内容居中对齐 */
}

.header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  align-items: center; /* 垂直居中 */
}

.logo {
  display: inline-block;
  margin-right: 130px; /* 可以根据需要调整间距 */
}

.logo img {
  width: 120px; /* 设置Logo的宽度 */
  height: auto;
}

.text {
  display: inline-block;
}

.text p {
  font-size: 70px; /* 设置文字的字号 */
  margin-top: 10px; /* 将文本向上移动，根据需要调整值 */
}

.friends {
  max-height: 300px;
  max-width: 200px;
  display: flex; /* 使用 flex 布局 */
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1px 10px;
  margin-bottom: 20px;
  text-align: center;
}

.friends img {
  margin-top: 9px;
  border-radius: 10px;
}

.friends name {
  margin: 9px;

}

.friends {
  transition: transform 0.3s ease; /* 设置过渡效果 */
}

.friends:hover {
  transform: scale(1.2); /* 放大效果 */
}

.friends-box {
  margin-top: 50%;
}

@media (max-width: 768px) {
  .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex; /* 使用 flex 布局 */
    flex-direction: column;
    align-items: center; /* 垂直居中 */
  }

  .logo {
    display: inline-block;
    margin-right: 0px; /* 可以根据需要调整间距 */
  }

  .logo img {
    width: 120px; /* 设置Logo的宽度 */
    height: auto;
  }

  .text {
    display: inline-block;
    margin-top: 13px;
    margin-left: 115px; /* 调整间距，根据需要调整值 */
  }

  .text p {
    font-size: 70px; /* 设置文字的字号 */
    margin-top: 0; /* 清除 margin-top */
  }
}
/* designed by mozi1924 https://github.com/mozi1924/ */