body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  text-align: center;

}
header {
  text-align: center;
  background-color: #f0f0f0; 
  background-image: url("img/header-background.png"); /* Your image */
  background-size: cover;          /* Adjust as needed */
  background-repeat: no-repeat;    /* Adjust as needed */
  background-position: center;     /* Adjust as needed */
  padding: 20px 0;                 /* Add padding around content */
  width: 100%;
}

.header-content {
  display: flex;                   /* For icon and heading alignment */
  align-items: center;             /* Vertical centering */
  justify-content: center;         /* Horizontal centering */
  flex-direction: column;
  color: rgb(0, 46, 250);
}

.header-icon {
  width: 50px;         /* Adjust icon size as needed */
  height: 50px;        /* Adjust icon size as needed */
  margin-right: 15px;  /* Spacing between icon and heading */
}

.actions {
  display: flex;       /* Change to flex */
  flex-direction: column; /* Buttons stack vertically */ 
  align-items: center; /* Center buttons horizontally */ 
  gap: 15px;
  margin-bottom: 20px;
}

.button {
  background-color: transparent; /* Remove background fill */
  color: #007bff; /* Example color - use Sufika colors */
  padding: 12px 20px;
  border: 2px solid #007bff; /* Add a border */
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
}

button {
  background-color: transparent; /* Remove background fill */
  color: #007bff; /* Example color - use Sufika colors */
  padding: 12px 20px;
  border: 2px solid #007bff; /* Add a border */
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
}

.profile {
  text-align: center;
} 

.google-calendar {
  margin-top: 30px; /* Adds space above calendar */
  text-align: center; /* Centers the calendar  */
}

#sessionList {
  margin-top: 20px;
}

.session-header {
  font-weight: bold;
}

#matchesIframeContainer {
  margin-top: 20px;
} 

#matchesIframeContainer iframe { /* Target the iframe specifically */
  width: 90%; /* Adjust percentage for desired width */
  height: 600px; /* Adjust height as needed */
}

table {
  border-collapse: collapse;
  width: 100%; 
  margin-bottom: 20px; 
}

td, th {
  border: 1px solid #111111;
  padding: 8px;
  text-align: left; 
}


/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #222222; /* Dark background */
    color: #f0f0f0;           /* Light text */ 
  }

  /* Adjust other elements as needed for your dark theme */
  button {
    background-color: #333333;
    color: #eeeeee;
    border-color: #555555;
  }
}
