/* Haunted CSS Stylesheet */
body {
    background-color: #0d0d0d;
    color: #ffffff;
    font-family: 'Creepster', cursive;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffcc00;
    text-shadow: 3px 3px 2px #000000;
}

a {
    color: #bb4400;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #ff5500;
}

.navbar {
    width: 100%;
    background-color: #000000;
    border-bottom: 3px solid #440000;
    position: fixed;
    top: 0;
    z-index: 999;
}

.navbar a {
    padding: 1rem 2rem;
    display: inline-block;
    color: #ffffff;
    text-transform: uppercase;
}

.footer {
    background-color: #000000;
    color: #999999;
    text-align: center;
    padding: 2rem 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

@keyframes spooky {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.spooky-text {
    display: inline-block;
    animation: spooky 1.5s infinite;
}

button {
    background-color: #440000;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

button:hover {
    background-color: #660000;
}