body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/parkedimage.jpg') no-repeat center center;
    background-size: cover;
    animation: panAndZoom 7s ease-out forwards;
    z-index: -1;
}

.index-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px; /* 9 units */
    height: 800px; /* 16 units */
    max-width: 90vw;
    max-height: 90vh;
    background-color: rgba(255, 255, 255, 0.85); /* White box */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Adjusted to space content */
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #2e7d32; /* Green */
    margin-bottom: 0.625rem;
    font-family: 'Pacifico', cursive;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #f57c00; /* Orange */
    margin-top: 1.25rem;
    margin-bottom: 0.625rem;
}

p {
    font-size: clamp(1rem, 3vw, 1.125rem);
    line-height: 1.5;
    margin: 0.625rem 0;
}

.footer {
    font-size: clamp(0.875rem, 2.5vw, 0.875rem);
    color: #666;
    margin-top: auto; /* Pushes footer to bottom */
}

.cookie-banner {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    margin-top: 1rem; /* Space from content above */
}

.cookie-banner p {
    margin: 0;
    padding-right: 1rem;
}

.cookie-banner a {
    color: #f57c00; /* Orange */
    text-decoration: underline;
}

.accept-button {
    background-color: #2e7d32; /* Green */
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    transition: background-color 0.3s;
}

.accept-button:hover {
    background-color: #1b5e20; /* Darker green */
}

.cookie-banner.hidden {
  display: none;
}

.g_id_signin {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  text-align: center;
}

@keyframes panAndZoom {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.5) translateY(-10%); }
}

@media (max-width: 768px) {
    .index-window {
        width: 90vw;
        height: auto;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner p {
        padding-right: 0;
        margin-bottom: 0.5rem;
    }
}
