.playground {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(4, 1fr);
	grid-gap: 10px;
    width: 100%;
    aspect-ratio: 1;
    container-type: inline-size;
}

.playground > * {
	aspect-ratio: 1;
	border-radius: 5px;
	transition: transform var(--transition-duration) ease-in-out;
}

.container {
	position: relative;
}

.game_over {
    inset: 0;
    position: absolute;
    background-color: rgba(254, 255, 255, 0.47);
    color: var(--black);
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--main-font);
    animation: fade_in 500ms ease forwards;
    backdrop-filter: blur(2px);
	border-radius: 5px;
}

.game_over__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.game_over__button {
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 700;
    padding: 15px;
    border-radius: 5px;
    color: var(--color-4);
    background-color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}

.absolute {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: auto;
}

@keyframes fade_in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}