* {
    font-family: 'Pixelify Sans', sans-serif; /* Default font family */
}

body {
	top: 0;
	margin: 0;
	background-image: url("../Assets/background.png");
	background-color: #141414;
    min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

header {
    width: 90%;
    padding: 20px 0;
    text-align: center;
    color: whitesmoke;
	text-shadow: #000000 1px 0 5px;
}

h1 {
    font-size: 40px;
}

#story-box {
    font-size: 30px;
}

/* Game layout */
.wrapper {
    width: 90vw;
    display: flex;
    gap: 20px;
    flex: 1;
}

.gameHolder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.thing {
    padding: 0 12px 12px 0;
}

#main {
	flex: 1;
}


/* Game Over Modal */

.game-over-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 1s ease-in-out;
}

.game-over-content {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 60px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.game-over-text {
    font-size: 4rem;
    margin: 0 0 30px 0;
    color: #c30a0a;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.1);
    animation: slideIn 1s ease-out;
}

.score-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #f1f1f1;
    animation: fadeInText 1s ease-out;
}

.restart-btn {
    background-color: #c30a0a;
    color: white;
    font-size: 1.3rem;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.restart-btn:hover {
    background-color: #ff0000;
    transform: scale(1.1);
}

.restart-btn:active {
    background-color: #c30a0a;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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