/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    colour: #333;
    display: flex;
    flex-direction: column;
    align-items: centre;
  }
  
  /* Header */
  header {
    text-align: centre;
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    colour: white;
    padding: 2rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  header h1 {
    margin: 0;
    font-size: 2.5rem;
  }
  
  header p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }
  
  /* Grid Container */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
  }
  
  /* Grid Items */
  .grid-item {
    display: flex;
    align-items: centre;
    justify-content: centre;
    padding: 2rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    colour: white;
    text-align: centre;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .item-1 {
    background: #ff6f61;
  }
  
  .item-2 {
    background: #6bc9db;
  }
  
  .item-3 {
    background: #ffcc5c;
  }
  
  .item-4 {
    background: #88d498;
  }
  
  .item-5 {
    background: #845ec2;
  }
  
  .item-6 {
    background: #d65db1;
  }
  
  /* Footer */
  footer {
    text-align: centre;
    padding: 1rem;
    background: #333;
    color: white;
    font-size: 0.9rem;
  }

  .bigimage{
    width:100%;
  }
  .littleimage{
    width:20%;
    height:20%;
  }
  
/* 侧边栏样式 */
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: #1a202c; /* 深灰色背景 */
  color: white;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
}

/* 关闭按钮样式 */
#closeSidebar {
  font-size: 24px;
  color: #a0aec0; /* 浅灰色 */
  border: none;
  background: none;
  cursor: pointer;
}

#closeSidebar:hover {
  color: white;
}

/* 侧边栏标题 */
.sidebar-title {
  color: #63b3ed; /* 淡蓝色 */
  font-size: 20px;
  font-weight: bold;
  margin-top: 16px;
}

/* 侧边栏内的导航菜单 */
.sidebar-menu {
  margin-top: 24px;
}

.sidebar-menu li {
  list-style: none;
  margin-bottom: 16px;
}

/* 按钮样式 */
.sidebar-link {
  display: block;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #a0aec0; /* 浅灰色 */
  background: linear-gradient(to right, #4299e1, #2b6cb0); /* 渐变蓝 */
  transition: all 0.3s ease;
  text-decoration: none;
}

.sidebar-link:hover {
  color: white;
  background: linear-gradient(to right, #3182ce, #2c5282);
}

/* 侧边栏展开按钮 */
#openSidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  background-color: #3182ce;
  color: white;
  border-radius: 0 8px 8px 0;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

#openSidebar:hover {
  background-color: #2c5282;
}
