/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: black;
    color: #fff;
	font-family: "Droid Sans", sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Header and Navigation */
header {
    text-align: center;
	font-family: "Droid Sans", sans-serif;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo {
    max-width: 150px; /* Smaller logo on mobile */
    margin-bottom: 10px;
}

nav {
    background: #1a0d2b;
	font-family: "Droid Sans", sans-serif;
    border-top: 2px solid #ff00ff;
    border-bottom: 2px solid #ff4040;
    padding: 10px 0;
}

nav ul {
    list-style: none;
	font-family: "Droid Sans", sans-serif;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: #00ff00;
	font-family: "Droid Sans", sans-serif;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #ff00ff;
	font-family: "Droid Sans", sans-serif;
    text-shadow: 0 0 10px #ff4040, 0 0 20px #ff4040;
}

/* Main Content */
main {
    position: relative;
    padding: 20px;
    min-height: calc(100vh - 150px);
}

/* Background Video (Main Page Only) */
.background-video {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 95%;
    height: 95%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    z-index: 1;
}

/* Spaceship Animation */
.spaceship {
    position: absolute;
    width: 250px;
    height: 150px;
    background: url('../assets/spaceship.gif') no-repeat center/contain;
    z-index: 5;
}

@keyframes flyAcross {
    0% {
        left: -150px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        top: 40%;
        transform: translateY(-50%) rotate(10deg);
    }
    50% {
        top: 60%;
        transform: translateY(-50%) rotate(-10deg);
    }
    75% {
        top: 45%;
        transform: translateY(-50%) rotate(5deg);
    }
    100% {
        left: 100%;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
    }
}

/* Shooting Stars */
.shooting-star {
    position: absolute;
    z-index: 2;
}

/* Photo Collage */
.photo-collage {
    position: relative;
    width: 85%;
    height: 85vh;
    margin: 0 auto;
    z-index: 3;
}

.photo {
    position: absolute;
    width: 200px;
    height: 300px;
    object-fit: cover;
    transition: opacity 1s ease;
	border-style: solid;
	border-width: 2px;
	border-color: #808080;
}

/* Schedule Table */
table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    background: #0a1a3a;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #00ff00;
}

th {
    background: #1a0d2b;
    color: #ff4040;
}

td a {
    color: #ff00ff;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}


.bold-center td {
    font-weight: bold;
    text-align: center;
}

/* Contact Form */
form {
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    color: #00ff00;
}

input, textarea {
    padding: 10px;
    background: #0a1a3a;
    border: 1px solid #ff4040;
    color: #fff;
    resize: vertical;
}

button {
    padding: 10px;
    background: #ff00ff;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #00ff00;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Header and Navigation */
    .logo {
        max-width: 150px; /* Even smaller logo */
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        font-size: 16px; /* Smaller font for links */
        padding: 8px;
        display: block; /* Full-width clickable area */
    }

    /* Main Content */
    main {
        padding: 10px;
    }

    h1 {
        font-size: 1.5em; /* Smaller headings */
    }

    p {
        font-size: 0.9em; /* Smaller paragraph text */
    }

    /* Background Video */
    .background-video {
        width: 100%; /* Full width on mobile */
        height: 50vh; /* Reduced height to fit content */
        opacity: 0.8; /* Slightly less opacity to reduce distraction */
    }

    /* Schedule Table */
    table {
        font-size: 0.8em; /* Smaller text */
    }

    th, td {
        padding: 5px; /* Reduced padding */
    }

    /* Contact Form */
    form {
        max-width: 100%;
        padding: 0 10px;
    }

    input, textarea {
        font-size: 0.9em;
    }

    button {
        font-size: 1em;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .logo {
        max-width: 100px;
    }

    nav a {
        font-size: 14px;
    }

    h1 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.8em;
    }

    table {
        font-size: 0.7em;
    }
}