* {
    margin: 0;
    font-family: sans-serif;
    --font-color: #704BCE;
    --background-color: #704BCE;
    --background-color-2: #a969e3;
    --cell-color: #6849b6;
}

input, button, textarea, select {
    font: inherit;
  }
  
body {
    height: 100dvh;
    width: 100vw;
    background-image: linear-gradient(to bottom, #a969e3, #704BCE) ;
    /* background-repeat: no-repeat;
    background-size: ; */
}

.start-page {
    width: 100vw;
    height: 100dvh;
    background-image: linear-gradient(to bottom, #a969e3, #704BCE) ;
    display: flex;
    justify-content: center;
    align-items: center;
}
.marker-page {
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}
.start-page-card {
    /* border: 1px solid red; */
    /* width: 200px; */
    display: flex;
    gap: 2rem;
}

p {
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 1.4rem;
}
.start-page-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.start-page-menu{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.start-page-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.start-page-buttons button {
    height: 2.5rem;
    border-radius: 15px;
    color: #704BCE;
    border: none;
    font-weight: 600;
}

.start-page-buttons button:last-child {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}
.choose-user-page button {
    background-color: transparent;
    border: none;
    padding: 20px;
    border-radius: 30px;
    /* border: 1px solid red; */
}

.user-page-card > p {
    margin: 1rem;
    font-size: 2rem;
}

.user-page-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.user-page-buttons button{ 
    transition: 0.3s;

}
.user-page-buttons button:hover {
    background-color: white;
}
.user-page-buttons button:hover path, 
.user-page-buttons button:hover circle {
    stroke: #704BCE;
}

.game-page {
    /* border: 1px solid red; */
    width: 100vw;
    height: 100dvh;
    display: flex;
    align-items: center;
    flex-direction: column;
    display: none;
}

.game-score-bar {
    display: flex;
    gap: 1rem;
    /* outline: 1px solid white; */
    height: min(50px);
    width: 100vw;
    justify-content: center;
    align-items: center;
}

.game-score-stats {
    display: flex;
    gap: 1rem;
    align-items: end;
    color: white;
    font-weight: 600;
    margin-top: auto;
}

.highlight-marker {
    background-color: white;
}

/* .game-score-stats div {
    border: 1px solid white;
} */

.score {
    background-color: white;
    padding: 7px 30px;
    border-radius: 15px;
    color: #704BCE;
}

.game-board {
    /* border: 2px solid red; */
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-board-container {
    height: 100%;
    display: grid;
    width: min(500px, 90vw);
    height: min(500px, 90vw);
    grid-template: repeat(3, 1fr) / repeat(3, 1fr);
    gap: 10px;
}

.pointer-events-none {
    pointer-events: none;
}

.game-cell {
    background-color: var(--background-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 2px solid red; */
}

.game-cell-wins {
    background-color: #fdfdfd;
    border: #704BCE solid 2px;
}
.game-cell-wins path {
    stroke: #6849b6;
}
.game-cell-wins circle {
    stroke: #6849b6;
}
.game-controls {
    margin: auto 0 10px 0;
    display: flex;
    flex-direction: row;
    /* justify-content: end; */
    align-items: stretch;
    gap: 10px;
}

.game-controls button {
    width: 290px;
    background-color: #704BCE;
    color: white;
    font-weight: 600;
    border: 1px solid white;
    height: 50px;
    border-radius: 15px;
}

.game-controls button:first-child {
    background-color: white;
    color: #704BCE;
}

@media only screen and (max-width: 580px) {  
    .start-page-card {
        width: 200px;
        flex-direction: column;
    }
    
    p {
        font-size: 1.2rem;    
    }
    .user-page-buttons {
        display: flex;
        flex-direction: column;
    }    
    .game-controls {
        flex-direction: column;
    }
}


.status-box {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    text-align: center;
}

