* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Roboto, sans-serif;
    background-color: black;
}

h1 {
    font-weight: 800;
}

input {
    font-size: 1rem;
    border: 2px solid #f8c023;
    border-radius: 8px;
    background-color: rgba(65,65,65,0.78);
    color: #f8c023;
    padding: 0.75rem;
}

input:focus {
    border: 2px solid #14e9f0; 
    box-shadow: 0 0 4px #14e9f0;
    outline: none; /* removes default focus outline */
}

button {
    cursor: pointer;
}

label {
    font-size: 1.5rem;
    font-weight: 600;
}

.container {
    height: 100vh;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    color:#f8c023;
}

#logo-img {
    width: 125px;
    height: auto;
    filter:
        drop-shadow(0 0 6px #f8c023);
}

.content {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:black;
}

.screen {
    display: flex;
    flex-direction: column;
    background-color:black;
    padding: 1.5rem;
    border-radius: 16px;
    border: 20px solid #14e9f0;
    filter:
        drop-shadow(0 0 3px #14e9f0);
}

.start-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: #f8c023;
    padding: 1.5rem;
}

.start button {
    border-radius: 16px;
    border: none;
    font-size: 1.5rem;
    padding: 10px 30px;
    background-color:#11C3C8;
    color:azure;
}

.start button:hover {
    transform: scale(0.95);
    box-shadow: 0 0 20px 1px #14e9f0;
}

.game {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    color: #f8c023;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
}

.restart button {
    border-radius: 16px;
    border: none;
    font-size: 1.5rem;
    padding: 10px 30px;
    background-color:#E26868;
    color:azure;
}

.restart button:hover {
    transform: scale(0.95);
    box-shadow: 0 0 20px 1px #ff7575;
}

.square {
    width: 100px;
    height: 100px;
    font-size: 2rem;
    background-color: black;
    color: #f8c023;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 3px solid #14e9f0;
    border-left: 3px solid #14e9f0;
}

/* Remove top border for 1st row */
.square[data-row='0'] {
    border-top: none;
}

/* Remove left border for left column */
.square[data-column='0'] {
    border-left: none;
}

.square:hover {
    background-color: rgba(65,65,65,0.78);
}

/* Hide elments for JavaScript*/
.hidden {
    display: none;
}