body {
  font-size: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}

.container {
  width: 100%;
  padding-top: 2rem;
}

.flex-container {
  display: flex;
  justify-content: center; /* Changed from flex-start */
  align-items: center; /* Changed from flex-start */
  width: 75%; /* Set the width of the container */
  margin: 0 auto; /* Centering the container */
}

.flex-item {
  flex: 1;
}

.selected-team {
  text-align: center;
  font-size: 36px;
  color: red;
  border: 2px solid green;
  padding: 20px;
  margin-top: 20px;
  width: 100%;
}

.passspan {
  border: 2px solid green;
  color: red;
}

.info-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
}

.info-image {
  max-width: 600px; /* maximum width */
  width: 100%; /* full width of the parent container */
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.toggle-sections {
  width: 75%;
  margin: 0 auto;
}

.toggle-container {
  text-align: left;
  font-size: 18px;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}

.clickable {
  cursor: pointer;
}

.toggle-content {
  display: block;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid black;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.triangle.toggled {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid black;
}

.wrapper {
  font-family: Arial, sans-serif;
  width: 30%;
  text-align: center;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style the form */
form {
  margin-top: 10px;
  display: flex; /* make children line up horizontally */
  justify-content: center; /* center children horizontally */
}

/* Style the input elements */
input[type="text"] {
  width: calc(100% - 80px); /* take full width minus the width of the submit button */
  padding: 10px;
  border: 2px solid #007bff; /* increased border width and changed color */
  border-radius: 3px;
  margin-right: 10px;
}

input[type="submit"] {
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}
