*{
    margin: 0;
    padding: 0;
}

div.flexcontainer{
    display: flex;
    height: 100vh;
    gap: 30px;
    flex-direction: column;
    align-items: center;
}

@keyframes gradientShift{
    0%, 100% { background-position: 0% 50%; }    /* Start position */
    50% { background-position: 100% 50%; }       /* End position */
}

div#result{
    font-size: 2.8em;
    font-weight: bold;
    margin-top: 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

div#tictactoe, div.flex{
    display:flex;
    gap: 5px;
}

div#tictactoe{
    flex-direction: column;
}

button:not(.new-game){
    border-radius: 10px;
    background:rgb(225, 224, 224);
    font-size: 5rem;
    box-sizing: border-box;
    height: 150px;
    width: 150px;
}

button.new-game{
    padding: 16px 32px;
    border: 2px solid #4CAF50;
    background-color: #4CAF50;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.new-game:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}