*{
    margin: 0;
    padding: 0;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

@font-face {
    font-family: 'Century Gothic';
    src: url(./font/centurygothic.ttf);
}

body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f8ff;
}

.field{
    position: relative;
    display: none;
    width: 300px;
    height: 300px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
}

.krestik{
    position: relative;
    width: 70%;
    height: 5%;
    background-color: black;
    transform: rotate(45deg);
}

.krestik::after{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    transform: rotate(90deg);
}

.circle{
    width: 50%;
    height: 50%;border: 5px solid black;
    border-radius: 50%;
}

.h2{
    margin-bottom: 50px;
}

.cells{
    position: relative;
    width: 100px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #007bff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .3s;
}

@media (min-width: 1024px) {
    .cells:hover{
        background-color: #e7f1ff;
    }
}




#nazad{
    display: none;
    margin-top: 50px;
}


.linear{
    width: 100%;
    height: 3px;
    background-color: black;
    position: absolute;
    opacity: .5;
    transform: translate();
}

button {
    padding: 10px 20px;
    font-size: 1.2em;
    color: #fff;
    background-color: #007bff; /* Синий цвет */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

#onePlayer{
    margin-bottom: 25px;
}

button:hover {
    background-color: #0056b3; /* Темнее синий при наведении */
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95); /* Эффект нажатия */
}

#button{
    margin-top: 50px;
}