* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  color: #fff;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

header .logotxt{
  width: 100%;
  height: 4.5rem;
  text-align: start;
  padding-left: 1rem;
}
.txt span{
  font-size: 2rem;
  font-weight: 800;
  color: #e62b1e;
}
.txt{
  font-size: 2rem;
}
.txt .x,.txt p{
  font-size: 0.7rem;
}

a{
  text-decoration: none;
  color: white;
  font-weight: bold;
  margin-left: 2.5rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
header nav{
  width: 100%;
  background-color: #0a0a0a;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  line-height: 3.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tagline {
  font-size: 1.2rem;
  font-weight: 300;
}

.date {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}
h1{
    text-align: center;
    font-size: calc(1.8rem*1.2);
}
h2 {
  color: #e62b1e;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  text-align: center;
}

p {
  margin-bottom: 1.2rem;
}




.team-section {
    margin: 0 auto 5rem auto; /* Center the section on larger screens */
    padding: 2rem 1.5rem;
    max-width: 1200px; /* Adjust max-width for the team page if needed */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: linear-gradient(120deg, rgb(231, 69, 69) 30%, #e62b1e 88%, rgb(198, 64, 23) 40%, rgb(223, 57, 57) 78%);
    border: 1px solid #e62b1e;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #fff; /* White border for photos */
}

.team-member h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.role-title {
    color: #ffd700; /* Gold color for role titles */
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.member-bio {
    color: #f0f0f0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Adjustments for existing sections to avoid redundant margins if this is a standalone page */
section.intro, section.about-aus, section.theme-container {
    margin: 0 auto 5rem auto;
    max-width: 800px; /* Keep consistent with index.html for these sections */
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr; /* Stack members on small screens */
    }

    .team-section {
        margin: auto; /* Center on small screens */
        padding: 1.5rem;
    }
}


.contact {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
}

.contact h2 {
  color: #ff4444;
  margin-bottom: 0.5rem;
}

.contact p {
  margin: 0.3rem 0;
  color: #ccc;
}

.contact a {
  color: #e62b1e;
  text-decoration: none;
  margin: 0;
}

.contact a:hover {
  text-decoration: underline;
}

.social {
  margin-top: 1rem;
}


footer {
  text-align: center;
  padding: 1rem;
  background: #1a1a1a;
  color: #ccc;
  font-size: 0.9rem;
  height: auto;
}