@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
    font-family: 'Comfortaa', cursive;
    text-decoration: none;
}

body {
    height: 100vh;
    background-color: rgb(7, 0, 70);
    background: linear-gradient(to left, red, rgb(209, 209, 1), green, blue);
    color: white;
    overflow-x: hidden;
}

a{
    color: white;
    text-decoration: underline;
}

.btn {
    background: rgb(0, 0, 90);
    padding: 0.5rem 1rem;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    font-size: 0.8rem;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 500ms;
}

.btn:hover {
    background-color: rgb(0, 0, 167);
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container h1 {
    font-size: 2rem;
    background-color: rgba(87, 0, 0, 0.2);
    width: 100%;
    padding: 1rem 0;
    text-align: center;
}

.player {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.player input {
    width: 320px;
    padding: 0.5rem;
    margin: 0.3rem 0;
    background: rgba(0, 0, 77, 0.815);
    color: white;
    border-radius: 10px;
}

::placeholder {
    color: rgb(197, 197, 197);
    text-align: center;
}

.player p {
    display: flex;
    width: 320px;
    justify-content: space-between;
    font-size: 1.5rem;
}

#start-game-btn {
    margin: 6rem 0;
}

.box {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
}

.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 320px;
    height: calc(320px / 3);
}

.col {
    background: rgba(0, 0, 255, 0.2);
    border: 2px solid white;
    font-size: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.result {
    font-size: 2rem;
    padding: 1rem 0;
}

.button {
    margin-bottom: 10rem;
}


footer {
    width: 100vw;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.5rem;
    font-weight: 300;
}
