body {
    background-color: #c8e6ff;
    color: rgb(0, 0, 0);
    font-family: "Inter";
    margin: 0 auto;
}

#header {
    /* animated gradient background */
    background: linear-gradient(135deg, #040d15 0%, #0b1a2a 50%, #040d15 100%);
    background-size: 200% 200%;
    color: #b6e0ff;
    text-align: center;
    font-size: large;
    margin: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 40px;
    animation: headerGradient 18s ease-in-out infinite;
}

#content {
    padding-top: 5px;
    max-width: 1250px;
    margin: 0 auto;
}

hr {
    max-width: 1500px;
    color: #040d15; 
}

#header h1 {
    margin-bottom: 15px;
}

#header h3 {
    margin-top: 0;
}

.logo {
    margin-bottom: 0;
}

#schedule {
    padding-top: 5px;
}

#directions {
    padding-top: 15px;
    padding-bottom: 15px;
}

#footer {
    padding: 10px;
    margin: 10px;
    margin-top: 50px;
    border-radius: 50px;
    background-color: #040d15;
    color:#c8e6ff;
    text-align: center;
}

#buttons {
    display: flex;
    margin: 0 auto;
    gap: 10px;
}


.card {
    background-color: #b6e0ff;
    padding-top: 5px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.card:hover,
.card:focus-visible {
    box-shadow: 0 8px 18px 0 rgba(45, 169, 253, 0.3);
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
    transform: translateY(0) scale(0.99);
    transform: translateY(-2px) scale(1.02);
    background-color: #86cdff;
}

button {
    display: inline-block;
    background-color: #2da9fd;
    color: white;
    font-size: medium;
    font-family: "Inter";
    padding: 0.7rem 2.0em;
    border-radius: 900px;
    box-shadow: 0 2px 8px 0 rgba(171, 196, 255, 0.1);
    border: 0;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

/* Header entrance + subtle motion */
#header .logo {
    animation: fadeInDown 700ms ease-out 0.1s both, float 9s ease-in-out 1s infinite;
}

#header h1 {
    animation: fadeInUp 700ms ease-out 0.25s both, glowOnce 2.2s ease-out 0.25s 1;
}

#header h3 {
    animation: fadeInUp 700ms ease-out 0.4s both;
}

#header p {
    margin-top: 10px;
    animation: fadeInUp 700ms ease-out 0.55s both;
}

#header form {
    animation: fadeInUp 700ms ease-out 0.7s both;
}

/* Button interactions */
button:hover,
button:focus-visible {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 18px 0 rgba(45, 169, 253, 0.3);
    background-color: #41b1ff;
}

button:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 3px 10px 0 rgba(45, 169, 253, 0.25);
}

button:focus-visible {
    outline: 3px solid rgba(45, 169, 253, 0.65);
    outline-offset: 3px;
}

/* Keyframes */
@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes glowOnce {
    0%   { text-shadow: 0 0 0 rgba(45, 169, 253, 0); }
    70%  { text-shadow: 0 0 16px rgba(45, 169, 253, 0.35); }
    100% { text-shadow: 0 0 0 rgba(45, 169, 253, 0); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    #header {
        background-position: 0 0 !important;
        animation: none !important;
    }
}
