body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}

.title {
  font-size: 24px;
  font-weight: bold;
}

.page-title {
  text-align: center;
  font-size: 28px;
  margin: 20px 0 40px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  min-width: 120px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #e5e5e5;
}

.main-content {
  display: flex;
  gap: 20px;
}

.matches-acceuil {
  border: 1px solid #000;
  padding: 15px;
  width: 400px;
}

.match-title-acceuil {
  font-weight: bold;
  margin-bottom: 15px;
}

.match-row-acceuil {
  background-color: #2c3e50;
  color: white;
  padding: 10px;
  border-radius: 25px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.no-match-row-acceuil {
  background-color: #2c3e50;
  color: white;
  padding: 10px;
  border-radius: 25px;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.standings {
  flex-grow: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #f5f5f5;
}

.login-section {
  margin-top: 20px;
}

.login-field {
  margin: 10px 0;
}

input[type="text"],
input[type="password"] {
  width: 200px;
  padding: 5px;
  margin-top: 5px;
}

button {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 5px 15px;
  margin: 5px;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px;
}

.card {
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}

.image {
  width: 100%;
  height: 600px;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info {
  padding: 15px;
}

.info-line {
  height: 10px;
  margin: 20px 0;
  padding: auto;
  width: 90%;
}

.info-line:nth-child(2) {
  width: 70%;
}

.info-line:nth-child(3) {
  width: 85%;
}

.info-line:last-child {
  width: 60%;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.match-header {
  background-color: #a0a0a0;
  color: white;
  padding: 15px;
  border-radius: 25px;
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  align-items: center;
}

.match-row {
  background-color: #2c3e50;
  color: white;
  padding: 15px;
  border-radius: 25px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-match {
  margin-top: 40px;
}

.add-match h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

.add-match-form {
  display: flex;
  gap: 15px;
  align-items: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 14px;
  color: #666;
}

input[type="date"],
input[type="text"],
select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 150px;
}

button {
  padding: 8px 20px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-end;
}

button:hover {
  background-color: #e5e5e5;
}

.form-group {
  display: flex;
  gap: 10px;
  align-items: first baseline;
  margin-bottom: 5px;
}

.form-group label {
  min-width: 85px;
  color: #333;
}

.form-group input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
