* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #111; /* Dark background for better contrast */
    overflow: hidden; /* Prevent scrolling */
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative; /* For absolute positioning of ghosts */
}

header {
    text-align: center;
    background-color: #ff6600;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
}

h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

main {
    padding: 20px;
}

.details, .rsvp {
    margin-bottom: 20px;
    border: 2px solid #ffcc00;
    border-radius: 10px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
}

h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffcc00;
}

p {
    font-size: 1.2em;
    line-height: 1.5;
}

button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: #ffcc00;
}

/* Ghost animation */
.ghost {
    position: absolute;
    width: 50px; /* Adjust size as needed */
    animation: float 5s infinite;
    opacity: 0.8;
}

@keyframes float {
    0% {
        transform: translate(-10px, 0);
    }
    25% {
        transform: translate(10px, -20px);
    }
    50% {
        transform: translate(-10px, 0);
    }
    75% {
        transform: translate(10px, 20px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Responsive styles */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
    p {
        font-size: 1em;
    }
}


.responsive {
    width: 3%;
    height: auto;
  }
