/* General Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-size: cover;
}

/* Background Image */
.background-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 2000px;
    width: auto;
    height: auto;
    z-index: -1; /* Keeps the image behind the content */
}

/* Header */
header {
    background: linear-gradient(to right, #ff0000, #ff9900, #ffff00, #00ff00, #0000ff, #4b0082, #ee82ee);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.logo {
    font-family: 'Bubblegum Sans', sans-serif;
    font-size: 28px;
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-family: 'Bubblegum Sans', sans-serif;
    font-size: 18px;
}

nav a:hover {
    color: #ffff00;
    text-shadow: 0 0 5px #fff;
}

/* Main Content */
main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent for readability */
    padding: 20px;
    border-radius: 20px;
}

.tubby-image {
    max-width: 300px;
    animation: pulse 2s infinite;
    border-radius: 20px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

h1 {
    font-family: 'Bubblegum Sans', sans-serif;
    font-size: 36px;
    color: #ff4500; /* Bright, playful color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.rainbow-button {
    background: linear-gradient(to right, #ff0000, #ff9900, #ffff00, #00ff00, #0000ff, #4b0082, #ee82ee);
    border: none;
    padding: 10px 20px;
    font-family: 'Bubblegum Sans', sans-serif;
    font-size: 24px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.rainbow-button:hover {
    transform: scale(1.1);
    transition: transform 0.3s;
}

/* Footer */
footer {
    background: linear-gradient(to right, #ff0000, #ff9900, #ffff00, #00ff00, #0000ff, #4b0082, #ee82ee);
    color: white;
    padding: 20px;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

footer p {
    margin: 0;
}

.social-media {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}
.social-media a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tubby-image {
        max-width: 200px;
    }
    h1 {
        font-size: 28px;
    }
    .rainbow-button {
        font-size: 20px;
        padding: 8px 16px;
    }
}
