*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family: sans-serif;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.chess-container{
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.board-wrapper{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.board-title{
    color: #ffffff;
    text-align: center;
}

.coardinate-container{
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    grid-template-rows: 30px 1fr 30px;
}

.numbers.left{
    grid-column: 1;
    grid-row: 2;
}

.letters.top{
    grid-column: 2;
    grid-row: 1;
}


.numbers.right{
    grid-column: 3;
    grid-row: 2;
}

.letters.bottom{
    grid-column: 2;
    grid-row: 3;
}

.numbers{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.letters{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.label{
    color: #ffff;
    font-weight: 700;
}

.chessboard{
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: grid;
    grid-template-columns: repeat(8, 80px);
    grid-template-rows: repeat(8, 80px);
    border: 4px solid #ffff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.square{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.square:hover span{
    transform: scale(1.09);
}

.green{
    background: #779556;
}

.light{
    background: #ebecd0;
}

.black-piece{
    color: #565452;
}