.content{
    display: grid;
    grid-template-columns: 10% 1fr 10%;
    grid-template-areas:
        ". contentTitle ."
        ". events ."
        ". results ."
        ". allPlayerBreaks .";
    justify-content: center;
}

.contentTitle{
    grid-area: contentTitle;
    margin: 1em;
    text-align: center;
}

.contentTitle h2{
    margin: 0px;
    padding: 0px;
    color: white;
    font-weight: 100;
}

.events{
    grid-area: events;
    display: grid;		
    grid-gap: 15px;	
    margin: 5px;			
    grid-template-columns: repeat(auto-fill, minmax(max-content, 300px));
    justify-content: center;
}	

.event a{
    text-decoration: none;
    color: white;
}
.event a:hover{
    text-decoration: none;
    color: blue;
}
    
.matchDiv{
    height: 4.5em;
    display: grid;
    grid-template-columns: 10% 15% 1fr 1fr 1fr 1fr 15%;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "preNumberDiv numberDiv playerOneDiv playerOneDiv playerOneDiv playerOneDiv scoreOneDiv"
        "preNumberDiv numberDiv playerTwoDiv playerTwoDiv playerTwoDiv playerTwoDiv scoreTwoDiv";
    background-color: #fafafa;
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    min-width: 250px;
    max-width: 350px;
}

.matchDiv span{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.matchDiv a{
    text-decoration: none;
    color: #03440F;
}

.preNumberDiv{
    grid-area: preNumberDiv;
    border-top:  solid 0.5px black; 
    border-left:  solid 0.5px black; 
    border-bottom:  solid 0.5px black;
    position: relative;
    text-align: center;
    color: black;
}

.numberDiv{
    grid-area: numberDiv;
    border:  solid 0.5px black; 
    text-align: center; 
    position: relative;
    font-size: 1.1em;
    color: black;
}

.playerOneDiv{
    border-top:  solid 0.5px black; 
    grid-area: playerOneDiv;
    text-align: left;
    padding-left: 10px;
    position: relative;
}

.playerOneDiv span{
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-10%, -50%);
}

.playerTwoDiv{
    grid-area: playerTwoDiv;
    text-align: left;
    padding-left: 10px;
    border-top:  solid 0.5px black; 
    border-bottom:  solid 0.5px black; 
    position: relative;
}

.playerTwoDiv span{
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-10%, -50%);
}

.scoreOneDiv{
    border-top:  solid 0.5px black; 
    border-right:  solid 0.5px black; 
    grid-area: scoreOneDiv;
    border-left:  solid 0.5px black; 
    position: relative;
    text-align: center;
    font-size: 1.0em;
    color: black;
}

.scoreTwoDiv{
    grid-area: scoreTwoDiv;
    text-align: center;
    border-right:  solid 0.5px black; 
    border-top:  solid 0.5px black; 
    border-left:  solid 0.5px black;
    border-bottom:  solid 0.5px black; 
    position: relative; 
    font-size: 1.0em;
    color: black;
}

.gsoBreaksTable{
    text-align: center;
}

.results{
    grid-area: results;
    text-align: center;
}

.allPlayerBreaks{
    grid-area: allPlayerBreaks;
    justify-self: center;
    text-align: center;
}	

.winner{
    color: yellow;
}

.edit_section{
    text-align: center;
}

.stats-infographic {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    margin: 20px 0;
}

.main-stat {
    margin-bottom: 30px;
}

.big-number {
    font-size: 4rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

.big-label {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-columns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.column {
    flex: 1;
}

.divider {
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #ddd, transparent);
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.number.green { 
    color: #27ae60; 
}

.number.red { 
    color: #e74c3c; 
}

.winsClick {
    cursor: pointer;
    transition: all 0.3s ease;
}

.winsClick:hover {
    transform: scale(1.1);
    background: rgba(39, 174, 96, 0.1);
    border-radius: 5px;
}

.label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.player-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.player-form label {
    font-weight: bold;
    margin-bottom: 4px;
    color: white;
}

.player-form input, 
.player-form select {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.submitButton {
    margin-top: 12px;
    padding: 10px;
    background: #4CAF50;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.submitButton:hover {
    background: #45a049;
}
.main-stat {
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.main-stat:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.big-number {
    font-size: 4rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
    transition: all 0.3s ease;
}

.main-stat:hover .big-number {
    color: #5a67d8;
    transform: scale(1.05);
}

.big-label {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}