* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background: #0a0a23;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Starry Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    animation: twinkle 10s infinite;
}

@keyframes twinkle {
    0%, 100% { background: url('https://www.transparenttextures.com/patterns/stardust.png'); }
    50% { opacity: 0.8; }
}

/* Header */
header {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(rgba(0, 0, 50, 0.8), rgba(0, 0, 50, 0.3));
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    animation: fadeIn 2s ease-in;
    color: aqua;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeIn 2s ease-in 0.5s forwards;
    color: #ffcc00;
}

/* Main Sections */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    animation: fadeIn 2s ease-in;
}

h2, h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.1rem;
}

a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffcc00;
}

/* Gallery */
.gallery .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

 #froggy{
  filter: hue-rotate(90deg) saturate(75%); 
}

#bessie{
    filter:sepia();
}



.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 50, 0.8);
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    section {
        padding: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}
/* UFO Cursor */
.ufo-cursor {
    width: 32px; /* Desired display size */
    height: 32px; /* Desired display size */
    background: url('./resources/images/ufoCursor.png') no-repeat center center;
    background-size: 32px 32px; /* Scales the image to fit 32x32 pixels */
    position: fixed;
    pointer-events: none; /* Prevents the UFO from interfering with clicks */
    z-index: 1000; /* Ensures the UFO is above other elements */
    transform: translate(-50%, -50%); /* Center the UFO on the mouse */
    transition: transform 0.2s ease; /* Smooth scaling on hover */
}

/* Hide default cursor */
body, a, img {
    cursor: none !important;
}

/* Hover effect for interactive elements */
a:hover ~ .ufo-cursor,
img:hover ~ .ufo-cursor {
    transform: translate(-50%, -50%) scale(1.2); /* Slight scale-up on hover */
    filter: drop-shadow(0 0 5px #00d4ff); /* Glow effect */
}

/* Star Trail */
.star {
 position: fixed;
 width: 6px;
 height: 6px;
 background: radial-gradient(circle, rgba(0, 255, 100, 0.5), transparent);
 border-radius: 50%;
 pointer-events: none;
 z-index: 9999; /* Below UFO cursor but above other elements */
 animation: starFade 1s ease-out forwards;
}

@keyframes starFade {
 0% {
 opacity: 1;
 transform: scale(1);
 }
 100% {
 opacity: 0;
 transform: scale(0.5) translateY(10px); /* Slight downward drift */
 }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.8); /* Semi-transparent dark background */
    z-index: 10001; /* Above UFO cursor and stars */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Cosmic blur effect */
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: #ffffff;
    border: 1px solid #00d4ff; /* Glowing border */
    animation: fadeIn 0.3s ease-in;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: none; /* Maintain UFO cursor */
    transition: color 0.3s;
}

.close-button:hover {
    color: #ffcc00; /* Hover color matches theme */
}

#modalTitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#modalDescription {
    font-size: 1.1rem;
}

/* Ensure modal works with UFO cursor */
.modal-content:hover ~ .ufo-cursor,
.close-button:hover ~ .ufo-cursor {
    transform: translate(-50%, -50%) scale(1.2);
    filter: drop-shadow(0 0 5px #00d4ff);
}

/* Responsive design for modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    #modalTitle {
        font-size: 1.5rem;
    }

    #modalDescription {
        font-size: 1rem;
    }
}