* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: rgb(32, 31, 31);
    display: flex;
    justify-content: center;
    align-items: center;
}

.board {
    width: 90%;
    max-width: 400px;
    height: 90vw;
    max-height: 400px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.group {
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.place {
    height: 100%;
    width: 30%;
    border: 2px solid #00aaff;
    box-shadow: #00aaff 0px 5px 15px;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.input {
    font-size: 5vw;
    font-family: monospace;
    user-select: none;
}

.button {
    width: 80vw;
    height: 80px;
    max-width: 350px;
    background-color: transparent;
    border: 2px solid #00ff37;
    box-shadow: #00ff37 0px 5px 15px;
    color: #00ff37;
    font-family: monospace;
    font-size: 19px;
    letter-spacing: 4px;
    transition: cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
}

.button:hover {
    background-color: #00ff37b6;
    color: #f0f0f0;
}

.button-container {
    position: absolute;
    top: 6vh;
}

/* Media Queries for responsiveness */

@media screen and (max-width: 768px) {
    .board {
        max-width: 90%;
        max-height: 90%;
    }

    .input {
        font-size: 7vw;
    }

    .button {
        max-width: 90%;
        max-height: 10%;
        font-size: 19px;
        letter-spacing: 1vw;
        margin-left: 2vw;
        margin-right: 2vw;
    }
}

@media screen and (max-width: 480px) {
    .board {
        max-width: 95%;
        max-height: 95%;
    }

    .input {
        font-size: 9vw;
    }

    .button {
        max-width: 95%;
        max-height: 10%;
        font-size: 19px;
        letter-spacing: 2vw;
        margin-left: 3vw;
        margin-right: 3vw;
    }
}
