h1 a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

h1 a:hover {
  opacity: 0.8;
}

img.logo {
    height: 30px;
}

/* Player name styling */
#player-name {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ddd;
}

li {
    display: flex;              
    align-items: center;        
}

/* Stats container styling using Flexbox */
.stats {
    display: flex;
    justify-items: center;
    width: 100%;
}

/* Styling the list itself (ul) to display horizontally */
.stats ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Use flexbox */
    justify-content: space-evenly;
    align-items: stretch;
    width: 100%;
    flex-direction: row; /* Arrange items horizontally */
    gap: 15px; /* Optional: space between the list items */
}

/* Individual list item styling */
.stats li {
    display: block;
    background-color: #181a1b;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    flex: 1;
    text-align: center;
    font-size: 1.2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: auto; /* Let items take as much space as needed */
}

/* Bold text (for titles) */
.stats li strong {
    color: #ddd;
    font-weight: bold;
}

/* Dynamic value color (span) */
.stats li span {
    color: #ddd; /* Bright blue for values */
}

/* Make sure the text aligns properly */
.stats li span, .stats li strong {
    display: inline-block;
}

li img {
    margin-right: 10px;           /* Space between the icon and the text */
    width: 20px;
    height: 20px;
}

li span {
    margin-right: 10px;           /* Space between champion name and date */
}


/* Match History container */
.match-history {
    margin-top: 30px;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Match History title */
.match-history h2 {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

/* Styling the match list (ul) */
#match-history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual match item styling */
.match-history li {
    background-color: #fff;
    color: #333;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Match ID and Date style */
.match-history li span {
    color: #000000;
}

/* Match item hover effect */
.match-history li:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

/* Match details (example, can be customized) */
.match-history li .match-details {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}
/* Style for the match list */
#match-history-list {
    list-style-type: none;
    padding: 0;
}

#match-history-list li {
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

#match-history-list li.win {
    background-color: #28a745;  /* Green for win */
    color: white;
}

#match-history-list li.lose {
    background-color: #c95b66;  /* Red for lose */
    color: white;
}

/* Time Icon Styling */
.time-icon {
    margin-left: 10px;
    font-size: 18px;
    color: white;
}

#back-link {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10%; /* Adjust the size of the image */
}
