:root {
    --main-color: #17a398;
    --accent-color : #429EA6;
    --secondary-color : #edafb8;
    --darker-color: #333333;
    --brighter-color: #e8ddb5;
    --default-font: Verdana, Geneva, Tahoma, sans-serif;
}

.App{
    height: 100%;
    width: 100%;
    background: linear-gradient(var(--main-color), var(--secondary-color));

    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    font-family: var(--default-font), serif;
    justify-content: center;
    align-items: start;
}

.Content{
    border: 1vh solid var(--darker-color);
    /*background: linear-gradient(var(--main-color), #129893);*/
    border-radius: 1vh;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5vh;
    backdrop-filter: blur(10vh);
}

.Title{
    color: #000;
    margin: 1vh;
    margin-bottom: 0;
}

.SubTitle{
    color: var(--darker-color);
    font-size: 2.5vh;
    margin: 0.5vh;
}

.SelectRoomButton{
    border: 1vh solid var(--darker-color);
    border-radius: 1vh;
    margin-bottom: 1vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    cursor: pointer;
}

.SelectRoomButton:hover{
    transform: translateY(-0.2vh) scale(1.01);
}

.Entry{
    width: 90%;
    height: 7vh;
    margin: 1vh;
    background-color: var(--main-color);
    border: 0.4vh solid var(--darker-color);
    border-radius: 1vh;
    font: var(--default-font);
    font-size: 3vh;
}
.Entry::placeholder{
    color: var(--darker-color);
    font: var(--default-font);
    font-size: 3vh;
}

.Entry:hover{
    background-color: var(--accent-color);
    transform: scale(102%)
}

.Entry:focus{
    outline: none;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.Button{
    background-color: var(--main-color);
    margin: 0.5vh;
    width: 50%;
    min-width: fit-content;
    white-space: nowrap;
    height: 5vh;
    border-radius: 1vh;
    border: 0.3vh solid var(--darker-color);
    font: var(--default-font);
    font-size: 3vh;
}

.Button:hover{
    background-color: var(--accent-color);
    transform: scale(1.02);
}

.Board{
    width: 80vmin;
    height: 80vmin;
    border: 1vh solid var(--darker-color);
    border-radius: 1vh;
    margin: 0.5vmin;
    display: flex;
    flex-direction: column;
}

.Row{
    height: 33%;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.Square{
    width: 33%;
    height: 100%;
    border: 0.1vmin solid var(--darker-color);
    font: var(--default-font);
    font-size: 10vmin;
    align-content: center;
    justify-items: center;
}

.Square h1{
    max-height: 100%;
    max-width: 100%;
    margin: 0;
}

#overlay{
    position: fixed;
    display: none;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: grabbing;
    font-family: var(--default-font), serif;
    justify-content: center;
    align-items: center;
}

#overlay .Content{
    background: linear-gradient(var(--main-color), #129893);
}
#overlay #gameOver h1{
    font-size: 10vmin;
}

#gameOver{
    display: none
}

#preStart{
    display: none
}

#infoBar{
    display: flex;
    flex-direction: row;
}

#infoBar h1{
    margin-left: 5vmin;
}