* {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#winScreen {
    opacity: 0.2;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: purple;
}

#winBox {
    width: 50%;
    height: 40vh;
    background-color: white;
    opacity: 1.5;
    position: absolute;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid purple;
    box-shadow: 2px 2px 10px purple;
}

#text1 {
    margin-bottom: 10%;
    color: purple;
    font-size: 2rem;
    font-weight: bold;
}

@media all and (max-width: 600px) {
    #winBox {
        width: 90%
    }

    #square {
        position: absolute;
        bottom: 30%;
        right: 7%;
    }

}

#text2 {
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
}

#alert {
    margin-top: 5%;
    align-self: center;
    color: purple;
}

.span {
    font-size: 2rem;
    font-weight: bold;
}

#input-button {
    position: absolute;
    bottom: 9%;
    display: flex;
    flex-direction: column;
}

#input {
    margin-bottom: 5%;
    padding: 0.5rem 1rem 0.5rem 1rem;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid purple;
    color: purple;
}

#input:focus {
    outline: none;
}

#button {
    width: 50%;
    align-self: center;
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-size: 1.5rem;
    border-radius: 20px;
    background-color: white;
    border: 2px solid purple;
    color: purple;
    transition: 0.3s;
}

#button:hover {
    color: white;
    background-color: purple;
    transition: 0.3s;
    cursor: pointer;

}

#square {
    width: 300px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    bottom: 10%
}

#row1 {
    display: grid;
    width: 100%;
    height: 20%;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 0.3rem;
    
}

#row1-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}


#row2 {
    display: grid;
    width: 100%;
    height: 20%;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 0.3rem;
}

#row2-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#row3 {
    display: grid;
    width: 100%;
    height: 20%;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 0.3rem;
}

#row3-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#row4 {
    display: grid;
    width: 100%;
    height: 20%;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 0.3rem;
}

#row4-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#row5 {
    display: grid;
    width: 100%;
    height: 20%;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 0.3rem;
}

#row5-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#row6 {
    display: grid;
    width: 100%;
    height: 20%;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 0.3rem;
}

#row6-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.space {
    border: 1px solid lightgray;
    border-radius: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.span, .space {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
