* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  background: #5a5a5a;
  color: #333;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #000000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

#navigation{
	margin: 0 auto;
	background-color:rgb(0, 0, 0);
}

.nav{
	display:inline;
    text-align: center;
}

.nav a{
    text-decoration: none;
    font-size:x-large;
	color:rgb(0, 0, 0);
	padding:5px;
    background-color:rgb(191, 248, 141) ;
}

.nav a:hover{
	background-color:#ffffff;
}

/* Logo */
.logo img {
  height: 100px;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

/* Form on top-right */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.signup-form label {
  font-size: 0.85rem;
}

.signup-form input {
  padding: 0.4rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 200px;
}

main {
  padding: 1rem 2rem;
}

/* Notice section */
.notice {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  align-items: center;
}

.notice img {
  flex: 1 1 300px;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.notice .note {
  flex: 1 1 300px;
  border: 2px solid red;
  background: red;
  color: #fff;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* 黑框白字区域 */
.notice .black-note {
    flex: 1 1 300px;
    background: #000;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    font-size: 2rem;
    margin-top: 0.5rem;
}

/* Welcome box */
.welcome-box {
  background: #fff;
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.welcome-box h2 {
  font-size: 5rem;
  color: #000000;
  margin-bottom: 1rem;
}

.welcome-box p {
  text-align: left;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.welcome-box img {
  display: block;
  margin: 1.5rem auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 600px) {
  header { flex-direction: column; align-items: flex-start; }
  .signup-form input { width: 100%; }
  .notice { flex-direction: column; }
}

.site-footer {
    background: #000;
    color: #fff;           
    padding: 2rem 0;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.footer-item {
    text-align: center;
    line-height: 1.5;
    font-size: 0.9rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}