* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {

    background-color: #beb7df;
    text-align: center;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;


}

.msg-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 2.5rem;
}

.hide {
    display: none;
}

#container {
    height: 60vmin;
    width: 60vmin;
    justify-items: center;
    align-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;


}

/* accessing box container */
#box_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.box {
    background-color: #ffffff;
    height: 18vmin;
    width: 18vmin;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: none;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
    color: black;
    font-size: 2.5rem;
}

.box:active {
    background-color: bisque;
    transform: translateY(-2px);
    transition-duration: 5ms;
}

.box:hover {
    background-color: rgba(227, 212, 212, 0.5);
    cursor: pointer;
    transform: scale(1.05);
    transition: 0.2s ease;
}

/* reset button coloring */
.reset {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: #d8bfd8;
    color: #1a152f;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;

}

.reset:hover {
    transform: scale(1.05);
    background: #cbb3d6;
    color: #1a152f;
}

/* responsive design */
@media (max-width: 500px) {

    #container {
        width: 90vmin;
        height: 90vmin;
        gap: 10px;
    }

    .box {
        width: 28vmin;
        height: 28vmin;
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .reset {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    #winner {
        font-size: 1.8rem;
        padding: 6px 10px;
    }

    #box_container {
        gap: 6px;
    }
}