* {
  box-sizing: border-box;
}

body {
  background-color: rgb(30, 30, 30);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

main {
  display: grid;
  grid-template-columns: 10% 80% 10%;
}

.nextmatch {
  color: white;
  width: 80%;
  margin: 1em auto;
  background-color: black;
  font-size: x-large;
  text-align: center;
  font-weight: bolder;
  padding: 5px;
}
.nextmatch__date {
  color: goldenrod;
  font-size: large;
}
.nextmatch__location {
  color: lightyellow;
  font-size: small;
}

header, footer {
  padding: 10px;
  background-color: black;
  color: white;
}
header h1, footer h1 {
  color: goldenrod;
  font-size: 3rem;
  margin-bottom: 0;
}
header h2, footer h2 {
  color: white;
  margin-top: 0px;
  font-size: 1rem;
}

.selected {
  text-decoration: underline;
}

nav {
  background-color: black;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav a {
  color: goldenrod;
  text-decoration: none;
  margin-right: 25px;
}
nav a:hover {
  text-decoration: underline;
}
nav .nav__left {
  display: flex;
}
nav .logout {
  margin-left: auto;
}

.games, .news {
  color: black;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}
.games__container, .news__container {
  background-color: lightyellow;
  padding: 15px;
}

.content {
  display: grid;
  margin-bottom: 2em;
  color: white;
}
.content a {
  text-decoration: none;
}
.content .team {
  display: none;
}
.content .team.active {
  display: block;
}

.button {
  color: white;
  font-weight: bold;
  text-decoration: none;
  background-color: black;
  padding: 10px;
  border-radius: 20px;
  border: none;
  outline: none;
  cursor: pointer;
  width: 15%;
  margin: 0 auto;
  text-align: center;
}
.button:hover {
  background-color: goldenrod;
}
.button__remove {
  color: white;
  font-weight: bold;
  text-decoration: none;
  background-color: black;
  padding: 10px;
  border-radius: 20px;
  border: none;
  outline: none;
  cursor: pointer;
  width: 15%;
  margin: 0 auto;
  text-align: center;
  background-color: darkred;
}
.button__remove:hover {
  background-color: red;
}

.top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.matches {
  color: black;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 15px;
}
.matches a {
  color: black;
  text-decoration: none;
}
.matches a:hover .matches__container {
  background-color: goldenrod;
}
.matches__container {
  background-color: lightyellow;
  padding: 50px;
  text-align: center;
}
.matches__teamimg {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.results {
  color: black;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 15px;
}
.results__container {
  background-color: lightyellow;
  padding: 50px;
  text-align: center;
}
.results__teamimg {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 15px;
}

.players {
  color: black;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 15px;
}
.players__container {
  background-color: lightyellow;
  padding: 15px;
  text-align: center;
}
.players__container img {
  width: 100%;
  height: auto;
}
.players__shirt-number {
  font-size: xx-large;
  font-weight: bold;
}
.players input, .players textarea, .players .button, .players .button__remove, .players select {
  width: 80%;
  margin-bottom: 5px;
}

.team__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team__header-left {
  display: flex;
}
.team__header-actions {
  margin-left: auto;
}

.squads {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 15px;
}
.squads a {
  color: white;
  text-decoration: none;
}
.squads a:hover {
  color: goldenrod;
}
.squads a.active {
  color: goldenrod;
}

.article {
  background-color: lightyellow;
  color: black;
  padding: 15px;
}
.article__info {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.article__info .tag {
  padding: 7px;
  border-radius: 20px;
  font-size: small;
}
.article__img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: goldenrod;
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#searchResults {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#searchResults li a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

#searchResults li:last-child a {
  border-bottom: none;
}

#searchResults li a:hover {
  background: #f5f5f5;
}

#searchResults li a span {
  color: #888;
  font-size: 12px;
}

.search-container {
  position: relative;
  width: 100%;
}
.search-container input {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

input {
  width: 50%;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 12px;
  border: none;
}
input::-moz-placeholder {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
}
input::placeholder {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
}
input {
  margin-bottom: 10px;
}

textarea {
  width: 50%;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 12px;
  height: 20%;
  border: none;
  resize: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
textarea::-moz-placeholder {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
}
textarea::placeholder {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
}
textarea {
  margin-bottom: 10px;
}

select {
  width: 50%;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 15px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
select:has(option[value=""]:checked) {
  color: #999;
}
select:has(option[value=""]:checked) option {
  color: black;
}
select:has(option[value=""]:checked) {
  margin-bottom: 10px;
}

.qty input {
  border-radius: 0;
  padding: 10px 14px;
}
.qty button {
  background-color: white;
  border: none;
  padding: 10px 10px;
  font-size: 15px;
}
.qty button:hover {
  background-color: goldenrod;
}

.changeQty-plus {
  margin-right: 5px;
  border-radius: 0 12px 12px 0;
  color: black;
}

.changeQty-min {
  margin-left: 5px;
  border-radius: 12px 0 0 12px;
  color: black;
}

#user-list {
  list-style: none;
  padding: 0;
}

.user-item {
  color: black;
  padding: 10px 15px;
  margin: 6px 0;
  background: lightyellow;
  border-radius: 6px;
  cursor: pointer;
}

.edit-form {
  display: none;
  border-radius: 6px;
}

.edit-form label {
  display: block;
}

.dashboardcontent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.dashboardcontent__box {
  background-color: lightyellow;
  color: black;
  padding: 20px;
  margin: 10px;
  border-radius: 15px;
}
.dashboardcontent__hr {
  width: 110%;
  border: 5px solid rgb(30, 30, 30);
  margin: 20px 0 20px -5%;
}

@media (max-width: 768px) {
  main {
    grid-template-columns: 5% 90% 5%;
  }
  header, footer {
    text-align: center;
  }
  header h1, footer h1 {
    font-size: 2rem;
  }
  nav {
    position: relative;
    flex-wrap: nowrap;
  }
  nav .burger {
    display: flex;
  }
  nav .nav__left {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: black;
    padding: 10px 16px;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  nav .nav__left.open {
    display: flex;
  }
  nav .nav__left a {
    margin-right: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 1rem;
  }
  nav .logout {
    margin-left: auto;
    margin-right: 0;
  }
  .nextmatch {
    width: 95%;
    font-size: large;
  }
  .games,
  .news,
  .matches,
  .results,
  .players {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 12px;
  }
  .matches__container,
  .results__container,
  .news__container {
    padding: 20px;
  }
  .top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .button, .button__remove, select, textarea {
    width: 70%;
    font-size: 0.75rem;
  }
  .login {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 10px;
  }
  .team__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .team__header-actions {
    margin-left: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .squads {
    gap: 16px;
    padding: 10px;
  }
  .article {
    max-width: 350px;
  }
  input {
    width: 100%;
  }
  .qty input {
    width: 75%;
  }
  .dashboardcontent h2 {
    font-size: medium;
  }
  .dashboardcontent h3 {
    font-size: small;
  }
  .dashboardcontent__box {
    background-color: lightyellow;
    font-size: smaller;
    color: black;
    padding: 10px;
    margin: 10px;
    border-radius: 15px;
  }
  .dashboardcontent__hr {
    width: 118%;
    border: 5px solid rgb(30, 30, 30);
    margin: 20px 0 20px -9%;
  }
}/*# sourceMappingURL=index.css.map */