body {
    background-image: url(./images/bg-texture.avif);
}

.main__title {
    text-align: center;
    font-size: 36px;
    color: #fff;
    margin: 50px 0;
}

.container {
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(10, 40px);
    grid-template-rows: repeat(10, 40px);
    margin: 0 auto;
    width: 418px;
    height: 418px;
    position: relative;
    gap: 2px;
}



.grid-cell {

    background-color: rgba(255, 255, 255, .1);
    border-style: dashed;
    height: 40px;
    width: 40%;
    width: 100%;
    cursor: pointer;
    transition: all .2s;
}

.grid-cell:hover {
    background-color: rgba(255, 255, 255, .2);
    transform: scale(1.02);
}

.grid-cell.active {

    transform: rotateY(0.5turn);
    cursor: default;
}

.grid-rows {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    top: 0;
    bottom: 0;
    width: 40px;
    color: #fff;
    font-weight: 700;
    min-height: 100%;
    gap: 2px;
    transform: translateX(-100%);

    .grid-row {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
    }
}

.grid-columns {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 40px;
    color: #fff;
    font-weight: 700;
    gap: 2px;
    transform: translateY(-100%);

    .grid-column {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
    }
}

.stats {
    position: fixed;
    height: 50vh;
    width: 200px;
    background-color: rgba(17, 17, 120, 0.779);height: 400px;
    overflow-y: scroll;
    border-radius: 20px;
    top: 0;
    right: 50px;
    bottom: 0;
    margin: auto;
    padding: 15px;
}

.stats__title {
    font-size: 18px;
    text-transform: uppercase;
    line-height: 125%;
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
}
.stats__text{
    font-size: 16px;
    max-width: 100%;
    text-wrap: wrap;
   color: #fff;
    line-height: 130%;
}

