:root {
  --primary-color:#9caf88; 
  --secondary-color: #9caf88;
  --off-white: #EFE7DD;
  --alarm-color: #b33c3c;
}

/* style.css */
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: var(--primary-color);
  width: 100vw;
  font-weight: 300;
  display: flex;
  flex-direction: column;
}

main a {
  color: #9caf88;
  text-decoration: none;
}
main a:hover{
  text-decoration: none;
}

header {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 0;
  text-align: left;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 200;
}

nav {
  background-color: rgb(255, 255, 255);
  padding: 0.5rem;
  margin: 0;
  text-align: right;
}
  
nav a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 2px 10px;
}

nav a:hover {
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #ffffff;
  flex: 1; /* Pushes footer to the bottom */
}


h1{
  font-weight: 600;
  margin-bottom: 2rem;
}
h2 {
  font-weight: 500;
  margin-bottom: 1rem;
}
h3 {
  font-weight: 500;
  margin-bottom: 0.5rem;
}
p {
  margin: 0px;
}
b {
  font-weight: 500; /* or normal, 700, 900, etc. */
}

footer {
  text-align: center;
  background-color: #ffffff;
  color: rgb(171, 171, 171);
  padding: 0 2rem;
  margin-top: 0rem;
  margin-bottom: -2rem;
  font-size: 0.9rem;
}
footer a{
  color: rgb(171, 171, 171);
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.branding h1{
  margin-bottom: 0.5em;
}
.logo {
  height: 50px;
  width: auto;
}

.announcement{
  color: var(--primary-color);
  background-color: #ffffff;
  /*padding: 0.5em 5em;*/
  text-align: center;
  margin: 2em 20%;
  border-top: 2px solid var(--primary-color);  /* Custom color for top border */
  border-bottom: 2px solid var(--primary-color); /* Custom color for bottom border */
  border-left: none; /* Remove left border */
  border-right: none; /* Remove right border */
}
.announcement h2{
  margin: 1rem 0rem;
}
.announcement a:hover{
  background-color: #eff1e7;
}

.warning{
  color: var(--alarm-color);
  background-color: #f1e7e7;
  border: 2px solid var(--alarm-color);  /* Custom color for top border */
}
.warning a:hover{
  background-color: #dbc7c7;
}
.warning h2{
  color: var(--alarm-color);
}
.warning a{
  color: var(--alarm-color);
}

.faq h2 {
  color: #9caf88;
  text-align: center
}

/* Table styling */
table {
  width: 60%;
  border-collapse: collapse;
  margin: 20px 0px;
}
  
th, td {
  padding: 6px 6px;
  text-align: center;
}
td {
  border-bottom: 1px solid #ddd;
}

th {
  color: rgb(255, 255, 255);
  background-color: var(--primary-color);
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

caption {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

 /* Section Styling */
.organizers {
  width: 100%;
  max-width: 1200px; /* Max width of the section */
  margin: 0 auto; /* Center horizontally */
  padding: 20px;
  box-sizing: border-box;
  text-align: center; /* Center the heading */
}
  
/* List styling */
.organizers ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
  gap: 10px; /* Reduced space between columns */
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* List item styling */
.organizers ul li {
  font-size: 1rem; /* Adjust font size */
  margin: 0; /* Remove margin around the list items */
}

/* Section container */
.left-header {
  display: flex;                /* Use Flexbox */
  max-width: 1200px;             /* Max width of the section */
  margin: 0 auto;                /* Center horizontally */
  box-sizing: border-box;
  gap: 20px;                     /* Space between header and paragraphs */
}

/* Header Styling */
.left-header h2 {
  flex: 1;                       /* Header takes 1/4 of the space */
  font-size: 1.5rem;             /* Adjust the font size for the header */
  margin: 0;                     /* Remove margin */
}

/* Paragraph Styling */
.left-header p {
  flex: 3;                       /* Paragraphs take up 3/4 of the space */
  margin: 0.5rem 0;                     /* Remove margin */
  font-size: 1rem;               /* Adjust the font size */
}

/* Styling for the link around the entire header */
.home-link {
  display: block;              /* Make the link a block element so it wraps the whole header */
  text-decoration: none;       /* Remove the underline from the link */
  color: inherit;              /* Inherit the color from the content inside the header */
}


/* Main content box */
.page-container {
  max-width: 1200px;
  width: 85vw; /* Full width of the page */
  margin: 20px auto;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 20px 40px;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .page-container {
    padding: 20px;
    margin: 10px;
    width: auto;
  }

  .announcement {
    margin: 10%;
    padding: 1em;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .organizer-list {
    grid-template-columns: 1fr !important;
  }

  .left-header {
    display: block;
  }

  .left-header h2 {
    margin-bottom: 1rem;
  }
  header h1 {
    font-size: 1rem;
    font-weight: 200;
  }
  .container, main {
    padding: 0;
  }
  .page-container {
    padding: 10px;
  }

  .branding{
    gap: 0;
  }
}

code {
  background-color: #f0f0f0;
  padding: 2px 4px;
  border-radius: 3px;
}

table {
  margin-left: auto;
  margin-right: auto;
}

/*
  * {
    outline: 1px solid red;
  }*/
  section-with-image {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 300px; /* Adjust as needed */
  padding: 0;
}

.section-content {
  width: 50%;
  background: #fff; /* Optional: for contrast */
  box-sizing: border-box;
}

.section-image {
  width: 35%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px; /* Consistent with section min-height */
}