/* styles.css */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #222;
    background: url('wallpaper.jpg') no-repeat center center fixed;
    color: #00FF00;
    font-family: 'DotMatrix', monospace;
}

header {
    background-color: #333;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
    margin: 0;
    font-size: 36px;
    color: #00FF00;
}

main.container {
    text-align: center;
    margin-top: 40px;
}

.quote-container {
    margin-bottom: 40px;
}

.dot-matrix-text {
    font-size: 28px;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-in-out;
}

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

button {
    background-color: #00FF00;
    border: none;
    color: #000;
    padding: 10px 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00cc00;
}

/* Puzzle Game Styles */
.hidden {
    display: none;
}

.puzzle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.puzzle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin-top: 20px;
    width: 340px; /* Ensure the puzzle container has a fixed width */
}

.puzzle-piece {
    width: 80px;
    height: 80px;
    background-color: #00FF00;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    user-select: none;
    border: 2px solid #000; /* Add border to puzzle pieces */
    box-sizing: border-box; /* Ensure the border is included in the width and height */
}

.puzzle-piece.empty {
    background-color: #333;
    cursor: default;
}

/* Example custom dot matrix font */
@font-face {
    font-family: 'DotMatrix';
    src: url('DOTMATRI.TTF') format('truetype');
}

/* Hidden Menu Styles */
.menu-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00FF00;
    border: none;
    color: #000;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}

.hidden-menu {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #333;
    border: 1px solid #00FF00;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hidden-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hidden-menu li {
    margin-bottom: 15px;
}

.hidden-menu li a {
    color: #00FF00;
    text-decoration: none;
    font-size: 18px;
}

.hidden-menu li a:hover {
    text-decoration: underline;
}

.sub-options {
    margin-left: 20px;
}

footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #00FF00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}
